{"id":48406577,"url":"https://github.com/omnidotdev/template-rust-cli","last_synced_at":"2026-04-06T03:37:23.028Z","repository":{"id":334592080,"uuid":"1098574523","full_name":"omnidotdev/template-rust-cli","owner":"omnidotdev","description":"🦀 Rust CLI template","archived":false,"fork":false,"pushed_at":"2026-03-31T08:42:51.000Z","size":38,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-06T03:37:16.632Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/omnidotdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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},"funding":{"github":["omnidotdev"],"custom":["https://omni.dev"]}},"created_at":"2025-11-17T21:45:50.000Z","updated_at":"2026-03-20T03:46:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/omnidotdev/template-rust-cli","commit_stats":null,"previous_names":["omnidotdev/template-rust-cli"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/omnidotdev/template-rust-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnidotdev%2Ftemplate-rust-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnidotdev%2Ftemplate-rust-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnidotdev%2Ftemplate-rust-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnidotdev%2Ftemplate-rust-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omnidotdev","download_url":"https://codeload.github.com/omnidotdev/template-rust-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnidotdev%2Ftemplate-rust-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31458838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":[],"created_at":"2026-04-06T03:37:22.407Z","updated_at":"2026-04-06T03:37:23.022Z","avatar_url":"https://github.com/omnidotdev.png","language":"Shell","funding_links":["https://github.com/sponsors/omnidotdev","https://omni.dev"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/assets/logo.png\" width=\"100\" /\u003e\n\n  \u003ch1 align=\"center\"\u003e{{project-name}}\u003c/h1\u003e\n\n[Website](https://{{binary-name}}.omni.dev) | [Docs](https://docs.omni.dev/armory/{{project-name}}) | [Feedback](https://backfeed.omni.dev/workspaces/omni/projects/{{project-name}}) | [Discord](https://discord.gg/omnidotdev) | [X](https://x.com/omnidotdev)\n\n\u003c/div\u003e\n\n**{{project-name}}** is a command-line application built with Rust.\n\n## Installation\n\n| Platform | Channel | Command / Link |\n| --- | --- | --- |\n| All | [GitHub Releases](https://github.com/omnidotdev/{{project-name}}/releases) | Download from releases page |\n| All | [crates.io](https://crates.io/crates/{{project-name}}) | `cargo install {{project-name}}` |\n| macOS / Linux | [Homebrew](https://github.com/omnidotdev/homebrew-tap/blob/master/Formula/{{binary-name}}.rb) | `brew install omnidotdev/tap/{{binary-name}}` |\n| Arch Linux | [AUR](https://aur.archlinux.org/packages/omnidotdev-{{project-name}}) / [AUR (bin)](https://aur.archlinux.org/packages/omnidotdev-{{project-name}}-bin) | `paru -S omnidotdev-{{project-name}}` or `paru -S omnidotdev-{{project-name}}-bin` |\n\n### Build from source\n\n```bash\ngit clone https://github.com/omnidotdev/{{project-name}}\ncd {{project-name}}\ncargo build --release\n# Binary will be at target/release/{{binary-name}}\n```\n\n## Quick Start\n\n```sh\n{{binary-name}} --help\n```\n\n## Development\n\n### Prerequisites\n\n- [Rust](https://rustup.rs) 1.85+\n- [Bun](https://bun.sh) 1.0+\n\n### Commands\n\n```sh\ncargo build          # Build\ncargo run -- --help  # Run\ncargo test           # Test\ncargo clippy         # Lint\n```\n\n### Version Syncing\n\nThis project uses a dual-package setup (Rust crate + npm package) with automated version synchronization:\n\n- **Source of truth**: `package.json` holds the canonical version, and is used for Changesets\n- **Sync script**: `scripts/syncVersion.ts` propagates the version to `Cargo.toml`\n- **Changesets**: Manages version bumps and changelog generation\n\nThe sync script runs automatically during the release process via the `version` npm script:\n\n```sh\nbun run version  # syncs `package.json` version → `Cargo.toml`\n```\n\n### CI/CD\n\n| Workflow | Trigger | Purpose |\n|----------|---------|---------|\n| `test.yml` | Push/PR to `master` | Runs fmt, clippy, and tests |\n| `sync.yml` | PR to `master` | Validates version sync, fmt, clippy, test, build |\n| `release.yml` | Push to `master` | Creates releases via Changesets, builds multi-platform binaries |\n\n### Release Process\n\n1. Create a changeset: `bun changeset`\n2. Push to `master`\n3. Changesets action creates a \"Version Packages\" PR\n4. Merge the PR to trigger a release with binaries for:\n   - `x86_64-unknown-linux-gnu`\n   - `aarch64-unknown-linux-gnu`\n   - `x86_64-apple-darwin`\n   - `aarch64-apple-darwin`\n5. **Manually** publish to crates.io: `cargo publish`\n\n## Ecosystem\n\n- **[Omni CLI](https://github.com/omnidotdev/cli)**: Agentic CLI for the Omni ecosystem\n- **[Omni Terminal](https://github.com/omnidotdev/terminal)**: GPU-accelerated terminal emulator built to run everywhere\n\n## License\n\nThe code in this repository is licensed under Apache 2.0, \u0026copy; [Omni LLC](https://omni.dev). See [LICENSE.md](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnidotdev%2Ftemplate-rust-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomnidotdev%2Ftemplate-rust-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnidotdev%2Ftemplate-rust-cli/lists"}