all repos — fixyoutube-go @ e3dcd6b276b3afd265122507263461c1eb5a18a4

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
14```
15cp docker/swag.env.example docker/swag.env
16nano docker/swag.env
17```
18
19Finally: `docker-compose up -d`.
20
21### Without reverse proxy
22Simply run:
23```
24docker run -d -p 3000:3000 --name fixyoutube-go --restart unless-stopped ghcr.io/birabittoh/fixyoutube-go:main
25```
26
27## Instructions (local)
28```
29go test -v ./...
30go run .
31```