Commit e1a021f54e
Unregistered key
Layout: unified · split
README.md added +73
| @@ -0,0 +1,73 @@ | |||
| 1 | |||
| 2 | # Curd | ||
| 3 | |||
| 4 | A cli application to stream anime with [Anilist](https://anilist.co/) integration and Discord RPC. | ||
| 5 | |||
| 6 | Note: This currently only works for linux. | ||
| 7 | |||
| 8 | ## Features | ||
| 9 | - Stream anime online | ||
| 10 | - Update anime in Anilist after completion | ||
| 11 | - Skip anime Intro and Outro | ||
| 12 | - Discord RPC about the anime | ||
| 13 | - Local anime history to continue from where you left off last time | ||
| 14 | - Save mpv speed for next episode | ||
| 15 | - Configurable through config file | ||
| 16 | |||
| 17 | ## Installing and Setup | ||
| 18 | ### Linux | ||
| 19 | <details><summary>Debian</summary> | ||
| 20 | |||
| 21 | |||
| 22 | ``` | ||
| 23 | sudo apt-get install socat | ||
| 24 | pip3 install pypresence requests | ||
| 25 | git clone https://github.com/wraient/curd --depth=1 | ||
| 26 | python3 ./curd/curd.py | ||
| 27 | ``` | ||
| 28 | |||
| 29 | </details> | ||
| 30 | |||
| 31 | <details><summary>Arch Linux</summary> | ||
| 32 | |||
| 33 | ``` | ||
| 34 | sudo pacman -Sy socat | ||
| 35 | git clone https://github.com/wraient/curd --depth=1 | ||
| 36 | cd ./curd | ||
| 37 | python -m venv venv | ||
| 38 | source ./venv/bin/activate | ||
| 39 | pip3 install pypresence requests | ||
| 40 | python3 curd.py | ||
| 41 | ``` | ||
| 42 | </details> | ||
| 43 | |||
| 44 | |||
| 45 | ## Usage | ||
| 46 | |||
| 47 | - 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. | ||
| 48 | |||
| 49 | |Description | Command | | ||
| 50 | ------------------------|------------------ | ||
| 51 | |*Watching new anime* | ` curd -new` | | ||
| 52 | |*Watch dub* | `curd -dub` | | ||
| 53 | |*Watch sub* | `curd -sub` | | ||
| 54 | |*Help* | `curd -help` | | ||
| 55 | |||
| 56 | Script is made in a way that you use it for one session of watching. | ||
| 57 | |||
| 58 | You can quit it anytime and the resume time would be saved in the history file | ||
| 59 | |||
| 60 | more settings can be found at config file. | ||
| 61 | config file is located at ```~/.config/curd/curd.conf``` | ||
| 62 | |||
| 63 | **Help** | ||
| 64 | |||
| 65 | |||
| 66 | ## API Used | ||
| 67 | - [Anilist API](https://anilist.gitbook.io/anilist-apiv2-docs) - To update user data and download user data | ||
| 68 | - [AniSkip API](https://api.aniskip.com/api-docs) - To get anime intro and outro timings | ||
| 69 | - [AllAnime Content](https://allanime.to/) - To fetch anime url | ||
| 70 | |||
| 71 | ## Credits | ||
| 72 | - [ani-cli](https://github.com/pystardust/ani-cli) - Code for fetching anime url | ||
| 73 | - [jerry](https://github.com/justchokingaround/jerry) - For the inspiration | ||