Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 959 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 959 Bytes

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)