Setting up Bhyve for virtual machines on Freebsd,
and installing Podman for Invidious an open source front end for Youtube
The advantage of using Invidious is that when playing videos with mpv,
we can reduce the time it takes to play the video from 8 seconds to under 1 second.
Thats because mpv uses yt-dlp in the backend when playing videos from youtube,
which has to use deno to solve a javascript challenge before getting the urls.
By using a lua script with mpv we can get the video url in under a second,
and reduce the cpu usage with mpv from 110% to 10%
We also set up wlr-which-key so we can copy a url from url and then send it to emacs,
which will rewrite the youtube url to use Invidious instead and take advantage of the faster start up time and reduced cpu usage.
Using a Makefile we can start the Bhyve vm and the Invidious podman container just by typing make,
and then make clean to stop Invidious and the Bhyve VM.
Some music videos dont show up on invidious
Links:
Invidious Bhyve notes
cerberus/freebsd/invidious-bhyve.org at master · NapoleonWils0n/cerberus
cerberus code library. Contribute to NapoleonWils0n/cerberus development by creating an account on GitHub.
Freebsd dotfiles
GitHub - NapoleonWils0n/freebsd-root-xps: freebsd root dotfiles for dell xps 15 2019
freebsd root dotfiles for dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-root-xps development by creating an account on GitHub.
Emacs init.el mpv
freebsd-dotfiles-xps/.config/emacs/init.el at master · NapoleonWils0n/freebsd-dotfiles-xps
freebsd dotfiles dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-dotfiles-xps development by creating an account on GitHub.
mpv
freebsd-dotfiles-xps/.config/mpv at master · NapoleonWils0n/freebsd-dotfiles-xps
freebsd dotfiles dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-dotfiles-xps development by creating an account on GitHub.
mpv config
freebsd-dotfiles-xps/.config/mpv/mpv.conf at master · NapoleonWils0n/freebsd-dotfiles-xps
freebsd dotfiles dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-dotfiles-xps development by creating an account on GitHub.
mpv invidious.lua
freebsd-dotfiles-xps/.config/mpv/scripts/invidious.lua at master · NapoleonWils0n/freebsd-dotfiles-xps
freebsd dotfiles dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-dotfiles-xps development by creating an account on GitHub.
wlr-which-key
freebsd-dotfiles-xps/.config/wlr-which-key/config.yaml at master · NapoleonWils0n/freebsd-dotfiles-xps
freebsd dotfiles dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-dotfiles-xps development by creating an account on GitHub.
Invidious Makefile
freebsd-dotfiles-xps/make/invidious/Makefile at master · NapoleonWils0n/freebsd-dotfiles-xps
freebsd dotfiles dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-dotfiles-xps development by creating an account on GitHub.
Freebsd root config files
GitHub - NapoleonWils0n/freebsd-root-xps: freebsd root dotfiles for dell xps 15 2019
freebsd root dotfiles for dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-root-xps development by creating an account on GitHub.
Freebsd bin
GitHub - NapoleonWils0n/freebsd-bin-xps: freebsd-bin-xps
freebsd-bin-xps. Contribute to NapoleonWils0n/freebsd-bin-xps development by creating an account on GitHub.
Vermaden Bhyve
FreeBSD Bhyve Virtualization
The Bhyve FreeBSD hypervisor (called/spelled ‘beehive’ usually) was created almost 10 years ago. Right now it offers speed and features that other similar solutions provide – such…
Invidious
Invidious github
GitHub - iv-org/invidious: Invidious is an alternative front-end to YouTube
Invidious is an alternative front-end to YouTube. Contribute to iv-org/invidious development by creating an account on GitHub.
Bhyve
Chapter 24. Virtualization
Virtualization software allows multiple operating systems to run simultaneously on the same computer