{"id":16833949,"url":"https://github.com/linus789/dictcc-cli","last_synced_at":"2025-07-19T10:04:35.097Z","repository":{"id":102149050,"uuid":"548095616","full_name":"Linus789/dictcc-cli","owner":"Linus789","description":"Offline dictionary via dict.cc database","archived":false,"fork":false,"pushed_at":"2022-10-08T23:15:45.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T02:23:29.265Z","etag":null,"topics":["cli","dictcc","dictionary","offline"],"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/Linus789.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}},"created_at":"2022-10-08T23:10:49.000Z","updated_at":"2024-06-13T11:12:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"144f51ed-9e81-4d34-bf25-dad2f0dfb8a6","html_url":"https://github.com/Linus789/dictcc-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Linus789/dictcc-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linus789%2Fdictcc-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linus789%2Fdictcc-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linus789%2Fdictcc-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linus789%2Fdictcc-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Linus789","download_url":"https://codeload.github.com/Linus789/dictcc-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linus789%2Fdictcc-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265915128,"owners_count":23848491,"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":["cli","dictcc","dictionary","offline"],"created_at":"2024-10-13T11:55:42.309Z","updated_at":"2025-07-19T10:04:35.050Z","avatar_url":"https://github.com/Linus789.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dictcc-cli\nOffline dictionary via dict.cc database\n\n## Features\n* Fuzzy search (kind of)\n* Tab completion\n\n## Import database\nGo to [https://www1.dict.cc/translation_file_request.php](https://www1.dict.cc/translation_file_request.php) download the file and unpack it, if necessary. Then import it.\n```\ndictcc-cli import filename.txt\n```\nAfter the import has finished, you may delete the file if you want to.\n\n## Translate\nInteractive\n```\ndictcc-cli --language-pair de-en --from en\n```\nNon-interactive\n```\ndictcc-cli --language-pair de-en --from en -- Hello\n```\n\n## Help menu\n```\nUsage: dictcc-cli [OPTIONS] --language-pair \u003cLANGUAGE_PAIR\u003e --from \u003cLANGUAGE\u003e [SEARCH]\n       dictcc-cli \u003cCOMMAND\u003e\n\nCommands:\n  import  Import a dict.cc file\n  delete  Delete an imported dict.cc database\n  help    Print this message or the help of the given subcommand(s)\n\nArguments:\n  [SEARCH]  Search without interactive mode\n\nOptions:\n  -l, --language-pair \u003cLANGUAGE_PAIR\u003e\n          Languages to translate between\n  -f, --from \u003cLANGUAGE\u003e\n          The source language to translate from\n  -d, --distance \u003cDISTANCE\u003e\n          Fuzzy distance to find entries [default: 0]\n  -r, --limit-results \u003cLIMIT\u003e\n          Limit the amount of results\n  -s, --min-similarity \u003cLIMIT\u003e\n          Only show results with a specific minimum of similarity [possible values: 0 to 1000]\n  -c, --completion-type \u003cTYPE\u003e\n          Tab completion style [default: list] [possible values: circular, list]\n      --ascii\n          Use ASCII tables\n  -h, --help\n          Print help information\n  -V, --version\n          Print version information\n```\n\n## Example\n```\n$ dictcc-cli -l de-en -f en\n\u003e figment\n┌──────────────────────────────┬───────────────────────────────────────────────┐\n│ EN                           ┆ DE                                            │\n╞══════════════════════════════╪═══════════════════════════════════════════════╡\n│ figment                      ┆ Erfindung {f}                                 │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ figment                      ┆ Produkt {n} der Einbildung                    │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ figment                      ┆ Gebilde {n} [Phantasie]                       │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ figment                      ┆ Fabelei {f} [oft pej.] [erfundene Geschichte] │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ figment                      ┆ Hirngespinst {n}                              │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ figment of the imagination   ┆ Phantasiegebilde {n}                          │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ figment of the imagination   ┆ Fantasievorstellung {f}                       │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ figment of the imagination   ┆ pure Einbildung {f}                           │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ figment of the imagination   ┆ Ausgeburt {f} der Phantasie / Fantasie        │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ figment of the imagination   ┆ Fantasiegebilde {n}                           │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ a figment of his imagination ┆ ein Produkt {n} seiner Phantasie              │\n└──────────────────────────────┴───────────────────────────────────────────────┘\n\u003e \n```\n\n## Build from source\n* Install `rustup` to get the `rust` compiler installed on your system. [Install rustup](https://www.rust-lang.org/en-US/install.html)\n* Rust version 1.63.0 or later is required\n* Build in release mode: `cargo build --release`\n* The resulting executable can be found at `target/release/dictcc-cli`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinus789%2Fdictcc-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinus789%2Fdictcc-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinus789%2Fdictcc-cli/lists"}