Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

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

License

Notifications You must be signed in to change notification settings

birabittoh/fixyoutube-go

Repository files navigation

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.

demo.mp4

Instructions

First of all, you should create your .env file:

cp .env.example .env

Docker without reverse proxy

Just run:

docker compose -f compose.simple.yaml up -d

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.

cd swag
cp swag.env.example swag.env
nano swag.env
cd ..

Finally: docker compose up -d.

Test and debug locally

go test -v ./...
go run .

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages