Make Recordings & Screenshots and upload them to your favorite file hosts on Linux with support for region, GIF, audio and URL Shortening at ease.
- Screenshot:
flameshotorgrimblast(not package) - Wayland:
jq,wl-clipboard,slurp&wf-recorderorwl-screenrec - COSMIC & GNOME / KDE Wayland:
jq,wl-clipboard&koohaorio.github.seadve.Kooha - X11:
jq,xclip,slop&ffmpeg
How to install them?
Go to your prefered terminal and execute this command depending on your Distro.
| Compositor | Distribution | Instructions |
|---|---|---|
| Wayland | Debian/Ubuntu | sudo apt install wf-recorder jq wl-clipboard slurp or sudo apt install wl-screenrec jq wl-clipboard slurp |
| Wayland | Fedora | sudo dnf install wf-recorder jq wl-clipboard slurp or sudo dnf install wl-screenrec jq wl-clipboard slurp |
| Wayland | Arch | sudo pacman -S wf-recorder jq wl-clipboard slurp or sudo pacman -S wl-screenrec jq wl-clipboard slurp |
| Wayland | Gentoo | sudo emerge -av gui-apps/wf-recorder app-misc/jq x11-misc/wl-clipboard gui-apps/slurp or sudo emerge -av media-video/wl-screenrec app-misc/jq x11-misc/wl-clipboard gui-apps/slurp |
| Compositor | Distribution | Instructions |
|---|---|---|
| X11 | Debian/Ubuntu | sudo apt install ffmpeg jq xclip slop |
| X11 | Fedora | sudo dnf install ffmpeg jq xclip slop |
| X11 | Arch | sudo pacman -S ffmpeg jq xclip slop |
| X11 | Gentoo | sudo emerge -av media-video/ffmpeg app-misc/jq x11-misc/xclip x11-misc/slop |
| Compositor | Distribution | Instructions |
|---|---|---|
| COSMIC & GNOME / KDE Wayland | Debian/Ubuntu | sudo apt install kooha jq wl-clipboard |
| COSMIC & GNOME / KDE Wayland | Fedora | sudo dnf install jq wl-clipboard and sudo flatpak install io.github.seadve.Kooha |
| COSMIC & GNOME / KDE Wayland | Arch | sudo pacman -S kooha jq wl-clipboard |
| COSMIC & GNOME / KDE Wayland | Gentoo | sudo emerge -av media-video/kooha app-misc/jq x11-misc/wl-clipboard |
Which Services Are supported?
By default you can use these: - [e-z](https://e-z.host) - [nest](https://nest.rip)You can always just use the custom option which will allow all json image hosts uploaders. or you could just choose none which will just copy the file directly to your clipboard
git clone https://github.com/refurbishing/vnrez
cd vnrez
# [!] Start the Script to Create the Configuration file
./vnrez.shHow to get my API KEY?
Log in to Your Preferred File Host, Go to Account Settings, and Copy your API KEYNow paste that API KEY when doing the initial setup.
--help (-h)show the list of argumentsupload (-u)upload specified video files (mp4, mkv, webm, gif)configopen the configuration file in the default text editorreinstallreinstall the configuration file with default settingsautorun with default settings without using a config fileaddcreate a service file to add another service
case: shot
--guiselect a region to screenshot--fullfull screen screenshot of every monitor--screenfull screen screenshot
case: record
--abortabort recording and the upload--soundsnip with sound--fullscreenfull screen without sound--fullscreen-soundfullscreen with sound--gifsnip with gif output
case: shorten
--startstart the shortening service--stopstop the shortening service--enableenable the shortening service to start on boot--disabledisable the shortening service from starting on boot--logsshow the logs of the shortening service
[!] SYSTEM-D is required to use this feature.
fpswill be your Max FPSpixelformatset the pixel format, default isyuv420pencoderset the encoder, default islibx264presetset the preset profilewlscreenrecset to true if want to usewl-screenrec(only for wl-roots based DEs and recommend for old GPUs/iGPUs)bitrateset the bitrate (only forwl-screenrec)codecset the codec, default ishevc(only forwl-screenrec)extpixelformatset the pixel format, default isnv12(only forwl-screenrec)crfset crf numberfailsaveif your Video Recording upload fails, it will be saved on~/Videos/e-zfailedcolorworkaroundre-encode videos on upload for color correction, might take longer to uploadstartnotifshow the start notification or notendnotifshow the end notification or notphotosaveif true it will save screenshots inphotodirwill be ignored if using koohavideosaveif true it will save videos invideodirwill be ignored if using koohaphotodirset the directory to save screenshots in there will be ignored if using koohavideodirset the directory to save videos in there will be ignored if using koohakooha_dirset the kooha directory also save videos in here if using koohagrimshotset to true if want to use grimblast (hyprland only)shortener_notifshow the shortening notification or not
The record script is based on End's Dotfiles Record script but to support alot more DEs, Configuration, allow GIF Output & so much more.
The grimshot Screenshot script has some functions borrowed from Hyprland's grimblast to have freeze functionality.
Note
If you wish to me to add your file host to support, you can open an issue on the GitHub repository but it will have semi-strict requirements and i'll not be adding every single file host out there (maybe unless if you do a PR).
