Tafsiri is a command-line tool that enables subtitiles download for your favorite movies/shows in multiple languages.Tafsiri is also a Swahili word that means 'translate'.
With Tafsiri you can do the following:
- Download subtitles by episodes or seasons
- Specify storage directory for downloaded subtitles
- Support for multiple languages
Tafsiri uses a number of open source projects to work properly:
-
Cheerio - A lightweight node js web scraper
-
Got - Human-friendly and powerful HTTP request library
-
Figlet - Node package that creates ASCII Art from text.
-
Ora - An elegant terminal spinner
-
Node.js - duh!
-
Minimist - An argument parser for the command-line
And of course Tafsiri itself is open source with a public repository on GitHub.
Tafsiri requires Node.js v14+ to run.
Install the dependencies and devDependencies and start the server.
$ cd tafsiri
$ npm install -d
$ node tafsiri
Tafsiri accepts a number of flags as input parameters(command-line-arguments)
| Flag | Function |
|---|---|
| -f | Film/Show |
| -s | Season |
| -e | Episode |
| -l | Language |
| Tafsiri has to have a minimum of one flag to run |
Example:
$ node tafsiri Ozark -s=3 5 SpanishMIT
Free Software, Hell Yeah!
