{"id":13408412,"url":"https://github.com/M4THYOU/py_flashcards","last_synced_at":"2025-03-14T13:31:05.133Z","repository":{"id":155411847,"uuid":"608214913","full_name":"M4THYOU/py_flashcards","owner":"M4THYOU","description":"Text-only CLI flashcards parsed from Markdown file.","archived":false,"fork":false,"pushed_at":"2023-04-19T13:33:36.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-31T20:30:24.848Z","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/M4THYOU.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}},"created_at":"2023-03-01T15:00:17.000Z","updated_at":"2024-06-23T14:38:06.000Z","dependencies_parsed_at":"2024-01-07T21:02:08.978Z","dependency_job_id":"297cc8a7-208c-4f8c-862f-27acc50af826","html_url":"https://github.com/M4THYOU/py_flashcards","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M4THYOU%2Fpy_flashcards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M4THYOU%2Fpy_flashcards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M4THYOU%2Fpy_flashcards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M4THYOU%2Fpy_flashcards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/M4THYOU","download_url":"https://codeload.github.com/M4THYOU/py_flashcards/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243584166,"owners_count":20314713,"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":"2024-07-30T20:00:52.714Z","updated_at":"2025-03-14T13:31:04.750Z","avatar_url":"https://github.com/M4THYOU.png","language":"Python","funding_links":[],"categories":["\u003ca name=\"flashcard\"\u003e\u003c/a\u003eAnki, decks and flashcards"],"sub_categories":[],"readme":"# py_flashcards\n\nI write all my notes for school in the Obsidian editor. So they're in Markdown. To study for my upcoming midterm, I wanted to turn these notes into flashcards. Unfortunately, all the \"Anki\" and spaced-repition are way too overkill for what I need.\n\nI just want to turn my markdown notes into a set of flashcards I can just practice over and over.\n\nI tried using Neuracache. Got my notes all nicely formatted and into the app before realizing I can't even shuffle my notes. So fuck it. I just wrote my own CLI text-only flashcard script in Python.\n\nThe file must contain any number of \"cards\" in the following format:\n\n```\ntitle (the question) #flashcard #other_tag\nanswer to the question on\nany number of\nlines.\n\n---\n```\n\nStart the program like\n\n```\npython3 main.py example.md\n```\n\n#### Commands\n- `go [tag]`: shuffles the deck and starts the flashcards. Tag is an optional parameter. If not specified, it plays all cards. If specified, it shows only cards with the matching tag.\n- `return/enter key`: If last shown was a question, show the answer. If last shown was an answer, show the next question.\n- `r`: redo the last card.\n\n\n#### Notes\n- any word starting with the `#` symbol in the title will be parsed as a tag.\n- Make sure to include the `#flashcard` tag in each card or it won't be included.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FM4THYOU%2Fpy_flashcards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FM4THYOU%2Fpy_flashcards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FM4THYOU%2Fpy_flashcards/lists"}