{"id":27966084,"url":"https://github.com/tareqimbasher/cargo-seek","last_synced_at":"2025-05-07T20:16:30.856Z","repository":{"id":289480718,"uuid":"861465632","full_name":"tareqimbasher/cargo-seek","owner":"tareqimbasher","description":"A terminal user interface for searching, adding and installing cargo crates.","archived":false,"fork":false,"pushed_at":"2025-04-30T23:56:08.000Z","size":13788,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T20:16:25.692Z","etag":null,"topics":["cargo","cargo-subcommand","crates","crates-io","package-manager","tui"],"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/tareqimbasher.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":"2024-09-23T00:26:25.000Z","updated_at":"2025-05-06T02:39:06.000Z","dependencies_parsed_at":"2025-04-23T14:37:53.102Z","dependency_job_id":null,"html_url":"https://github.com/tareqimbasher/cargo-seek","commit_stats":null,"previous_names":["tareqimbasher/cargo-seek"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tareqimbasher%2Fcargo-seek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tareqimbasher%2Fcargo-seek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tareqimbasher%2Fcargo-seek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tareqimbasher%2Fcargo-seek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tareqimbasher","download_url":"https://codeload.github.com/tareqimbasher/cargo-seek/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252949257,"owners_count":21830154,"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":["cargo","cargo-subcommand","crates","crates-io","package-manager","tui"],"created_at":"2025-05-07T20:16:30.259Z","updated_at":"2025-05-07T20:16:30.828Z","avatar_url":"https://github.com/tareqimbasher.png","language":"Rust","funding_links":[],"categories":["Rust","\u003ca name=\"programming\"\u003e\u003c/a\u003eProgramming","Table of Contents"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/cargo-seek-128.png?raw=true\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003ecargo-seek\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n \u003cstrong\u003e\n   A terminal user interface (TUI) for searching, adding and installing cargo crates.\n \u003c/strong\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003c!--\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://crates.io/crates/cargo-seek\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/cargo-seek.svg?style=flat-square\"\n    alt=\"Crates.io version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/cargo-seek\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/d/cargo-seek.svg?style=flat-square\"\n      alt=\"Download\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr/\u003e--\u003e\n\n\n[preview]: docs/preview.gif?raw=true \"preview\"\n![preview][preview]\n\n# Features 🚀\n\n- Search\n    - Sort by: Relevance, Name, Downloads, Recent Downloads, Recently Updated, Newly Added.\n    - Search in: Online, Project, Installed or All\n    - Visually label project dependencies \u0026 installed binaries\n    - Paging\n- Add, remove crates to projects\n- Install, uninstall a cargo binary\n- Open docs\n- Open repository\n- Open crate on [crates.io](https://crates.io)\n- Open crate on [lib.rs](https://lib.rs)\n\n# Roadmap 🚧\n\n- Flag outdated with ability to update\n- Settings to configure behavior and appearance\n- Show more crate details: dependencies, version history...etc\n- Open repository README in terminal using `glow` or `mdcat`\n\n# Install\n\n    cargo install --locked cargo-seek\n\n# Usage\n\n    cargo-seek\n\nor as a cargo sub-command:\n\n    cargo seek\n\n\n**Options**\n\n```\ncargo-seek.exe [OPTIONS] [PROJECT_DIR]\n\nArguments:\n  [PROJECT_DIR]  Path to a directory containing (or one of its parents) a Cargo.toml file\n                 Default: \u003ccurrent directory\u003e\nOptions:\n  -s, --search \u003cTERM\u003e  Start a search on start\n  -h, --help           Print help\n  -V, --version        Print version\n  \nUI Options:\n  -f, --fps \u003cFLOAT\u003e    Frame rate, i.e. number of frames per second [default: 30]\n  -t, --tps \u003cFLOAT\u003e    Tick rate, i.e. number of ticks per second [default: 4]\n      --counter        Show TPS/FPS counter\n```\n\n**Cargo Projects**\n\nIf a cargo project (`Cargo.toml`) is found in the current directory or one of its parents, you can use `cargo-seek` to\nadd and remove crates to your cargo project. You can also direct `crate-seek` to target a specific cargo project\ndirectory:\n\n    # dir, or one of its parents, should contain a cargo.toml file\n    cargo seek /path/to/dir\n\n# Key Bindings\n\n## Search\n\n| Key        | Action       |\n|------------|--------------|\n| `Enter`    | Run search   |\n| `Ctrl + a` | Search scope |\n| `Ctrl + s` | Sort         |\n\n## Navigation\n\n| Key                 | Action                                                 |\n|---------------------|--------------------------------------------------------|\n| `Tab`               | Switch between boxes in the UI                         |\n| `ESC`               | Go back to search; if already there will clear results |\n| `Ctrl + Left/Right` | Change column width                                    |\n| `Ctrl + h`          | Toggle usage/help screen                               |\n| `Ctrl + c`          | Quit                                                   |\n\n## Results\n\n| Key               | Action                            |\n|-------------------|-----------------------------------|\n| `a`               | Add crate to current project      |\n| `r`               | Remove crate from current project |\n| `i`               | Install binary                    |\n| `u`               | Uninstall binary                  |\n| `Ctrl + d`        | Open docs                         |\n| `Left, Right`     | Go previous/next page             |\n| `Home, End`       | Go to first/last crate in page    |\n| `Ctrl + Home/End` | Go to first/last page             |\n\n# Credits\n\n- The UX was inspired by [`pacseek`](https://github.com/moson-mo/pacseek)\n- [ratatui](https://ratatui.rs/)\n- [crates-io-api](https://crates.io/crates/crates_io_api)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftareqimbasher%2Fcargo-seek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftareqimbasher%2Fcargo-seek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftareqimbasher%2Fcargo-seek/lists"}