{"id":15684420,"url":"https://github.com/patarapolw/gflash","last_synced_at":"2025-10-30T11:26:41.275Z","repository":{"id":95361332,"uuid":"141830569","full_name":"patarapolw/gflash","owner":"patarapolw","description":"A very simple app to make formatted flashcards from Google Sheets","archived":false,"fork":false,"pushed_at":"2018-07-25T10:06:32.000Z","size":127,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-18T04:30:29.937Z","etag":null,"topics":["flashcards","google-sheets"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patarapolw.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}},"created_at":"2018-07-21T16:52:10.000Z","updated_at":"2023-05-16T17:26:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"81217854-3fdc-4a69-bfd3-a26e3c43432b","html_url":"https://github.com/patarapolw/gflash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/patarapolw/gflash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patarapolw%2Fgflash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patarapolw%2Fgflash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patarapolw%2Fgflash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patarapolw%2Fgflash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patarapolw","download_url":"https://codeload.github.com/patarapolw/gflash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patarapolw%2Fgflash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281795538,"owners_count":26562985,"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","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["flashcards","google-sheets"],"created_at":"2024-10-03T17:16:28.970Z","updated_at":"2025-10-30T11:26:41.233Z","avatar_url":"https://github.com/patarapolw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gflashcards\n\nGoogle sheets-based flashcard maker\n\n## Usage\n\n```python\n\u003e\u003e\u003e from gflashcards import Flashcard\n\u003e\u003e\u003e fc = Flashcards(spreadsheet_id, sheet_name, path_to_token, path_to_clientsecrets)\n\u003e\u003e\u003e card = fc.quiz(ham_regex, tags=[spam_regex, nam_regex])\n\u003e\u003e\u003e card\nThe front side of the card is shown on Jupyter Notebook. Images included. Both Markdown and HTML works.\n\u003e\u003e\u003e card.show()\nThe back side of the card is shown.\n```\n\nThe `path_to_token` and `path_to_clientsecrets` can be omitted, and default to `user/token.json` and `user/credentials.json`, respectively.\n\n`sheet_name` can be omitted and default to \"flashcards\".\n\n`spreadsheet_id` can be extracted from the URL of the Google Sheets.\n\nMore information about `token`, `clientsecrets`, and `spreadsheet_id` can be viewed at https://developers.google.com/sheets/api/guides/concepts\n\nFor more advanced usage, please see https://github.com/patarapolw/gflashcards/tree/master/docs\n\n## Google Sheets formatting\n\nThe first row is abandoned, but it should contain the header 'Front', 'Back', 'Keywords', and 'Tags', respectively.\n\nThe Keywords and Tags are space-separated. If a keyword or a tag is longer than one word, it should be double-quoted.\n\nTo make a new line in Google Sheets, type Alt+Enter.\n\n## Known bugs\n\nYou might have to run `dev/create_google_token.py` to get `token.json`.\n\n## Offline version, for Excel\n\nPlease see -- https://github.com/patarapolw/jupyter-flashcards\n\n## Image from clipboard\n\n```python\n\u003e\u003e\u003e from gflashcards import save_image_from_clipboard\n\u003e\u003e\u003e save_image_from_clipboard()\nThe image will be shown on Jupyter Notebook, with Imgur image URL shown.\n```\n\nDependencies: in Linux, `sudo apt install xclip`.\n\n## Image from local\n\nThe image from local also works (`from gflashcards import save_image_from_file`). The image will be uploaded to Imgur server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatarapolw%2Fgflash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatarapolw%2Fgflash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatarapolw%2Fgflash/lists"}