all repos — gopipe @ dadc4690b5715ff53e41c968a5024894d0018950

Embed YouTube videos on Telegram, Discord and more!

README.md (view raw)

 1# GoPipe
 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-legacy/assets/26506860/e1ad5397-41c8-4073-9b3e-598c66241255
 8
 9## Instructions
10
11First of all, you should set the API key to whatever you want:
12```
13cp .env.example .env
14nano .env
15```
16
17### Docker with reverse proxy
18Copy 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).
19
20```
21cp docker/swag.env.example docker/swag.env
22nano docker/swag.env
23```
24
25Finally: `docker-compose up -d`.
26
27### Docker without reverse proxy
28Just run:
29```
30docker-compose -f docker-compose.simple.yaml up -d
31```
32
33## Test and debug locally
34```
35go test -v ./...
36go run .
37```