kami
kami copied to clipboard
A ln scraper to read light novels and watch anime in your terminal (Written in rust)
#+title: Readme #+OPTIONS: toc:2
- Table of content
- [[#IMPORTANT][IMPORTANT]]
- [[#Why-use-kami][Why use kami]]
- [[#Dependencies][Dependencies]]
- [[#Install][Install]]
- [[#LinuxMac][Linux/mac]]
- [[#Windows][Windows]]
- [[#Honorable-mentions][Honorable mentions]]
- IMPORTANT remove all contents of ~$HOME/.config/kami/an_progress.json~ new version is not compatibal with old progress file.
- Why use kami Well its a fast and easy way to watch anime and read light novels right in your terminal no need to open a browser. Also rust is fast as fuck boiiiii. It can keep your anime tracking up to date with anilist.
- Dependencies
- [[https://github.com/sharkdp/bat][bat]]
- [[https://mpv.io/][mpv]]
- [[https://git-scm.com/][gitbash]](if on windows) I will be explaining how to install them.
- Install ** Linux/Mac
- install bat and mpv with your package manager(homebrew if on mac)
- Clone the repo for kami. #+begin_src shell git clone https://github.com/mrfluffy-dev/kami.git && cd kami #+end_src
- install [[https://www.rust-lang.org/tools/install][Rust]]
- Build kami using cargo. #+begin_src shell cargo build --release #+end_src
- Copy kami to your path. #+begin_src shell cp target/release/kami /usr/local/bin/kami #+end_src ** Windows
- install scoop #+begin_src shell Set-ExecutionPolicy RemoteSigned -Scope CurrentUser irm get.scoop.sh | iex #+end_src
- install git #+begin_src shell scoop install git #+end_src
- install mpv #+begin_src shell scoop bucket add extras scoop install mpv #+end_src
- install bat #+begin_src shell scoop install bat #+end_src
- install [[https://www.rust-lang.org/tools/install][Rust]]
- (Optional but I highly recommend it) adding bash to windows terminal.
- install windows terminal from the Microsoft store.
- open the terminal.
- open settings.
- click "Add a new profile"
- click "New empty profile"
- Click on "name" and rename it to "Git Bash"
- Click on "Command line" and click "Browse..."
- if you installed git using scoop then follow this(else the steps are mostly the same just a different path) navigate to ~C:\User\USERNAME\scoop\apps\git\2.37.1.windows.1\bin\bash.exe~ Where USERNAME is your username note that the name ~2.37.1.windows.1~ might be slightly different on your system
- click "Open"
- Click "Starting directory" and uncheck "Use parent process directory"
- Click "Save"
- now you can open gitbash from windows terminal
- Clone the repo for kami #+begin_src shell git clone https://github.com/mrfluffy-dev/kami.git && cd kami #+end_src
- Build kami using cargo #+begin_src shell cargo build --release #+end_src
- copy kami to path (for this to work, you need to use git bash and you need to run git bash in administrator mode0 #+begin_src cp target/release/kami.exe /usr/bin/kami #+end_src
- open kami by using ~kami~
- Honorable mentions
- [[https://github.com/pystardust/ani-cli][ani-cli]] Just a bunch of fucking nice people.
- [[https://docs.rs/][rust docs]] Honestly its just so useful.
- [[https://github.com/DemonKingSwarn/flix-cli][flix-cli]] For forcing me to make a release.