{"id":45522753,"url":"https://github.com/0bmario/askman","last_synced_at":"2026-03-01T02:15:56.039Z","repository":{"id":291478758,"uuid":"977717096","full_name":"0bmario/askman","owner":"0bmario","description":"CLI tool for quickly finding terminal commands.","archived":false,"fork":false,"pushed_at":"2026-02-24T22:39:11.000Z","size":67927,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-02-25T03:45:16.198Z","etag":null,"topics":["cli","manpages","rust","semantic-search","tldr"],"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/0bmario.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-05-04T20:19:53.000Z","updated_at":"2026-02-24T22:35:42.000Z","dependencies_parsed_at":"2025-05-04T22:35:17.430Z","dependency_job_id":"3bce7185-bb4d-40c7-bd75-6ff379991670","html_url":"https://github.com/0bmario/askman","commit_stats":null,"previous_names":["cito-lito/askman","0bmario/askman"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/0bmario/askman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bmario%2Faskman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bmario%2Faskman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bmario%2Faskman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bmario%2Faskman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0bmario","download_url":"https://codeload.github.com/0bmario/askman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bmario%2Faskman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29958654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T01:47:18.291Z","status":"online","status_checked_at":"2026-03-01T02:00:07.437Z","response_time":124,"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":["cli","manpages","rust","semantic-search","tldr"],"created_at":"2026-02-22T23:15:25.071Z","updated_at":"2026-03-01T02:15:56.025Z","avatar_url":"https://github.com/0bmario.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# askman\nA simple, offline CLI tool that finds terminal commands from natural language descriptions. Just describe what you want to do.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./askman-demo.gif\" alt=\"askman demo\" width=\"700\"\u003e\n\u003c/p\u003e\n\n## Installation\n\n### macOS / Linux (recommended)\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/0bmario/askman/main/install.sh | bash\n```\n\n### From source\n\nRequires [Rust](https://rust-lang.org/tools/install/):\n\n```bash\ncargo install --git https://github.com/0bmario/askman\n```\n\nOn first run, `askman` downloads a small embedding model and command database. Everything runs offline after that.\n\n## Usage\n\n```bash\naskman move files to docs\n```\n\nBy default, results are filtered to your host OS. If you need a command for a different system, override it with flags:\n```bash\naskman --linux restart systemd\naskman --osx flush dns\naskman --windows clear dns cache\n```\n\n## How it works\n\n- `askman` uses semantic search to match your query to real command examples from [tldr-pages](https://github.com/tldr-pages/tldr).\n- Input is embedded into a vector using a local [AllMiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) model, then matched against a pre-built SQLite database via [sqlite-vec](https://github.com/asg017/sqlite-vec) cosine distance.\n- Everything runs on your machine after the initial setup.\n\n## Uninstall\n\nFirst, remove cached data (models and database):\n```bash\naskman --clean\n```\n\nThen remove the binary itself:\n\n- **If installed via `install.sh`:**\n  ```bash\n  rm ~/.local/bin/askman\n  ```\n- **If installed via `cargo`:**\n  ```bash\n  cargo uninstall askman\n  ```\n\n## Acknowledgments\n\nKudos to the [tldr-pages](https://github.com/tldr-pages/tldr) project. The used command data is sourced from their collection of simplified examples :raised_hands:\n\n## Rebuilding the Database\n\nWant to refresh the database with the absolute latest commands?\n```bash\ncargo run --bin import_tldr --features=\"dev\"\n```\nThis automatically fetches the newest data from the tldr repository, extracts it, and generates a fresh database for your system.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0bmario%2Faskman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0bmario%2Faskman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0bmario%2Faskman/lists"}