{"id":18099962,"url":"https://github.com/rossmacarthur/crates.alfredworkflow","last_synced_at":"2025-07-07T18:38:04.512Z","repository":{"id":60785045,"uuid":"364047947","full_name":"rossmacarthur/crates.alfredworkflow","owner":"rossmacarthur","description":"📦 Alfred workflow to search Rust crates","archived":false,"fork":false,"pushed_at":"2025-02-23T10:58:35.000Z","size":174,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"trunk","last_synced_at":"2025-04-13T16:09:07.026Z","etag":null,"topics":["alfred","alfred-workflow","crates-io","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rossmacarthur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2021-05-03T20:07:44.000Z","updated_at":"2025-02-23T10:58:28.000Z","dependencies_parsed_at":"2024-12-10T13:41:15.539Z","dependency_job_id":"4f0aac32-86cd-414e-a0c4-7267a6e63bd9","html_url":"https://github.com/rossmacarthur/crates.alfredworkflow","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fcrates.alfredworkflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fcrates.alfredworkflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fcrates.alfredworkflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fcrates.alfredworkflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rossmacarthur","download_url":"https://codeload.github.com/rossmacarthur/crates.alfredworkflow/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741204,"owners_count":21154255,"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":["alfred","alfred-workflow","crates-io","rust"],"created_at":"2024-10-31T21:11:57.679Z","updated_at":"2025-04-13T16:09:16.670Z","avatar_url":"https://github.com/rossmacarthur.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crates.alfredworkflow\n\n[![Build Status](https://badgers.space/github/checks/rossmacarthur/crates.alfredworkflow?label=build)](https://github.com/rossmacarthur/crates.alfredworkflow/actions/workflows/build.yaml?query=branch%3Atrunk)\n[![Latest Release](https://badgers.space/github/release/rossmacarthur/crates.alfredworkflow)](https://github.com/rossmacarthur/crates.alfredworkflow/releases/latest)\n\n📦 Alfred workflow to search Rust crates.\n\n\u003cimg style=\"padding: 1rem 0\" width=\"605\" alt=\"Screenshot\" src=\"https://user-images.githubusercontent.com/17109887/228117520-65aa485d-7252-4766-8fed-724d3a33f93b.gif\"\u003e\n\n## Features\n\n- Search for crates by name.\n- Open the crate in the default browser. You can use modifiers to change the\n  URL that is navigated to.\n  - **⏎**: opens the crate in https://crates.io.\n  - **⌥ ⏎**: opens the crate in https://lib.rs.\n  - **⇧ ⏎**: opens the crate in https://docs.rs.\n- Manages a local [Crates.io index][crates.io-index].\n- Shortcuts for `std`, `core`, and `alloc` crates.\n- Blazingly fast 🤸.\n\n## 📦 Installation\n\n### Pre-packaged\n\nGrab the latest release from\n[the releases page](https://github.com/rossmacarthur/crates.alfredworkflow/releases).\n\nBecause the release contains an executable binary later versions of macOS will\nmark it as untrusted and Alfred won't be able to execute it. You can run the\nfollowing to explicitly trust the release before installing to Alfred.\n```sh\nxattr -c ~/Downloads/crates-*-x86_64-apple-darwin.alfredworkflow\n```\n\n### Building from source\n\nThis workflow is written in Rust, so to install it from source you will first\nneed to install Rust and Cargo using [rustup](https://rustup.rs/). Then install\n[powerpack](https://github.com/rossmacarthur/powerpack). Then you can run the\nfollowing to build an `.alfredworkflow` file.\n\n```sh\ngit clone https://github.com/rossmacarthur/crates.alfredworkflow.git\ncd crates.alfredworkflow\npowerpack package\n```\n\nThe release will be available at `target/workflow/crates.alfredworkflow`.\n\n## Configuration\n\nThe workflow will automatically maintain a local index\n[crates.io](crates.io-index) index. The index will be stored in the workflow\ncache directory. The update frequency can be configured be setting the index\nupdate interval.\n\n## Debugging\n\nIf you are experiencing issues you can debug the workflow in the following way:\n\n1. Inspect the output of the workflow by enabling debug mode in Alfred for the\n   workflow.\n\n2. The index is maintained asynchronously and will output any updates and errors\n   to a log file in the Alfred cache directly under the bundle name\n   `io.macarthur.ross.crates`. The default Alfred cache directory is\n  `~/Library/Caches/com.runningwithcrayons.Alfred/Workflow\\ Data/io.macarthur.ross.crates`.\n  Expected logs will look like the following.\n  ```\n  [2022-01-31T11:10:24] [INFO] updated index ./crates.io-index: HEAD is now at 603fff76b2 Updating crate `midpoint#0.1.2`\n  [2022-02-04T15:06:07] [INFO] updated index ./crates.io-index: HEAD is now at 93d0942359 Updating crate `os_info_cli#2.0.0`\n  [2022-02-06T14:41:29] [INFO] updated index ./crates.io-index: HEAD is now at 5864e33978 Updating crate `agsol-gold-bot#0.0.0-alpha.2`\n  ```\n\n3. Open an [issue](https://github.com/rossmacarthur/crates.alfredworkflow/issues/new)\n   on this repo.\n\n[crates.io-index]: https://github.com/rust-lang/crates.io-index\n\n## License\n\nThis project is distributed under the terms of both the MIT license and the\nApache License (Version 2.0).\n\nSee [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossmacarthur%2Fcrates.alfredworkflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frossmacarthur%2Fcrates.alfredworkflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossmacarthur%2Fcrates.alfredworkflow/lists"}