README.md
151 lines · 3323 bytes
1
2# Curd
3
4A cli application to stream anime with [Anilist](https://anilist.co/) integration and Discord RPC written in golang.
5
6Note: This currently only works for linux.
7
8## Demo Video
9
10https://github.com/user-attachments/assets/376e7580-b1af-40ee-82c3-154191f75b79
11
12
13## Features
14- Stream anime online
15- Update anime in Anilist after completion
16- Skip anime Intro and Outro
17- Skip Filler and Recap episodes
18- Discord RPC about the anime
19- Local anime history to continue from where you left off last time
20- Save mpv speed for next episode
21- Configurable through config file
22
23## Installing and Setup
24### Linux
25<details>
26<summary>Arch Linux / Manjaro (AUR-based systems)</summary>
27
28
29Using Yay
30
31```
32yay -Sy curd
33```
34
35or using Paru:
36
37```
38paru -Sy curd
39```
40
41Or manually:
42
43```
44git clone https://aur.archlinux.org/curd.git
45cd curd
46makepkg -si
47```
48</details>
49
50<details>
51<summary>Debian / Ubuntu (and derivatives)</summary>
52
53```
54sudo apt update
55sudo apt install mpv curl
56curl -Lo curd https://github.com/Wraient/curd/releases/latest/download/curd
57chmod +x curd
58sudo mv curd /usr/local/bin/
59curd
60```
61</details>
62
63<details>
64<summary>Fedora</summary>
65
66```
67sudo dnf update
68sudo dnf install mpv curl
69curl -Lo curd https://github.com/Wraient/curd/releases/latest/download/curd
70chmod +x curd
71sudo mv curd /usr/local/bin/
72curd
73```
74</details>
75
76<details>
77<summary>openSUSE</summary>
78
79```
80sudo zypper refresh
81sudo zypper install mpv curl
82curl -Lo curd https://github.com/Wraient/curd/releases/latest/download/curd
83chmod +x curd
84sudo mv curd /usr/local/bin/
85curd
86```
87</details>
88
89<details>
90<summary>Other Linux Distributions (Generic Instructions)</summary>
91
92```
93# Install mpv and curl
94
95curl -Lo curd https://github.com/Wraient/curd/releases/latest/download/curd
96chmod +x curd
97sudo mv curd /usr/local/bin/
98curd
99```
100</details>
101
102<details>
103<summary>Uninstallation</summary>
104
105```
106sudo rm /usr/local/bin/curd
107```
108
109For AUR-based distributions:
110
111```
112yay -R curd
113```
114</details>
115
116
117
118## Usage
119
120- 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.
121
122|Description | Command |
123------------------------|------------------
124|*Watching new anime* | `curd -new` |
125|*Watch dub* | `curd -dub` |
126|*Watch sub* | `curd -sub` |
127|*Update the script* | `curd -u` |
128|*Edit config file* | `curd -e` |
129|*Continue last watching anime* |`curd -c` |
130|*Help* | `curd -help` |
131
132
133Script is made in a way that you use it for one session of watching.
134
135You can quit it anytime and the resume time would be saved in the history file
136
137more settings can be found at config file.
138config file is located at ```~/.config/curd/curd.conf```
139
140## Dependencies
141- mpv - Video player (vlc support might be added later)
142
143## API Used
144- [Anilist API](https://anilist.gitbook.io/anilist-apiv2-docs) - Update user data and download user data
145- [AniSkip API](https://api.aniskip.com/api-docs) - Get anime intro and outro timings
146- [AllAnime Content](https://allanime.to/) - Fetch anime url
147- [Jikan](https://jikan.moe/) - Get filler episode number
148
149## Credits
150- [ani-cli](https://github.com/pystardust/ani-cli) - Code for fetching anime url
151- [jerry](https://github.com/justchokingaround/jerry) - For the inspiration