Create, Study and Share decks of flashcards.
Demo
Ziho is a provides a better online interface for Anki than Anki Web. Ziho allows you to create, study and easily share and clone decks, as well as edit them online.
The backend is built with Flask, and the fsrs algorithm is used for spaced repetition. Following were also used:
- Bootstrap
- SQLAlchemy
- Docker
You can find more screenshots here.
Note
Please ensure you have Docker and Docker Compose installed on your system.
- Clone the Repository.
- Start the Docker Container:
docker compose up -d
Important
Please ensure you have pip installed on your system.
- Clone the Repository.
- Run the setup script:
./tools/setup
- Set up your environment variables in a
.env
file: To run without debug mode, setDEBUG_MODE=off
.- Set following for using MySQL
- MYSQL_USER
- MYSQL_PASS
- MYSQL_HOST
- MYSQL_PORT
- MYSQL_DB
- Set following for using MySQL
- Start the webapp:
./tools/run-ziho
- Follow the code style. Run the following to test the format.
./tools/test_lint
- Format the code using:
./tools/lint_and_format
- Make sure to add the tests for new routes
pytest ./tests