Skip to content

ltsdw/Asts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asts

Asts (Another subs to srs) is a simple tool used to create Anki cards inspired by subs2srs. It doesn't work on Windows yet.

Requirements

uv and FFMPEG must be installed and visible through the $PATH environment variable. It can be installed from the official site uv installation and Download FFmpeg, or they can be installed using the package manager from your distro.

  • Arch Linux:

    sudo pacman -S ffmpeg python-uv
    
  • Or alternatively install uv standalone on any distro:

    curl -LsSf https://astral.sh/uv/install.sh | sh
    
  • If curl isn't available use wget instead:

  wget -qO- https://astral.sh/uv/install.sh | sh

How to install

  • Clone:

    git clone https://github.com/ltsdw/Asts.git
    
  • Change to the directory:

    cd Asts
    

How to use

  • Run:

    uv run asts-run.py
    
  • Select the files needed:

    • A deck will be created if there is no deck with the name specified.
    • Usually the collection.anki2 file is under ~/.local/share/Anki2/<user name>/collection.anki2

    image1

  • Select and edit the cards that you want add:

    • Before adding cards certify that your anki is closed, it's not possible to add new cards while anki still open.

    • It's possible edit both sides (front and back) before adding a card.

      Note: Asts will try to use the last note type used in the chosen deck. If the deck is new, the default note type (which most likely is the Basic note type) will be used.

    • While editing the timestamp fields the format MUST be HH:MM:SS.sss, eg. 00:13:04.123 is a valid input format 00:13:04 is not. So do not worry if you edited it and it resets itself, the format was probably wrong, just try again with the correct format.

    image3

Anki Card Example (Front & Back)

image2

Related Projects

Projects similar to subs2srs:

About

Asts (Another subs to srs) is a simple tool used to create Anki cards inspired by subs2srs.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages