{"id":37183641,"url":"https://github.com/mikachou/pons-cli","last_synced_at":"2026-01-14T21:13:01.315Z","repository":{"id":306806145,"uuid":"1023222493","full_name":"mikachou/pons-cli","owner":"mikachou","description":"An unofficial simple CLI tool to look up translations via the Pons API. This project is not affiliated with Pons or its services.","archived":false,"fork":false,"pushed_at":"2025-08-27T09:02:59.000Z","size":165,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-27T18:12:10.130Z","etag":null,"topics":["cli","pons","translation","translator"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mikachou.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}},"created_at":"2025-07-20T19:28:52.000Z","updated_at":"2025-08-27T09:03:02.000Z","dependencies_parsed_at":"2025-08-27T11:08:28.584Z","dependency_job_id":"bb728d8a-e540-4dec-8cb2-0d8126804b0c","html_url":"https://github.com/mikachou/pons-cli","commit_stats":null,"previous_names":["mikachou/pons-cli"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mikachou/pons-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikachou%2Fpons-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikachou%2Fpons-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikachou%2Fpons-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikachou%2Fpons-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikachou","download_url":"https://codeload.github.com/mikachou/pons-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikachou%2Fpons-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","pons","translation","translator"],"created_at":"2026-01-14T21:12:59.854Z","updated_at":"2026-01-14T21:13:01.294Z","avatar_url":"https://github.com/mikachou.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pons CLI\n\n## Overview\n\nPons CLI is a command-line interface for the PONS dictionary API. It allows you to look up translations for words in various languages.\n\n![pons-cli](https://github.com/mikachou/pons-cli/blob/main/pons-cli.png?raw=true)\n\n## Requirements\n\n- Go 1.18 or higher (if installed from source code)\n- A PONS API key. You can get one by registering at [https://en.pons.com/open_dict/public_api](https://en.pons.com/open_dict/public_api).\n\n## Install\n\n### Archlinux based systems\n\nUsing the `yay` command:\n\n```\nyay -S pons-cli\n```\n\n### Snap package\n\nUsing `snap` command:\n\n```\nsudo snap install pons-cli\n```\n\n### Source code\n\nTo install, clone the repo and use `go install`:\n\n```bash\ngit clone https://github.com/mikachou/pons-cli\ngo install\n```\n\nEnsure that `$HOME/go/bin` is in your `$PATH` environment variable to launch the program.\n\n## Usage\n\nLaunch application from terminal using `pons-cli` command:\n\n```\npons-cli\n```\n\nFirst, you need to set your API key:\n\n```\n.set api_key \u003cyour_api_key\u003e\n```\n\nThen, you can list the available dictionaries:\n\n```\n.dict\n```\n\nSet the dictionary you want to use:\n\n```\n.dict \u003cdictionary_key\u003e\n```\n\nNow you can start translating:\n\n```\n\u003cword\u003e\n```\n\n### Commands\n\n- `.help`: Show the help message.\n- `.quit`: Exit the program.\n- `.dict`: List available dictionaries.\n- `.dict \u003ckey\u003e`: Set the current dictionary.\n- `.set`: Show current settings.\n- `.set \u003cvar\u003e \u003cvalue\u003e`: Set a configuration variable.\n- `.history`: Show your search history.\n- `.cards \u003cdict\u003e \u003corigin\u003e [\u003cdays\u003e]`: Enter flashcards mode to practice your vocabulary.\n\n## Configuration\n\nThe configuration file is located at `~/.config/pons-cli/config.toml`.\n\nThe following variables can be configured:\n\n- `api_key`: Your PONS API key.\n- `cache_ttl`: The time-to-live for the cache in seconds. Default is 604800 (7 days).\n- `cmd_history_limit`: The maximum number of commands to store in the history. Default is 100.\n- `search_history_limit`: The maximum number of search entries to store in the history. Default is 1000.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENCE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikachou%2Fpons-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikachou%2Fpons-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikachou%2Fpons-cli/lists"}