Skip to content

JacobWLMS/footyLive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FootyLive Stremio Addon

FootyLive has been reduced to its scraping layer and exposed as a Stremio addon. It publishes one tv catalog per sport and only returns events that the upstream providers report as live and that still pass a current-time sanity check.

What It Does

  • Lists live sports events in Stremio Discover under Live <Sport> catalogs.
  • Resolves streams from the retained WatchFooty, CDNLiveTV, and Streamed.pk provider adapters.
  • Returns direct media links to Stremio when a URL looks playable (.m3u8, .mpd, .mp4, etc.).
  • Returns external player URLs for embedded/player-page sources.
  • Keeps a short in-memory SWR cache so live catalogs and streams refresh quickly without hammering providers.

Supported Catalogs

Football, Basketball, Tennis, Hockey, Baseball, American Football, Rugby, Cricket, Golf, Motorsport, MMA, Wrestling, Cycling, Volleyball, Badminton, Handball, Darts, Futsal, Horse Racing, and Winter Sports.

Requirements

  • Node.js 20+
  • npm

Setup

npm install
npm run build
npm start

The addon listens on http://127.0.0.1:7000 by default. Install it in Stremio with:

http://127.0.0.1:7000/manifest.json

Use a different port with:

PORT=8080 npm start

For development:

npm run dev

Vercel Testing

This project can be deployed to Vercel as Node serverless functions. After deployment, install the addon in Stremio with:

https://<your-vercel-project>.vercel.app/manifest.json

The direct function URL also works:

https://<your-vercel-project>.vercel.app/api/manifest.json

The vercel.json rewrites expose the canonical Stremio routes at the site root while the actual serverless handler lives under api/[...addon].ts.

Environment

# Optional. Defaults to https://api.watchfooty.st
WATCHFOOTY_API_BASE=https://api.watchfooty.st

Verification

npm run build
npm test
curl http://127.0.0.1:7000/manifest.json
curl http://127.0.0.1:7000/catalog/tv/live-football.json

Notes

Remote Stremio installs require HTTPS unless using 127.0.0.1. The SDK handles CORS for addon protocol endpoints.

About

"An ultra-fast, mobile-optimized live sports streaming and score aggregator built with Next.js 14+ App Router, featuring an automated dual-API failover cache engine and secure, ad-blocking iframe sandboxing."

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 100.0%