Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Contributing

Development setup

git clone https://github.com/agahkarakuzu/niobium.git
cd niobium
pip install -e .

Project structure

PathPurpose
anki_niobium/cli.pyCLI entry point: argument parsing, dispatch, banner display
anki_niobium/io.pyCore niobium class: OCR, merging, filtering, card delivery, APKG export, PDF processing
anki_niobium/llm.pyClaude AI integration: smart_filter_results() and smart_generate_cards()
anki_niobium/cache.pySQLite cache for processed images and Claude responses
anki_niobium/default_config.yamlBundled default configuration
docs/getting-started/Installation and quickstart guides
docs/core/Non-AI workflows, PDF processing, APKG export
docs/ai/AI features: overview, smart filtering, smart generation
docs/reference/CLI reference, configuration, caching
myst.ymlMyST project configuration

Smoke test

# Verify CLI is available
niobium -h

# Verify import
python -c "from anki_niobium.cli import main; print('OK')"

Building documentation locally

npm install -g mystmd
myst build --html
# Open ./_build/html/index.html in a browser

Submitting changes

  1. Open an issue to discuss the change.

  2. Fork the repository and create a feature branch.

  3. Submit a pull request against the main branch.