{"id":15283825,"url":"https://github.com/repeat-space/anki-apkg-export-cli","last_synced_at":"2025-07-26T22:35:22.504Z","repository":{"id":57180275,"uuid":"55120185","full_name":"repeat-space/anki-apkg-export-cli","owner":"repeat-space","description":"CLI for generating Anki's decks","archived":false,"fork":false,"pushed_at":"2016-07-01T13:29:01.000Z","size":9,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T23:09:05.133Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/repeat-space.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}},"created_at":"2016-03-31T04:26:17.000Z","updated_at":"2021-08-20T11:50:34.000Z","dependencies_parsed_at":"2022-09-14T03:31:34.825Z","dependency_job_id":null,"html_url":"https://github.com/repeat-space/anki-apkg-export-cli","commit_stats":null,"previous_names":["ewnd9/anki-apkg-export-cli"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repeat-space%2Fanki-apkg-export-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repeat-space%2Fanki-apkg-export-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repeat-space%2Fanki-apkg-export-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repeat-space%2Fanki-apkg-export-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/repeat-space","download_url":"https://codeload.github.com/repeat-space/anki-apkg-export-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643004,"owners_count":21138355,"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-09-30T14:47:50.445Z","updated_at":"2025-04-12T23:09:10.167Z","avatar_url":"https://github.com/repeat-space.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# anki-apkg-export-cli\n\n[![Build Status](https://travis-ci.org/ewnd9/anki-apkg-export-cli.svg?branch=master)](https://travis-ci.org/ewnd9/anki-apkg-export-cli)\n\nCLI for generating Anki's decks\n\n## Install\n\n```\n$ npm install anki-apkg-export-cli -g\n```\n\n## Usage\n\n```sh\n$ anki-apkg-export\n\n  Usage\n    $ anki-apkg-export \"\u003cglob-filter\u003e\"\n\n  Options\n    --groups Split files by empty lines\n\n  Examples\n    $ anki-apkg-export **/*.txt\n    $ anki-apkg-export **/*.txt --groups\n```\n\n## One line example\n\n```sh\n$ cat dict.txt\n\nSource 1 - Translation 1\nSource 2 - Translation 2\n\n$ anki-apkg-export *.txt\n```\n\n### card 1\n\n```txt\nfront:\n\nSource 1\n\nback:\n\nTranslation 1\n```\n\n### card 2\n\n```txt\nfront:\n\nSource 2\n\nback:\n\nTranslation 2\n```\n\n## Groups example\n\n```sh\n$ cat dict.txt\n\nSource 1 - Translation 1\nExample 1-1 - Example Translation 1-1\nExample 1-2 - Example Translation 1-2\n\nSource 2 - Translation 2\nExample 2-1 - Example Translation 2-1\n\n$ anki-apkg-export *.txt --groups\n```\n\n### card 1:\n\n```txt\nfront:\n\nSource 1\n\nExample 1-1\nExample 1-2\n\nback:\n\nTranslation 1\n\nExample 1-1 - Example Translation 1-1\nExample 1-2 - Example Translation 1-2\n```\n\n### card 2\n\n```txt\nfront:\n\nSource 2\n\nExample 2-1\n\nback:\n\nTranslation 2\n\nExample 2-1 - Example Translation 2-1\n```\n\n\n## Related\n\n- [`anki-apkg-export`](https://github.com/ewnd9/anki-apkg-export) - api\n- [`anki-apkg-export-app`](http://ewnd9.com/anki-apkg-export-app/) - web app\n\n## License\n\nMIT © [ewnd9](http://ewnd9.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepeat-space%2Fanki-apkg-export-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frepeat-space%2Fanki-apkg-export-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepeat-space%2Fanki-apkg-export-cli/lists"}