{"id":50734242,"url":"https://github.com/forkwright/koinon","last_synced_at":"2026-06-10T12:01:53.575Z","repository":{"id":360548988,"uuid":"1250666657","full_name":"forkwright/koinon","owner":"forkwright","description":"Fleet-common Rust scaffolding: tracing init, typed errors, config loading, clap prelude","archived":false,"fork":false,"pushed_at":"2026-05-26T21:30:15.000Z","size":100264,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T23:16:47.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/forkwright.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2026-05-26T21:21:27.000Z","updated_at":"2026-05-26T21:30:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/forkwright/koinon","commit_stats":null,"previous_names":["forkwright/koinon"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/forkwright/koinon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkwright%2Fkoinon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkwright%2Fkoinon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkwright%2Fkoinon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkwright%2Fkoinon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forkwright","download_url":"https://codeload.github.com/forkwright/koinon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkwright%2Fkoinon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34151276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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-06-10T12:01:50.471Z","updated_at":"2026-06-10T12:01:53.570Z","avatar_url":"https://github.com/forkwright.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koinon\n\nκοινόν — fleet-common Rust scaffolding for forkwright crates.\n\nEliminates the boilerplate that every forkwright binary and library repeats:\ntracing subscriber setup, typed error bases, `figment`-backed config loading,\nand a `clap` prelude for global flags.\n\n## Modules\n\n| Module | Purpose |\n|--------|---------|\n| `telemetry` | `tracing` subscriber init with `RUST_LOG` / `EnvFilter` fallback |\n| `error` | `AppError`, `ConfigError`, and `snafu` re-exports |\n| `config` | `figment` loader: TOML file → env-var override → typed struct |\n| `cli` | `GlobalArgs` (`--verbose`, `--log-json`) for `clap` CLI binaries |\n\n## Quick start\n\n```toml\n[dependencies]\nkoinon = { git = \"https://github.com/forkwright/koinon\", tag = \"v0.1.0\" }\n```\n\n```rust\nuse clap::Parser;\nuse koinon::cli::GlobalArgs;\n\n#[derive(Parser)]\nstruct Cli {\n    #[command(flatten)]\n    global: GlobalArgs,\n}\n\nfn main() {\n    let cli = Cli::parse();\n    cli.global.init_tracing(\"my_crate=info\");\n    tracing::info!(\"started\");\n}\n```\n\n## Adoption guide\n\nSee [`ADOPTION.md`](ADOPTION.md) for the step-by-step migration from\nhand-rolled tracing init and config loading to `koinon`.\n\n## License\n\nApache-2.0 — see [`LICENSE`](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforkwright%2Fkoinon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforkwright%2Fkoinon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforkwright%2Fkoinon/lists"}