Embed YouTube videos on Telegram, Discord and more!
Replace www.youtube.com
or youtu.be
with y.outube.duckdns.org
to fix embeds for short videos.
demo.mp4
First of all, you should set the API key to whatever you want:
cp .env.example .env
nano .env
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
.
Just run:
docker-compose -f docker-compose.simple.yaml up -d
go test -v ./...
go run .