{"id":31690200,"url":"https://github.com/ebullient/obsidian-flashcards","last_synced_at":"2025-10-08T12:12:47.892Z","repository":{"id":318507086,"uuid":"1071513773","full_name":"ebullient/obsidian-flashcards","owner":"ebullient","description":"Simple plugin to display a deck of cards with simple repetition","archived":false,"fork":false,"pushed_at":"2025-10-07T14:55:13.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-07T16:39:56.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ebullient.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-07T13:00:42.000Z","updated_at":"2025-10-07T14:55:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"616f76f2-1b9b-41b4-9b35-d8e39d29cdbf","html_url":"https://github.com/ebullient/obsidian-flashcards","commit_stats":null,"previous_names":["ebullient/obsidian-flashcards"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ebullient/obsidian-flashcards","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebullient%2Fobsidian-flashcards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebullient%2Fobsidian-flashcards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebullient%2Fobsidian-flashcards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebullient%2Fobsidian-flashcards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebullient","download_url":"https://codeload.github.com/ebullient/obsidian-flashcards/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebullient%2Fobsidian-flashcards/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278940626,"owners_count":26072558,"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-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2025-10-08T12:12:44.342Z","updated_at":"2025-10-08T12:12:47.883Z","avatar_url":"https://github.com/ebullient.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Flashcards\n\nA simple activity card plugin for Obsidian. Display random cards from your markdown files for meditations, prompts, exercises, or any repeatable activities.\n\n## Features\n\n- **Random or Least-Recent Selection** - View cards randomly or ensure you see all cards evenly\n- **Deck Organization** - Organize cards into different folders/paths\n- **View Tracking** - Optional tracking to prioritize cards you haven't seen recently\n- **Simple Markdown Format** - Use H2 headings to define cards\n- **Switch Decks on the Fly** - Change between different card collections within the modal\n\n## Installation\n\n### Manual Installation\n\n1. Download the latest release from the [Releases page](https://github.com/ebullient/obsidian-flashcards/releases)\n2. Extract the files into your vault's plugins folder: `\u003cvault\u003e/.obsidian/plugins/simple-flashcards/`\n3. Reload Obsidian\n4. Enable the plugin in Settings → Community Plugins\n\n### Development Installation\n\n1. Clone this repository into your vault's plugins folder:\n   ```bash\n   cd \u003cvault\u003e/.obsidian/plugins\n   git clone https://github.com/ebullient/obsidian-flashcards.git simple-flashcards\n   cd simple-flashcards\n   ```\n\n2. Install dependencies and build:\n   ```bash\n   npm install\n   npm run build\n   ```\n\n3. Reload Obsidian and enable the plugin\n\n## Card Format\n\nCards are created from markdown files using H2 headings (`##`). Each heading becomes one card.\n\n### Example\n\n```markdown\n---\ntags:\n- flashcards/activities\n---\n\n#flashcards/activities/morning\n## CARD 1: Morning Stretching Routine\n\nStart your day with gentle movement:\n\n1. Neck rolls - 5 each direction\n2. Shoulder shrugs - 10 reps\n3. Side stretches - hold 15 seconds each side\n4. Forward fold - hold 30 seconds\n\nTake your time and breathe deeply.\n\n---\n\n#flashcards/activities/creative\n## CARD 2: Creative Writing Prompt\n\n**Setting:** A library that only opens at midnight\n\n**Challenge:** Write for 10 minutes about what books are found there and who visits.\n\n---\n\n#flashcards/activities/mindfulness\n## CARD 3: Breathing Exercise\n\n**Box Breathing:**\n\n- Inhale for 4 counts\n- Hold for 4 counts\n- Exhale for 4 counts\n- Hold for 4 counts\n\nRepeat 4 times.\n\n---\n```\n\n### Format Rules\n\n- **H2 headings** (`##`) mark the start of each card\n- **Horizontal rules** (`---`) mark the end of card content (optional)\n- **Tag lines** starting with `#flashcards` are automatically stripped from display\n- Content after `---` is ignored (use for notes, metadata, etc.)\n\n## Configuration\n\nOpen Settings → Simple Flashcards to configure:\n\n### Card Paths\nList of folders or files to scan for cards (one per line, relative to vault root).\n\nExample:\n```\nActivities/Exercises\nDaily/Prompts\nResources/Meditations.md\n```\n\n### Default Deck Path\nThe default path used by \"Show Random Activity Card\" command. Leave empty to select from all configured paths.\n\n### Track Views\nEnable tracking of when cards were last viewed. Required for \"Least Recently Viewed\" selection mode.\n\n### Selection Mode\n- **Random** - Pure random selection\n- **Least Recently Viewed** - Prioritizes cards you haven't seen recently\n\n## Commands\n\n### Show Random Activity Card\nOpens a modal displaying a card from your default deck (or all cards if no default is set).\n\n**Modal Controls:**\n- **Switch Deck** - Cycle through configured card paths\n- **Next Card** - View another card (records the current card as viewed)\n- **Done** - Close the modal\n\n### Refresh Activity Cards\nRescans all configured paths to pick up new or modified cards.\n\n## Usage Tips\n\n### Organizing Cards\n\n**Multiple files in folders:**\n```\nActivities/\n  ├── stretches.md\n  ├── writing-prompts.md\n  └── meditations.md\n```\n\n**Single file per deck:**\n```\nDaily/\n  └── morning-routine.md\n```\n\n**Mixed approach:**\nConfigure both folders and individual files in Card Paths.\n\n### View Tracking\n\nWith \"Track Views\" enabled and \"Least Recently Viewed\" selection mode, the plugin ensures you see all cards before repeating. Perfect for:\n- Daily meditation rotations\n- Exercise variety\n- Prompt cycling\n\n### Tags and Metadata\n\nWhile `#flashcards` tag lines are stripped for display, you can still:\n- Use frontmatter tags for vault organization\n- Add inline tags for sub-categorization\n- Include any markdown formatting (bold, lists, links, etc.)\n\n## Development\n\n### Building\n\n```bash\nnpm run build      # Production build\nnpm run dev        # Watch mode\nnpm run lint       # Check for issues\nnpm run fix        # Auto-fix linting issues\nnpm run format     # Format code\n```\n\n### Project Structure\n\n```\nsrc/\n  ├── @types/\n  │   └── settings.d.ts          # TypeScript interfaces\n  ├── flashcards-Plugin.ts       # Main plugin class\n  ├── flashcards-CardParser.ts   # Parse files into cards\n  ├── flashcards-Modal.ts        # Card display modal\n  ├── flashcards-SettingsTab.ts  # Settings UI\n  ├── flashcards-Constants.ts    # Default settings\n  └── main.ts                    # Entry point\n```\n\n## License\n\nMIT\n\n## Author\n\n[ebullient](https://github.com/ebullient)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febullient%2Fobsidian-flashcards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febullient%2Fobsidian-flashcards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febullient%2Fobsidian-flashcards/lists"}