{"id":29795654,"url":"https://github.com/gaussfff/anki-multitool","last_synced_at":"2026-05-18T00:07:02.655Z","repository":{"id":306155987,"uuid":"1010808652","full_name":"gaussfff/anki-multitool","owner":"gaussfff","description":"Just useful tool for Anki users","archived":false,"fork":false,"pushed_at":"2025-07-23T23:23:38.000Z","size":2399,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-24T01:27:17.605Z","etag":null,"topics":["anki","anki-cli","anki-multitool","anki-utils","cli","multitool","utils"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/gaussfff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","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}},"created_at":"2025-06-29T20:58:06.000Z","updated_at":"2025-07-23T23:23:42.000Z","dependencies_parsed_at":"2025-07-24T01:37:57.960Z","dependency_job_id":null,"html_url":"https://github.com/gaussfff/anki-multitool","commit_stats":null,"previous_names":["gaussfff/anki-multitool"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gaussfff/anki-multitool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaussfff%2Fanki-multitool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaussfff%2Fanki-multitool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaussfff%2Fanki-multitool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaussfff%2Fanki-multitool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gaussfff","download_url":"https://codeload.github.com/gaussfff/anki-multitool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaussfff%2Fanki-multitool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267464525,"owners_count":24091505,"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":["anki","anki-cli","anki-multitool","anki-utils","cli","multitool","utils"],"created_at":"2025-07-28T05:00:44.144Z","updated_at":"2026-05-18T00:06:52.641Z","avatar_url":"https://github.com/gaussfff.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![anki-multitool-logo](https://github.com/gaussfff/anki-multitool/blob/master/resources/pics/anki-multitool-log.png)\n\n# anki-multitool (anki-mtool)\nAnki-Multitool (Anki-MTool) - just useful multitool for Anki users. What it can do:\n- Export decks to JSON and Markdown files 🃏 -\u003e 📄\n- Import decks from JSON and Markdown files 📄 -\u003e 🃏\n- List all decks in your Anki collection 📋\n- Create a new deck ➕🃏\n- To be continued... ⏩\n\n## Requirements\n- [Rust 1.88.0+ (*only if you are installing from source*)](https://www.rust-lang.org/tools/install)\n- [Anki 25.02.7+](https://apps.ankiweb.net/)\n- [AnkiConnect plugin with API version 6+](https://ankiweb.net/shared/info/2055492159)\n- [OpenSSL 3.5.0+ (*only for Linux users*)](https://openssl.org/)\n\n## Installation\nYou can install manually by cloning the repository and running the following command:\n```bash\nsudo chmod +x install.sh\n./install.sh\n```\nOr install through [Homebrew](https://brew.sh/) (MacOS only):\n```bash\nbrew tap gaussfff/anki-multitool\nbrew install anki-multitool\n```\n\nDetails about homebrew formula you can find [here](https://github.com/gaussfff/homebrew-anki-multitool).\n\n## Shell Completions\nFish shell completions are available to provide command suggestions and autocompletion.\n\n### Fish Shell Setup\nScript will automatically install completions for the Fish shell. After installation, restart your fish shell or run `fish` to activate completions. \nYou'll now get suggestions when typing `anki-mtool` commands.\n\n## Usage\n`anki-mtool \u003ccommand\u003e [options]`\n\n### Available commands\n- `anki-mtool help [command]` - show help for a command or list all commands\n- `anki-mtool info` - 📝 show description about anki-multitool\n- `anki-mtool version` - 🏷️ show the version of anki-multitool\n- `anki-mtool decklist` - 📋 list all decks in your Anki collection\n- `anki-mtool newdeck \u003cdeck-name\u003e` - ➕🃏 create a new deck in Anki, if deck exists, it will return error\n- `anki-mtool json2deck \u003cpath-to-json-file\u003e` - 📄 -\u003e 🃏 import a deck from a JSON file into Anki, if deck exists, it will return error\n- `anki-mtool deck2json \u003cdeck-name\u003e` - 🃏 -\u003e 📄 export a deck from Anki to a JSON file, if file exists, it will return error\n- `anki-mtool md2deck \u003cpath-to-md-file\u003e` - 📄 -\u003e 🃏 import a deck from a Markdown file into Anki, if deck exists, it will return error\n- `anki-mtool deck2md \u003cdeck-name\u003e` - 🃏 -\u003e 📄 export a deck from Anki to a Markdown file, if file exists, it will return error\n\n## Custom host and port\nYou can define custom host and port for the server by setting the environment variables `ANKI_MULTITOOL_HOST` and `ANKI_MULTITOOL_PORT`. For example, you can run the following command in your terminal:\n```bash\nexport ANKI_MULTITOOL_HOST=\"\u003ccusotm-host\u003e\"\nexport ANKI_MULTITOOL_PORT=\"\u003ccustom-port\u003e\"\n```\n\nBy default, tool will listening on `localhost:8765`.\n\n## Formats\nAnki-multitool supports two formats for importing and exporting decks: JSON and Markdown. Full examples you can find in [`examples`](https://github.com/gaussfff/anki-multitool/tree/master/resources/examples) directory.\n\n### JSON format\nName of file is deck name, so if you want to export deck named \"My Deck\" to JSON file, it will be saved as `my_deck.json`. \nVice versa, if you want to import deck from JSON file, the name of the deck will be taken from the file name (without extension).\nIf deck doesn't exist in Anki, it will be created automatically.\n\nHere is example of JSON format used for importing and exporting decks:\n```json\n[\n    {\n      \"front\": \"What is the capital of Ukraine?\",\n      \"back\": \"Kyiv\"\n    },\n    {\n      \"front\": \"What is the capital of Germany?\",\n      \"back\": \"Berlin\"\n    }\n]\n```\n\n### Markdown format\nName of file is deck name, so if you want to export deck named \"My Deck\" to Markdown file, it will be saved as `my_deck.md`.\nVice versa, if you want to import deck from Markdown file, the name of the deck will be taken from the file name (without extension).\nIf deck doesn't exist in Anki, it will be created automatically.\n\nHere is an example of Markdown formats used for importing and exporting decks:\n```markdown\n1. What is the capital of Ukraine? - Kyiv\n2. What is the capital of Germany? - Berlin\n```\n\nand \n\n```markdown\n- What is the capital of Ukraine? - Kyiv\n- What is the capital of Germany? - Berlin\n```\n\n## License\nThis software is under the MIT license. See details in [license file](https://github.com/gaussfff/anki-multitool/blob/master/LICENSE-MIT).\n\n## Contribution\nSo-so, just create issue or PR, I will try to fix or approve it as soon as possible 😉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaussfff%2Fanki-multitool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaussfff%2Fanki-multitool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaussfff%2Fanki-multitool/lists"}