A command-line interface for watching Turkish anime from turkanime.co with Discord Rich Presence integration.
- Search for anime by name
- Select episodes to watch
- Choose fansub groups
- Stream directly to MPV player
- Discord Rich Presence integration
- Next episode functionality
- Keyboard controls for playback
- Watch history tracking
- Resume playback from where you left off
The application automatically tracks your watch history, allowing you to:
- See a list of recently watched anime
- Resume watching from where you left off
- Delete your entire watch history when needed
Watch history is stored locally in ~/.tacli/watch-history.json
. The application remembers:
- Which anime you watched
- Which episode you watched
- Your exact playback position
- Which fansub you selected
To resume watching, simply run the app without parameters and select "Watch History" from the menu. To delete your watch history, select "Delete Watch History" from the main menu.
- Node.js >= 18.0.0
- MPV Player installed and in your PATH
- Chrome/Chromium (for Selenium)
npm install -g turk-ani-cli
git clone https://github.com/Luxotick/turk-ani-cli.git
cd turk-ani-cli
npm install
npm run build
tacli "anime name"
npm start "anime name"
While watching:
- Space - Play/Pause
- Arrow Right - Forward 5 seconds
- Arrow Left - Backward 5 seconds
- Arrow Up - Forward 60 seconds
- Arrow Down - Backward 60 seconds
- N - Next episode
- Q - Quit
src/
├── core/ # Core application logic
├── services/ # Service modules
├── utils/ # Utility functions
└── index.ts # Main entry point
npm run build
npm start "anime name"
MIT
Luxotick
This project was created for learning web-scraping and is my first TypeScript project. I used Selenium for collecting data from the website due to the complex structure of "turkanime.co". The project allows Turkish anime fans to easily stream content with a simple command-line interface.
"Are you sharing proof that you took videos without permission? :D"