{"id":25434472,"url":"https://github.com/derivia/srmath","last_synced_at":"2025-05-14T21:13:34.128Z","repository":{"id":276970163,"uuid":"930901210","full_name":"derivia/srmath","owner":"derivia","description":"Spaced repetition system to help students efficiently, written in Python.","archived":false,"fork":false,"pushed_at":"2025-02-11T12:02:12.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T12:40:16.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derivia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-11T11:57:20.000Z","updated_at":"2025-02-11T12:02:16.000Z","dependencies_parsed_at":"2025-02-11T12:40:19.492Z","dependency_job_id":"b1d7b9fa-1550-45b3-9f41-b5d96c56ac97","html_url":"https://github.com/derivia/srmath","commit_stats":null,"previous_names":["derivia/srmath"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derivia%2Fsrmath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derivia%2Fsrmath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derivia%2Fsrmath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derivia%2Fsrmath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derivia","download_url":"https://codeload.github.com/derivia/srmath/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254227625,"owners_count":22035671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-17T06:17:06.593Z","updated_at":"2025-05-14T21:13:34.073Z","avatar_url":"https://github.com/derivia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SRMath\n\nSRMath is a spaced repetition system to help students efficiently study by\nmanaging questions and review cycles.\nIt is intended for math review studies, but can be used for other topics.\n\n## Features\n\n- Create, edit, and delete questions\n- Track review history and due dates\n- Automatically schedule reviews with spaced repetition\n- Customize datetime format\n- Purge database of all questions and history\n\n## Installation\n\n1. Clone the repo:\n    ```bash\n    git clone https://github.com/derivia/srmath.git\n    cd srmath\n    ```\n\n2. Set up virtual environment:\n    ```bash\n    python3 -m venv .venv_srmath\n    ```\n\n3. Activate the environment:\n    - On Linux/macOS:\n        ```bash\n        source .venv_srmath/bin/activate\n        ```\n    - On Windows:\n        ```bash\n        .venv_srmath\\Scripts\\activate\n        ```\n\n4. Install dependencies:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Configuration\n\nThe `.srmath.conf` file, located on `$HOME`, is used for settings like questions per day and datetime\nformat.\n\n### Example `.srmath.conf`:\n\n```ini\n[DEFAULT]\nquestions_due_per_day = 10\ndatetime_format = %d/%m/%Y\n```\n\nThe file is created when the program database is first generated.\n\n## Commands\n\n### `list`\nShow today's due questions:\n```bash\npython srmath.py list --limit 5\n```\n\n### `question \u003cid\u003e`\nShow details of a specific question:\n```bash\npython srmath.py question 2\n```\n\n### `answer \u003cid\u003e`\nShow the answer for a specific question:\n```bash\npython srmath.py answer 2\n```\n\n### `edit \u003cid\u003e`\nEdit an existing question:\n```bash\npython srmath.py edit 2\n```\n\n### `create`\nCreate a new question:\n```bash\npython srmath.py create\n```\n\n### `reset`\nReset the database (delete all data):\n```bash\npython srmath.py reset\n```\n\n### `delete_history \u003cid\u003e`\nDelete history for a specific question:\n```bash\npython srmath.py delete_history 2\n```\n\n### `review`\nStart reviweing due questions for today:\n```bash\npython srmath.py review\n```\n\n## How It Works\n\nThe app uses a spaced repetition algorithm to schedule question reviews. The\ninterval between reviews increases as you get questions right.\n\n### Review Feedback Options:\n\n- **again**: Review again today\n- **hard**: Question was difficult\n- **good**: Correct answer\n- **easy**: Question was too easy\n\n## Backlog\n\nImprovements for future versions:\n\n- [ ] Separate code into multiple files\n- [ ] Allow easy global installation\n- [ ] Import/Export Features\n- [ ] Search functionality\n\n## License\n\nMIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderivia%2Fsrmath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderivia%2Fsrmath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderivia%2Fsrmath/lists"}