GithubHelp home page GithubHelp logo

arnaudlasnier / ankiref Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ankitects/anki

0.0 1.0 0.0 26.8 MB

A reference version of Anki that is run directly from source.

License: Other

Roff 0.15% Python 83.16% CSS 0.33% JavaScript 16.06% Batchfile 0.01% Shell 0.13% Makefile 0.16%
python qt learning education flashcards srs anki

ankiref's Introduction

Anki Reference Version

Anki is a free and open-source flashcard program that uses spaced repetition. This repository contains a reference version of Anki based on Anki v2.1.16. The purpose of this reference version is to be able to install and run the same version of Anki in different environments with a stable set of settings and features. It was primarily created for ArnaudLasnier/computer_science_flashcards.

Installation

For macOS, with Homebrew:

brew install python mpv mplayer lame portaudio sqlite git
git clone https://github.com/ArnaudLasnier/ankiref
cd ankiref
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
deactivate

Note that this version of Anki requires Python 3.6 or newer. If you cannot download a compatible version of Python with Homebrew, you can build Python 3.6 directly from source.

Running Anki

Once everything is properly installed, you can run Anki with:

source .venv/bin/activate
./runanki --base <base> --profile <profile> --lang <lang>
deactivate

The base argument is required and corresponds to the base folder used by Anki. The two other arguments are optional: profile corresponds to the profile used (i.e. the user) and defaults to "User 1" ; lang corresponds to the language used in the user interface and defaults to "en_US".

Notes

This reference version is based on Anki v2.1.16 (released on December 12, 2019) because it was the first release to remove the "experimental" label from the new scheduler1 and also the last to be solely written in Python2. Also, the differences between this reference version and the original Anki v2.1.16 are well explained in the commit log of this branch.


1 Anki 2.1 introduced a new optional scheduler. It was considered experimental until Anki v2.1.16.

2 Some parts of Anki were indeed rewritten in Rust in Anki v2.1.17 (released on January 11, 2020).

ankiref's People

Contributors

dae avatar sobjornstad avatar glutanimate avatar arthur-milchior avatar hssm avatar simgunz avatar ankitest avatar julienbaley avatar frostschutz avatar arnaudlasnier avatar krassowski avatar ospalh avatar dlon avatar henrikh avatar lovac42 avatar derbeth avatar jianli avatar dsd avatar aqueminivan avatar a-ludi avatar chreekat avatar techdavid avatar hans avatar illia-v avatar rawtoast avatar remyleone avatar zsmatrix62 avatar hut avatar dequis avatar wgreven avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.