# Curd A cli application to stream anime with [Anilist](https://anilist.co/) integration and Discord RPC. Note: This currently only works for linux. ## Demo Video https://github.com/user-attachments/assets/3b9578aa-396a-4313-8254-d0954041d6ba ## Features - Stream anime online - Update anime in Anilist after completion - Skip anime Intro and Outro - Skip Filler and Recap episodes - Discord RPC about the anime - Local anime history to continue from where you left off last time - Save mpv speed for next episode - Configurable through config file ## Installing and Setup ### Linux
Debian ``` sudo apt-get install socat pip3 install pypresence requests git clone https://github.com/wraient/curd --depth=1 python3 ./curd/curd.py ```
Arch Linux ``` paru -Sy curd ``` or ``` yay -Sy curd ```
## Usage - For first time, just run the script and go to the link and enter your anilist token. After that you can use the script to watch anime. |Description | Command | ------------------------|------------------ |*Watching new anime* | `curd -new` | |*Watch dub* | `curd -dub` | |*Watch sub* | `curd -sub` | |*Update the script* | `curd -u` | |*Edit config file* | `curd -e` | |*Continue last watching anime* |`curd -c` | |*Help* | `curd -help` | Script is made in a way that you use it for one session of watching. You can quit it anytime and the resume time would be saved in the history file more settings can be found at config file. config file is located at ```~/.config/curd/curd.conf``` ## Dependencies - mpv - Video player (vlc support might be added later) - Socat - Receive output of mpv commands - Pypresence - Discord RPC ## API Used - [Anilist API](https://anilist.gitbook.io/anilist-apiv2-docs) - To update user data and download user data - [AniSkip API](https://api.aniskip.com/api-docs) - To get anime intro and outro timings - [AllAnime Content](https://allanime.to/) - To fetch anime url ## Credits - [ani-cli](https://github.com/pystardust/ani-cli) - Code for fetching anime url - [jerry](https://github.com/justchokingaround/jerry) - For the inspiration