Skip to content
This repository was archived by the owner on Dec 7, 2024. It is now read-only.

retouching/french-anime-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

French Anime Scheduler


Announce when new episodes (in french) are available from ADN and Crunchyroll

Requirements

  • wrangler

Installation

$ git clone "https://github.com/retouching/french-anime-scheduler.git"
$ cd french-anime-scheduler
$ npx wrangler push

Configuration

name = "french-anime-scheduler"
workers_dev = false
main = "src/index.ts"
compatibility_date = "2023-06-05"
kv_namespaces = [
  { binding = "DB", id = "xxx" }
]

[vars]
WEBHOOK_URL = "https://discord.com/api/webhooks/xxx/xxx"
MENTIONS = "xxx,xxx"

[triggers]
crons = ["1,6,11,16,21,26,31,36,41,46,51,56 * * * *"]

name: Name in cloudflare workers panel

workers_dev: Enable RSS page

kv_namespaces: DB to use, you can generate an id token with:

$ wrangler kv:namespace create [DBNAME]

and copy id to config

WEBHOOK_URL: Webhook to use for sending new episodes

MENTIONS: Roles to mention, separate with a coma. (Empty string if no mention needed)

Demo

Warning: Some things need to be considered

  • This project is not approved by ADN and Crunchyroll

About

Announce new episodes available on Discord using Workers

Topics

Resources

Stars

Watchers

Forks

Contributors