README.md
151 lines · 3405 bytes
1
2# Curd
3
4A cli application to stream anime with [Anilist](https://anilist.co/) integration and Discord RPC written in golang.
5Works on Windows and Linux
6
7## Demo Video
8
9https://github.com/user-attachments/assets/376e7580-b1af-40ee-82c3-154191f75b79
10
11
12## Features
13- Stream anime online
14- Update anime in Anilist after completion
15- Skip anime Intro and Outro
16- Skip Filler and Recap episodes
17- Discord RPC about the anime
18- Local anime history to continue from where you left off last time
19- Save mpv speed for next episode
20- Configurable through config file
21
22## Installing and Setup
23### Linux
24<details>
25<summary>Arch Linux / Manjaro (AUR-based systems)</summary>
26
27
28Using Yay
29
30```
31yay -Sy curd
32```
33
34or using Paru:
35
36```
37paru -Sy curd
38```
39
40Or manually:
41
42```
43git clone https://aur.archlinux.org/curd.git
44cd curd
45makepkg -si
46```
47</details>
48
49<details>
50<summary>Debian / Ubuntu (and derivatives)</summary>
51
52```
53sudo apt update
54sudo apt install mpv curl
55curl -Lo curd https://github.com/Wraient/curd/releases/latest/download/curd
56chmod +x curd
57sudo mv curd /usr/local/bin/
58curd
59```
60</details>
61
62<details>
63<summary>Fedora</summary>
64
65```
66sudo dnf update
67sudo dnf install mpv curl
68curl -Lo curd https://github.com/Wraient/curd/releases/latest/download/curd
69chmod +x curd
70sudo mv curd /usr/local/bin/
71curd
72```
73</details>
74
75<details>
76<summary>openSUSE</summary>
77
78```
79sudo zypper refresh
80sudo zypper install mpv curl
81curl -Lo curd https://github.com/Wraient/curd/releases/latest/download/curd
82chmod +x curd
83sudo mv curd /usr/local/bin/
84curd
85```
86</details>
87
88<details>
89<summary>Other Linux Distributions (Generic Instructions)</summary>
90
91```
92# Install mpv and curl
93
94curl -Lo curd https://github.com/Wraient/curd/releases/latest/download/curd
95chmod +x curd
96sudo mv curd /usr/local/bin/
97curd
98```
99</details>
100
101<details>
102<summary>Uninstallation</summary>
103
104```
105sudo rm /usr/local/bin/curd
106```
107
108For AUR-based distributions:
109
110```
111yay -R curd
112```
113</details>
114
115## [Windows Installer](https://github.com/Wraient/curd/releases/latest/download/CurdInstaller.exe)
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