An open API service indexing awesome lists of open source software.

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.

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.**