Srcli

Spaced Repetition CLI for obsidian vaults.

srcli

srcli is a simple command-line spaced repetition tool designed for use with Obsidian. This tool helps users review notes in a structured, spaced repetition format to improve knowledge retention.

Installation

  1. Clone this repository:

    git clone https://github.com/pingponghero12/CLI-Spaced-Repetition-For-Obsidian.git
    cd srcli
    
  2. Install using pip:

    pip install .
    

Usage

Once installed, you can use srcli by running commands like:

srcli - Spaced Repetition CLI Tool

Commands:
  create     Create a new tracking file (.sr) for spaced repetition
    --min INT        Minimum days between repetitions
    --max INT        Maximum days between repetitions
    --force         Overwrite existing .sr file

  list       Show files due for review
    --number INT    Show N items (default: 10)
    --all          Show all items

  read       Mark a file as read/reviewed
    FILE            Name of file to mark as read
    --days INT      Set custom interval to next review

  update     Sync .sr file with current directory
            (Add new files, remove deleted ones)

Examples:
  srcli create --min 1 --max 7
  srcli list --number 5
  srcli read document.md
  srcli read document.md --days 14
  srcli update

To fix

  1. List one specific element.
  2. Config file.
  3. List number working.
  4. Fix list on non existing .sr error.
  5. Add list on directory.
  6. Add check version of srcli.
  7. Add entries to help.

License

This project is licensed under the MIT License. See the LICENSE file for details.

How to Install

  1. Download the ZIP or clone the repository
  2. Open the folder as a vault in Obsidian (File → Open Vault)
  3. Obsidian will prompt you to install required plugins

Stats

Stars

0

Forks

0

Last updated 17mo ago

Tags

cliobsidianspaced-repetition