Jikai

Episode alerts for anime, posted straight to your Discord server.

Status
In progress
Built with
FastAPI SQLAlchemy PostgreSQL Redis Alembic Tailwind CSS Discord
jikai-banner

The idea

Jikai exists because of one bug in someone else's bot.

I used to use a Discord bot that announced new anime episodes. When you added a show, it looked up the airing schedule once, saved it, and set a timer for each episode. Then it never checked again. Anime schedules move all the time: an episode slips a week, a season gets extended, a show goes on break. The bot never heard about any of it, so it kept announcing from a schedule that had quietly stopped being true. Nobody maintains it any more, so I rebuilt that part myself.

Keep checking

Jikai keeps re-reading the schedule in the background and corrects what it already saved. If an episode moved, it gets fixed. A newly announced one gets added, and one that was pulled gets removed.

How often it checks depends on how close the next episode is:

Next episode Re-checked every
Within 2 hours 10 minutes
Within 24 hours 1 hour
Within 7 days 6 hours
Further out 24 hours

Most of the effort goes into the last two hours before air. That's when a delay is most likely, and when getting it wrong annoys people the most.

Announcements that survive a bad night

If Discord refuses a message, Jikai tries again. If the channel was deleted, it stops trying and tells whoever set it up what happened. It doesn't keep failing quietly forever. One broken channel never holds up anyone else's.

If Jikai itself was down when an episode aired, it won't come back and dump a backlog into your channel. Anything more than two hours late gets dropped.

When a source goes down

Air times and show details come from different providers. If one stops answering, Jikai switches to another. If they all go down, it keeps serving what it already knows for up to six hours, so you don't get an error page.

There's a public status page too. Outages get posted to a status channel in plain English, so nobody has to guess what broke.