{"id":48007607,"url":"https://github.com/towry/vibe-rust-template","last_synced_at":"2026-04-04T13:25:32.100Z","repository":{"id":316369787,"uuid":"1063021721","full_name":"towry/vibe-rust-template","owner":"towry","description":"Vibe rust template","archived":false,"fork":false,"pushed_at":"2025-10-04T16:22:05.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T20:22:37.254Z","etag":null,"topics":["rust-template","template","vibe-coding"],"latest_commit_sha":null,"homepage":"","language":"Just","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/towry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":["towry"]}},"created_at":"2025-09-24T04:08:45.000Z","updated_at":"2025-10-04T16:22:08.000Z","dependencies_parsed_at":"2025-09-24T08:30:37.223Z","dependency_job_id":"01a25e2f-1717-4807-a35b-c9f4b6dd0482","html_url":"https://github.com/towry/vibe-rust-template","commit_stats":null,"previous_names":["towry/vibe-rust-template"],"tags_count":10,"template":true,"template_full_name":null,"purl":"pkg:github/towry/vibe-rust-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towry%2Fvibe-rust-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towry%2Fvibe-rust-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towry%2Fvibe-rust-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towry%2Fvibe-rust-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/towry","download_url":"https://codeload.github.com/towry/vibe-rust-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towry%2Fvibe-rust-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: 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":["rust-template","template","vibe-coding"],"created_at":"2026-04-04T13:25:31.480Z","updated_at":"2026-04-04T13:25:32.085Z","avatar_url":"https://github.com/towry.png","language":"Just","funding_links":["https://github.com/sponsors/towry"],"categories":[],"sub_categories":[],"readme":"# Vibe Rust Template\n\nA lightweight, single-binary Rust template optimized for rapid development with\nautomated CI/CD, with support for GitHub Copilot agent workflows.\n\n## Features\n\n- **Organized**: Organized Rust project structure with proper module separation\n- **Automated Releases**: Uses conventional commits and release-please for\n  semantic versioning\n- **Cross-Platform Builds**: Automatically builds Linux x86_64 and macOS ARM64\n  binaries\n- **Optimized for Speed**: LTO and panic=abort for smaller, faster binaries\n- **Minimal Dependencies**: Clean slate - add only what you need\n- **Modular Testing**: Tests organized alongside their modules following Rust\n  conventions\n- **GitHub Actions Ready**: Complete CI/CD pipeline with caching\n- **Copilot Agent Workflow**: Automate tasks using GitHub Copilot agent\n\n## Quick Start\n\n```bash\n# Clone and rename\ngit clone https://github.com/towry/vibe-rust-template.git my-project\ncd my-project\n\n# Run tests\ncargo test --all-features --verbose\n\n# Build optimized binary\ncargo build --release\n```\n\n## Project Organization\n\nThis template encourages proper Rust project structure following standard\nconventions:\n\n- **`src/main.rs`**: Entry point - keep it focused on initialization and CLI\n  setup\n- **`src/lib.rs`**: Create this for shared library code and modules\n- **`src/modules/`**: Organize your features into logical modules\n- **Module files**: Use `mod.rs` for module directories or single `.rs` files\n- **Tests**: Place unit tests in the same files as the code they test,\n  integration tests in `tests/` directory\n\n### Example Structure\n\n```\nsrc/\n├── main.rs          # Entry point\n├── lib.rs           # Library root (optional)\n├── config/\n│   ├── mod.rs       # Configuration module\n│   └── settings.rs  # Settings functionality\n├── handlers/\n│   ├── mod.rs       # Handlers module\n│   └── api.rs       # API handlers\n└── utils/\n    └── mod.rs       # Utility functions\n```\n\nStart simple with `main.rs`, then refactor into modules as your project grows.\n\n## Development\n\n- **Format**: `cargo fmt --all -- --check`\n- **Lint**:\n  `RUSTFLAGS=\"-D warnings\" cargo clippy --workspace --all-targets --all-features --verbose`\n- **Benchmark**: `cargo bench --verbose`\n\n## Releases\n\nThis project requires **conventional commits** (feat:, fix:, etc.) for automated\nreleases. Push to `main` triggers the release workflow.\n\n## Workflow Configuration\n\nThe build workflow requires:\n\n- **`bin_name`**: Must match your `Cargo.toml` package name (currently\n  `vibe-rust`)\n- Configure via:\n  - Repository Settings → Environments → Create environment → Add `BIN_NAME`\n    variable\n  - Or update `BIN_NAME` in `.github/workflows/build-artifacts.yml`\n\n## Copilot Agent Workflow\n\nThis template includes a GitHub Actions workflow for integrating with GitHub\nCopilot agent. The workflow allows you to automate tasks such as generating code\nsuggestions or managing pull requests.\n\n## PR Asset Build for Testing\n\nYou can comment `!asset` on a pull request to trigger an artifact build for that\nPR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftowry%2Fvibe-rust-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftowry%2Fvibe-rust-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftowry%2Fvibe-rust-template/lists"}