Enhance learning retention with spaced repetition. This project contains a React app served by a Flask API.
Install python dependencies with uv and start the web server:
flask --app reprise.api run
From the /ui directory, install node dependencies with npm install and start the React app:
npm start
This project uses OpenAI models to to generate content. To enable this feature:
- Copy the
.env.examplefile to.env - Add your OpenAI API key to the
.envfile
This project uses alembic for migrations. Run them from the console like so:
PYTHONPATH=. alembic <...>
Optionally create a logfire project for model tracing. Add LOGFIRE_TOKEN to .env.
Additionally copy /ui/.env.example to /ui/.env and set the project URL.
Leverage Mailgun and Mac launchctl to schedule reprisal emails in lieu of a deployed backend or task executor.
- Copy
dispatch_example.plisttoreprise.plist, edit labeled parameters launchctl load reprise.plist
Unload with launchctl unload reprise.plist as necessary