Skip to content

A Rust Cloudflare Worker for automatically collecting and updating aria2 trackers

License

Notifications You must be signed in to change notification settings

liulifox233/tracker-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tracker-collector

metadata

How it works?

  1. Fetch the tracker list from urls in trackers.yml.
  2. Merge the tracker list with the trackers from the request.
  3. (scheduled) Connect to aria2 with JSON-RPC, then add the trackers to aria2.

Usage

Automatically update

  1. Set urls in trackers.yml.

  2. Set CLOUDFLARE_API_TOKEN in repository secrets.

  3. Deploy to Cloudflare Workers

    Deploy to Cloudflare Workers

  4. Set ARIA2_URL, SECRET_KEY and schedule in Cloudflare Workers settings.

  5. Done.

Manually update

If you're using aria2, you access trackers list by GET /.
If you're using other download tools, you can access trackers list by GET /xxx.(xxx can be any text, for example, GET /abc)

About

A Rust Cloudflare Worker for automatically collecting and updating aria2 trackers

Topics

Resources

License

Stars

Watchers

Forks

Languages