{"id":37586959,"url":"https://github.com/lex00/wetwire-honeycomb-go","last_synced_at":"2026-01-21T06:47:23.951Z","repository":{"id":332033708,"uuid":"1132353690","full_name":"lex00/wetwire-honeycomb-go","owner":"lex00","description":"Honeycomb query synthesis for Go - type-safe declarations that compile to Query JSON","archived":false,"fork":false,"pushed_at":"2026-01-12T06:55:39.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-12T13:51:24.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/lex00.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-01-11T19:59:08.000Z","updated_at":"2026-01-12T06:55:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/lex00/wetwire-honeycomb-go","commit_stats":null,"previous_names":["lex00/wetwire-honeycomb-go"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/lex00/wetwire-honeycomb-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lex00%2Fwetwire-honeycomb-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lex00%2Fwetwire-honeycomb-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lex00%2Fwetwire-honeycomb-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lex00%2Fwetwire-honeycomb-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lex00","download_url":"https://codeload.github.com/lex00/wetwire-honeycomb-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lex00%2Fwetwire-honeycomb-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"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":[],"created_at":"2026-01-16T09:47:14.590Z","updated_at":"2026-01-21T06:47:23.945Z","avatar_url":"https://github.com/lex00.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wetwire-honeycomb-go\n\n[![CI](https://github.com/lex00/wetwire-honeycomb-go/actions/workflows/ci.yml/badge.svg)](https://github.com/lex00/wetwire-honeycomb-go/actions/workflows/ci.yml)\n[![Go Reference](https://pkg.go.dev/badge/github.com/lex00/wetwire-honeycomb-go.svg)](https://pkg.go.dev/github.com/lex00/wetwire-honeycomb-go)\n[![Go Report Card](https://goreportcard.com/badge/github.com/lex00/wetwire-honeycomb-go)](https://goreportcard.com/report/github.com/lex00/wetwire-honeycomb-go)\n[![Coverage](https://codecov.io/gh/lex00/wetwire-honeycomb-go/branch/main/graph/badge.svg)](https://codecov.io/gh/lex00/wetwire-honeycomb-go)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nHoneycomb query synthesis for Go - type-safe declarations that compile to Honeycomb Query JSON.\n\n## Overview\n\nwetwire-honeycomb is a **synthesis library** - it generates Honeycomb Query JSON from typed Go declarations. It does not execute queries or manage state.\n\n```\nGo Structs → wetwire-honeycomb build → Query JSON → Honeycomb API\n                                            ↓\n                                   (user's responsibility)\n```\n\n## Installation\n\n```bash\ngo install github.com/lex00/wetwire-honeycomb-go/cmd/wetwire-honeycomb@latest\n```\n\nOr add as a dependency:\n\n```bash\ngo get github.com/lex00/wetwire-honeycomb-go\n```\n\n## Quick example\n\n```go\npackage queries\n\nimport \"github.com/lex00/wetwire-honeycomb-go/query\"\n\nvar SlowRequests = query.Query{\n    Dataset:      \"production\",\n    TimeRange:    query.Hours(2),\n    Breakdowns:   query.Breakdown(\"endpoint\", \"service\"),\n    Calculations: []query.Calculation{\n        query.P99(\"duration_ms\"),\n        query.Count(),\n    },\n    Filters: []query.Filter{\n        query.GT(\"duration_ms\", 500),\n    },\n    Limit: 100,\n}\n```\n\nBuild to JSON:\n\n```bash\nwetwire-honeycomb build ./queries -o output.json\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `build` | Synthesize queries to Honeycomb Query JSON |\n| `lint` | Check for issues and validate queries |\n| `import` | Convert existing JSON to Go code |\n| `validate` | Validate query structure |\n| `list` | List all discovered queries |\n| `init` | Scaffold a new project |\n| `graph` | Visualize query dependencies |\n\n## AI-Assisted Design\n\nUse the `design` command for interactive, AI-assisted query creation:\n\n```bash\n# No API key required - uses Claude CLI\nwetwire-honeycomb design \"Create a query to find slow API requests\"\n```\n\nUses [Claude CLI](https://claude.ai/download) by default (no API key required). Falls back to Anthropic API if Claude CLI is not installed.\n\n## Documentation\n\n**Getting Started:**\n- [Quick Start](docs/QUICK_START.md) - 5-minute tutorial\n- [FAQ](docs/FAQ.md) - Common questions\n\n**Reference:**\n- [CLI Reference](docs/CLI.md) - All commands\n- [Lint Rules](docs/LINT_RULES.md) - WHC rule reference\n\n## Part of wetwire\n\nThis package follows the [wetwire specification](https://github.com/lex00/wetwire) for declarative infrastructure-as-code.\n\n## License\n\nMIT License - see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flex00%2Fwetwire-honeycomb-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flex00%2Fwetwire-honeycomb-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flex00%2Fwetwire-honeycomb-go/lists"}