Skip to content

ciccioxm3/tvproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“บ tvproxy

โš ๏ธ Attualmente funziona solo su HuggingFace!

๐Ÿš€ M3U8 Proxy Dockerizzato

Un server proxy leggero basato su Flask e Requests, progettato per:

  • ๐Ÿ“ฅ Scaricare e modificare flussi .m3u / .m3u8
  • ๐Ÿ” Proxare i segmenti .ts, mantenendo header personalizzati
  • ๐Ÿšซ Superare restrizioni come Referer, User-Agent, ecc.
  • ๐Ÿณ Essere facilmente dockerizzabile su qualsiasi macchina o server

โ˜๏ธ Deploy su Render

  1. Vai su Projects โ†’ Deploy a Web Service โ†’ Public Git Repo
  2. Inserisci il repo: https://github.com/nzo66/tvproxy โ†’ Connect
  3. Dai un nome a piacere
  4. Imposta Instance Type su Free
  5. Clicca su Deploy Web Service

๐Ÿค— Deploy su HuggingFace

  1. Crea un nuovo Space
  2. Scegli un nome qualsiasi e imposta Docker come tipo
  3. Lascia Public e crea lo Space
  4. Vai in alto a destra โ†’ โ‹ฎ โ†’ Files โ†’ carica tutti i file della repo
  5. Infine vai su โ‹ฎ โ†’ Embed this Space per ottenere il Direct URL

๐Ÿณ Docker (Locale o Server)

โœ… Costruzione e Avvio

git clone https://github.com/nzo66/tvproxy.git
cd tvproxy
docker build -t tvproxy .
docker run -d -p 7860:7860 --name tvproxy tvproxy

๐Ÿ” Verifica

curl http://localhost:7860/

Risposta attesa:

Not Found
The requested URL was not found on the server...

๐Ÿ› ๏ธ Gestione Docker

  • ๐Ÿ“„ Logs: docker logs -f tvproxy
  • โ›” Stop: docker stop tvproxy
  • ๐Ÿ”„ Start: docker start tvproxy
  • ๐Ÿงน Rimozione: docker rm -f tvproxy

๐Ÿ”— Utilizzo del Proxy

http://<server-ip>:7860/proxy/m3u?url=<URL_M3U8>

โš ๏ธ Non proxare l'intera lista! Inserisci il proxy prima di ogni URL m3u8:

http://<server-ip>:7860/proxy/m3u?url=https://example.com/stream.m3u8

๐ŸŽฏ Headers Personalizzati (opzionale)

&h_user-agent=Mozilla/5.0...&h_referer=https://ilovetoplay.xyz/&h_origin=https://ilovetoplay.xyz

โœ… Caratteristiche

  • ๐Ÿ“ Supporta .m3u e .m3u8 automaticamente
  • ๐Ÿงพ Inoltra gli HTTP Headers necessari (Auth, Referer, etc.)
  • ๐Ÿ”“ Supera restrizioni geografiche o di accesso
  • ๐Ÿ–ฅ๏ธ Compatibile con qualsiasi player IPTV
  • ๐Ÿณ Totalmente dockerizzato, pronto per il deploy

๐ŸŽ‰ Fine!

Ora puoi guardare flussi M3U8 ovunque, senza restrizioni!
Enjoy the Stream ๐Ÿš€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •