Anki/README.md
Noam Brendel 26e446dcc1 docs: improve README.md with better structure and organization
- Add comprehensive About section with key features
- Improve Getting Started section with separate user/developer guides
- Add Quick Start guide with step-by-step instructions
- Fix run command (use ./run instead of tools/run)
- Add Project Structure and Technology Stack sections
- Improve Contributing section with clearer guidelines
- Add comprehensive Links and Support sections
- Better formatting and organization throughout
2025-11-20 17:30:45 +02:00

5.4 KiB

Anki®

Build status

This repo contains the source code for the computer version of Anki.

Anki is a powerful, intelligent flashcard program that makes remembering things easy.

📖 About Anki

Anki is a spaced repetition flashcard program. It helps you memorize information efficiently by presenting cards at optimal intervals based on your performance. Anki uses an algorithm to schedule reviews, ensuring you see cards right before you're about to forget them.

Key Features

  • Spaced Repetition: Scientifically-proven algorithm for efficient learning
  • Rich Media Support: Add images, audio, video, and LaTeX to your cards
  • Cross-Platform: Available on Windows, macOS, Linux, iOS, and Android
  • Synchronization: Keep your cards in sync across all your devices
  • Extensible: Powerful add-on system for customization
  • Open Source: Free and open-source software

🚀 Getting Started

For Users

If you're looking to use Anki, the easiest way is to download the latest release from the official website.

Want to try the latest features? Check out Anki betas for pre-release versions.

For Developers

This is a complex project with multiple components:

  • Backend: Rust (rslib/) - Core scheduling, database, and sync logic
  • Python Library: (pylib/) - Python bindings and add-on API
  • Frontend: TypeScript/Svelte (ts/) - Modern web-based UI
  • Qt Interface: Python/Qt (qt/) - Desktop application wrapper

Quick Start

  1. Prerequisites:

    • Rust (version specified in rust-toolchain.toml)
    • N2 or Ninja build system
    • Python 3.9+ (3.9 recommended)
    • Platform-specific tools (see platform docs below)
  2. Clone the repository:

    git clone https://github.com/ankitects/anki.git
    cd anki
    
  3. Install build tools:

    # Install N2 (recommended) or Ninja
    bash tools/install-n2
    
  4. Platform-specific setup:

  5. Build and run:

    # Build the project
    tools/build
    
    # Run Anki
    ./run
    

    (On Windows, use .\run instead)

For detailed development instructions, see the Development Guide.

Pre-built Python Wheels

If you're developing add-ons or need Python bindings without building from source, you can install pre-built wheels from PyPI:

pip install --pre aqt

See betas.ankiweb.net for more details.

🤝 Contributing

We welcome contributions! Whether you're fixing bugs, adding features, or improving documentation, your help makes Anki better for everyone.

How to Contribute

  1. Read the guidelines: Check out our Contribution Guidelines
  2. Find an issue: Look for issues labeled good first issue or browse open issues
  3. Fork and branch: Create a feature branch from main
  4. Make changes: Write clean, tested code following our style guidelines
  5. Submit a PR: Open a pull request with a clear description of your changes

Development Resources

📚 Project Structure

anki/
├── rslib/          # Rust backend library (core logic)
├── pylib/          # Python library and bindings
├── qt/             # Qt desktop application
├── ts/             # TypeScript/Svelte frontend
├── ftl/            # Fluent translation files
├── proto/          # Protocol buffer definitions
├── docs/           # Documentation
└── tools/          # Build and development scripts

🛠️ Technology Stack

  • Rust: Core backend, scheduling algorithm, database operations
  • Python: Add-on API, Qt bindings, build scripts
  • TypeScript/Svelte: Modern web-based user interface
  • Qt: Desktop application framework
  • Protocol Buffers: Inter-process communication
  • SQLite: Database storage

📄 License

Anki is licensed under the AGPL-3.0-or-later license.

🙏 Acknowledgments

Anki is made possible by the contributions of many developers and the support of the community. See CONTRIBUTORS for a list of contributors.

📞 Support


Note: This is the computer version of Anki. For mobile apps, see: