{"id":15684035,"url":"https://github.com/rpearce/bashcards","last_synced_at":"2025-10-06T06:27:04.529Z","repository":{"id":56650613,"uuid":"259794526","full_name":"rpearce/bashcards","owner":"rpearce","description":"Practice flashcards in your terminal","archived":false,"fork":false,"pushed_at":"2023-01-29T08:32:39.000Z","size":64,"stargazers_count":14,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-21T23:59:56.999Z","etag":null,"topics":["bash","cli","flashcards","hacktoberfest","nix","practice-flashcards","terminal"],"latest_commit_sha":null,"homepage":"https://github.com/rpearce/bashcards","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rpearce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"rpearce"}},"created_at":"2020-04-29T01:33:25.000Z","updated_at":"2025-05-04T07:58:17.000Z","dependencies_parsed_at":"2023-02-15T21:45:56.386Z","dependency_job_id":null,"html_url":"https://github.com/rpearce/bashcards","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rpearce/bashcards","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fbashcards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fbashcards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fbashcards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fbashcards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpearce","download_url":"https://codeload.github.com/rpearce/bashcards/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fbashcards/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267612773,"owners_count":24115521,"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-07-28T02:00:09.689Z","response_time":68,"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":["bash","cli","flashcards","hacktoberfest","nix","practice-flashcards","terminal"],"created_at":"2024-10-03T17:09:59.627Z","updated_at":"2025-10-06T06:26:59.485Z","avatar_url":"https://github.com/rpearce.png","language":"Shell","funding_links":["https://github.com/sponsors/rpearce"],"categories":[],"sub_categories":[],"readme":"# bashcards\n\nPractice flashcards in your terminal\n\n_Note: requires bash v4_\n\n## Usage\n\n```\nλ bashcards -d path/to/bcards/directory\nWhat would you like to practice?\n1. german\n2. spanish\n3. swedish\n\u003e 2\nSpanish\n\n–––––––––––––––\n|             |\n|  Te quiero  |\n|             |\n–––––––––––––––\n(Press return to flip)\n\n––––––––––––––––\n|              |\n|  I love you  |\n|              |\n––––––––––––––––\n(Press return for next card)\n```\n\n## Installation\n\nThere are a couple of different ways to use this project.\n\n### Nix\n\nTo install via [nixpkgs](https://github.com/nixos/nixpkgs):\n\n```\nλ nix-env -i bashcards\n```\n\n### Install Script\n\n```\nλ /usr/bin/env bash -c \"$(curl -fsSL https://raw.githubusercontent.com/rpearce/bashcards/main/install)\"\n```\n\n### Clone the Repository\n\n```\nλ git clone https://github.com/rpearce/bashcards.git\nλ cd bashcards\nλ ./bashcards -d path/to/bcards/directory\n```\n\nYou can also use it in `nix-shell`:\n\n```\nλ nix-shell --pure\n[nix-shell:~/projects/bashcards]$ man bashcards\n[nix-shell:~/projects/bashcards]$ bashcards -d path/to/bcards/directory\n```\n\n### Download a Release\n\n[Specific releases](https://github.com/rpearce/bashcards/releases) can be\ndownloaded and used just like the `Clone the Repository` section above.\n\n## Creating `.bcrds` files\n\nTo add some Spanish and Swedish bashcards, for example, all you need to do is\ncreate two files, `spanish.bcrds` and `swedish.bcrds`, and add lines to the\nfiles that take the form `key=value`.\n\n```\nλ mkdir /path/to/bcards/directory \u0026\u0026 cd $_\nλ touch spanish.bcrds swedish.bcrds\nλ cat \u003c\u003cEOF \u003e spanish.bcrds\ngoodbye=adiós\nhello=hola\nI love you=Te quiero.\nEOF\nλ cat \u003c\u003cEOF \u003e swedish.bcrds\nGoodbye=Adjö\nHello=Hallå\nI love you=Jag älskar dig\nEOF\n```\n\nOnce your cards are in a folder somewhere, you simply tell `bashcards` where to\nfind them!\n\n```\nλ bashcards -d path/to/bcards/directory\nWhat would you like to practice?\n1. spanish\n2. swedish\n\u003e\n```\n\nThere are example `.bcrds` files in the [examples/](./examples) folder of this\nproject.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpearce%2Fbashcards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frpearce%2Fbashcards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpearce%2Fbashcards/lists"}