README.md

82 lines · 2293 bytes

 1
 2# Curd
 3
 4A cli application to stream anime with [Anilist](https://anilist.co/) integration and Discord RPC.
 5
 6Note: This currently only works for linux.
 7
 8## Demo Video
 9https://github.com/user-attachments/assets/3b9578aa-396a-4313-8254-d0954041d6ba
10
11## Features
12- Stream anime online
13- Update anime in Anilist after completion
14- Skip anime Intro and Outro
15- Skip Filler and Recap episodes
16- Discord RPC about the anime
17- Local anime history to continue from where you left off last time
18- Save mpv speed for next episode
19- Configurable through config file
20
21## Installing and Setup
22### Linux
23<details><summary>Debian</summary>
24  
25
26```
27    sudo apt-get install socat
28    pip3 install pypresence requests
29    git clone https://github.com/wraient/curd --depth=1
30    python3 ./curd/curd.py
31```
32
33</details>
34
35<details><summary>Arch Linux</summary>
36  
37```
38paru -Sy curd
39```
40or
41```
42yay -Sy curd
43```
44
45</details>
46
47
48## Usage
49
50- 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.
51
52|Description            | Command          |
53------------------------|------------------
54|*Watching new anime*   | `curd -new`     |
55|*Watch dub*            | `curd -dub`      |
56|*Watch sub*            | `curd -sub`      |
57|*Update the script*    | `curd -u`        |
58|*Edit config file*    | `curd -e`        |
59|*Continue last watching anime* |`curd -c`  |
60|*Help*                 | `curd -help`     |
61
62
63Script is made in a way that you use it for one session of watching.
64
65You can quit it anytime and the resume time would be saved in the history file
66
67more settings can be found at config file.
68config file is located at ```~/.config/curd/curd.conf```
69
70## Dependencies
71- mpv - Video player (vlc support might be added later)
72- Socat - Receive output of mpv commands
73- Pypresence - Discord RPC
74    
75## API Used
76- [Anilist API](https://anilist.gitbook.io/anilist-apiv2-docs) - To update user data and download user data
77- [AniSkip API](https://api.aniskip.com/api-docs) - To get anime intro and outro timings
78- [AllAnime Content](https://allanime.to/) - To fetch anime url
79
80## Credits
81- [ani-cli](https://github.com/pystardust/ani-cli) - Code for fetching anime url
82- [jerry](https://github.com/justchokingaround/jerry) - For the inspiration