all repos — FixYouTube-legacy @ main

A better way to embed YouTube videos everywhere (inspired by FixTweet).

6394a238
fix Connection broken: IncompleteRead
Andronaco Marco marco.andronaco@olivetti.com
Mon, 18 Dec 2023 15:37:06 +0100
5e703053
add basic logging
Andronaco Marco marco.andronaco@olivetti.com
Mon, 11 Dec 2023 11:24:06 +0100
bc789d7b
get new instance if api call fails
Bi-Rabittoh andronacomarco@gmail.com
Fri, 29 Sep 2023 14:57:12 +0200

FixYouTube

Embed YouTube videos on Telegram, Discord and more!

How to use:

Replace www.youtube.com or youtu.be with y.outube.duckdns.org to fix embeds for short videos.

https://github.com/BiRabittoh/FixYouTube/assets/26506860/e1ad5397-41c8-4073-9b3e-598c66241255

Instructions (Docker)

With reverse proxy

Copy the template config file and make your adjustments. My configuration is based on DuckDNS but you can use whatever provider you find here.

cp docker/swag.env.example docker/swag.env
nano docker/swag.env

Finally: docker-compose up -d.

Without reverse proxy

Simply run:

docker run -d -p 1111:80 --name fixyoutube --restart unless-stopped ghcr.io/birabittoh/fixyoutube:main

Instructions (local)

Debug

poetry install --with test
poetry run flask --app fixyoutube run --port 1111 --debug

Production

poetry install --with prod
poetry run waitress-serve --port 1111 fixyoutube:app
clone
git clone https://git.birabittoh.duckdns.org/FixYouTube-legacy.git