all repos — FixYouTube-legacy @ bc789d7b3a387f7bfb8a1507ccf16cc97453c70c

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

README.md (view raw)

 1# FixYouTube
 2Embed YouTube videos on Telegram, Discord and more!
 3
 4## How to use:
 5Replace `www.youtube.com` or `youtu.be` with `y.outube.duckdns.org` to fix embeds for short videos.
 6
 7https://github.com/BiRabittoh/FixYouTube/assets/26506860/e1ad5397-41c8-4073-9b3e-598c66241255
 8
 9## Instructions (Docker)
10
11### With reverse proxy
12Copy the template config file and make your adjustments. My configuration is based on [DuckDNS](http://duckdns.org/) but you can use whatever provider you find [here](https://docs.linuxserver.io/general/swag#docker-compose).
13```
14cp docker/swag.env.example docker/swag.env
15nano docker/swag.env
16```
17
18Finally: `docker-compose up -d`.
19
20### Without reverse proxy
21Simply run:
22```
23docker run -d -p 1111:80 --name fixyoutube --restart unless-stopped ghcr.io/birabittoh/fixyoutube:main
24```
25
26## Instructions (local)
27
28### Debug
29```
30poetry install --with test
31poetry run flask --app fixyoutube run --port 1111 --debug
32```
33
34### Production
35```
36poetry install --with prod
37poetry run waitress-serve --port 1111 fixyoutube:app
38```