libreom / predirect

A manifest v3 web extension with minimal permissions to automatically redirect to privacy friendly frontends. ⭐️ Star to support our work!
https://github.com/libreom/predirect
GNU General Public License v3.0
208 stars 7 forks source link

Service: Bandcamp to Tent #10

Closed libreom closed 11 months ago

libreom commented 11 months ago

https://forgejo.sny.sh/sun/Tent

libreom commented 11 months ago

Refrence from official website-

https://$1.bandcamp.com/$2/$3 → https://tent.sny.sh/release.php?artist=$1&type=$2&name=$3
https://bandcamp.com/search?q=$1 → https://tent.sny.sh/search.php?query=$1
https://f4.bcbits.com/img/$1 → https://tent.sny.sh/image.php?file=$1
https://t4.bcbits.com/stream/$1/$2/$3?token=$4 → https://tent.sny.sh/audio.php?directory=$1&format=$2&file=$3&token=$4

I will only do redirection for bandcamp.com as I don't have permission for images and other requests anyway example urls- https://goreshit.bandcamp.com/track/the-nature-of-dying https://rekids.bandcamp.com/album/im-your-ghost-ep https://rekids.bandcamp.com/ https://tent.sny.sh/search.php?query=what

libreom commented 11 months ago

Done with https://github.com/libreom/predirect/commit/af112be346fcf2fdd80e4f4a8b037b85b86c91ec release left