this post was submitted on 19 Sep 2025
21 points (88.9% liked)

Privacy

42657 readers
697 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ZeroHora@lemmy.ml 7 points 1 month ago* (last edited 1 month ago) (5 children)

Freetube

Edit: In my experience Piped or Invidious gets rate limited often and stop loading videos for a while and I need to change instances. Freetube doesn't have that problem, the only times videos stop working is when youtube changes something, when that happens I use Freetube to grab the video link and run a script to download with yt-dl and watch on the mpv player.

script that I grabbed on the internet

#!/usr/bin/env bash

# Directory for downloaded videos:
DL_DIR="$HOME/Downloads/yt"
mkdir -p $DL_DIR

# Video player:
#PLAYER="xdg-open"
PLAYER="/usr/bin/mpv"
#PLAYER="/usr/bin/smplayer"

# Downloader and options:
YTDL="/bin/yt-dlp"
YTDL_OPTS=(--no-playlist -S "res:1080" -N 5 --add-chapters)
YTDL_DIR_OPTS=(-P "$DL_DIR")

set -e

CMD() {
  printf "[CMD]: "
  printf "\"%s\" " "$@"
  printf "\n"
  "$@"
}

# Get URL from clipboard if run without argument:
if [ -z "$1" ]; then
  URL="$(xclip -o -sel c)"
#  CMD qdbus org.kde.klipper /klipper org.kde.klipper.klipper.clearClipboardHistory
else
  URL="$1"
fi

# Get video filename
printf "[URL]: %s\n" "$URL"
FILENAME=$("$YTDL" --get-filename "${YTDL_DIR_OPTS[@]}" "$URL")
printf "[FILE]: %s\n" "$FILENAME"

# Download video
CMD "$YTDL" "${YTDL_OPTS[@]}" "${YTDL_DIR_OPTS[@]}" "$URL"

# Play video
CMD "$PLAYER" "$FILENAME" >/dev/null 2>&1

I also configured a cronjob to clean the directory everyday.

[–] Novocirab@feddit.org 5 points 1 month ago (4 children)

I LOVE Freetube, but can it be linked to?

[–] Cowbee@lemmy.ml 2 points 1 month ago (2 children)

Yea that's the thing I'm more looking for. If I want to share a video with someone, I don't want to have to send them an app to download first, I want to redirect to a private site in a browser that they can then choose to use how they wish.

[–] ZeroHora@lemmy.ml 5 points 1 month ago (1 children)

Got it. In this case yeah Freetube is not a solution, the person would need to download Freetube and install Libredirect on the browser(wich means on mobile the person need to use firefox).

Honestly the instance that worked better for me with better uptime is inv.nadeko.net

[–] Cowbee@lemmy.ml 3 points 1 month ago

Perfect! That's much better for my specific use-case here, thanks!

load more comments (1 replies)
load more comments (1 replies)