pystardust / pystardust/ani-cli

feat: maintained next branch with a backup provider for outages

Open
#1,915 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority 4: wishlist type: feature request
Dominant language
Shell
Stars
13.8k
Forks
878
Avg merge
4d 18h
Merged PRs (30d)
7

Description

Image

Is your feature request related to a problem? Please describe.
One provider is a single point of failure. gogoanime, animixplay, allanime, anidb.app: every switch left the tool broken for everyone until a patch shipped.

Describe the solution you'd like
As agreed with @port19x below: no failover inside the script. Instead a permanently maintained next branch, which is master with a second provider already wired up. On an outage a maintainer flips it live, early adopters run ani-cli -U next, and days become hours.

Scope:

  • Pick a backup provider (none chosen yet, suggestions welcome)
  • next = master with only the hianime_* scraper block swapped, kept in sync with master so the diff stays small
  • Add next to the push branches in .github/workflows/ani-cli.yml so shellcheck/shfmt run there too
  • Open the provider PR against next (branch exists, created at current master)

Deferred for now: an auto-merge workflow from master into next, and README docs for -U next.

Describe alternatives you've considered
Automatic in-script failover, the original proposal, rejected as too much change for one fallback. Patching on each outage, the current approach.

Additional context
hacking.md rejects multi-source support; this stays one provider per branch. I'll implement it, first results planned for the weekend of 19 September.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing next branch, the hianime_* scraper block, and .github/workflows/ani-cli.yml. Done means next stays synchronized with master while retaining only the provider swap, and shellcheck/shfmt run for pushes to next; consult hacking.md for the project's single-provider constraint.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github-actions, shell
Domain
ci-cd, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.