fixyoutube-go

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 16 Imported by: 0

README

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.

https://github.com/BiRabittoh/FixYouTube/assets/26506860/e1ad5397-41c8-4073-9b3e-598c66241255

Instructions

First of all, you should duplicate and fill your .env file:

cp .env.example .env
nano .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 .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL