https://github.com/julianfbeck/srt2anki
convert srt files to anki decks or csv files.
https://github.com/julianfbeck/srt2anki
Last synced: 2 months ago
JSON representation
convert srt files to anki decks or csv files.
- Host: GitHub
- URL: https://github.com/julianfbeck/srt2anki
- Owner: julianfbeck
- Created: 2018-05-17T23:26:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T03:13:35.000Z (over 2 years ago)
- Last Synced: 2025-03-18T14:08:10.059Z (2 months ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# srt2anki
A script that extracts *.srt* subfiles to anki or *.csv* for srs usage and sentence mining.## Installation
Install srt2anki globally:
```shell
npm install -g srt-to-anki
```## Usage
Basic usage:
```shell
srt2anki
```
srt2anki will search the given folder for .srt files and extract the subtitle lines.
### Options:
```shell
-c, --csv creates csv file instead of anki deck, please use for larger files
-m, --min [min] minimum length of a sub-line to be added to the deck (default: 4)
-s, --simple only add sub-line
-d, --deckname [name] name of the generated deck (default: deck)
-h, --help output usage information
```
**Due to memory issues, if you want to convert large files, please use the -csv option to generate a .csv file instead of an anki deck and import it into anki using the import file funcion. This will save you time and memory.**