{"id":29551153,"url":"https://github.com/kioku/aperture","last_synced_at":"2026-02-15T03:06:49.942Z","repository":{"id":302174095,"uuid":"1010260302","full_name":"kioku/aperture","owner":"kioku","description":" Dynamic CLI generator for OpenAPI specifications designed for AI agents and automation","archived":false,"fork":false,"pushed_at":"2025-07-24T21:38:42.000Z","size":887,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-25T00:08:31.036Z","etag":null,"topics":["agent-automation","ai-agents","api-client","api-testing","api-tools","automation","cli-tool","command-line","devops-tools","openapi","openapi3","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/kioku.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-28T17:33:48.000Z","updated_at":"2025-07-24T19:51:37.000Z","dependencies_parsed_at":"2025-07-01T00:42:22.528Z","dependency_job_id":"2924bdbd-9ffa-4031-a553-81819efd72e2","html_url":"https://github.com/kioku/aperture","commit_stats":null,"previous_names":["kioku/aperture"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kioku/aperture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kioku%2Faperture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kioku%2Faperture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kioku%2Faperture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kioku%2Faperture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kioku","download_url":"https://codeload.github.com/kioku/aperture/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kioku%2Faperture/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267879830,"owners_count":24159571,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":["agent-automation","ai-agents","api-client","api-testing","api-tools","automation","cli-tool","command-line","devops-tools","openapi","openapi3","rust"],"created_at":"2025-07-18T04:01:47.482Z","updated_at":"2026-02-15T03:06:49.935Z","avatar_url":"https://github.com/kioku.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aperture\n\nA CLI that generates commands from OpenAPI specifications.\n\nAperture parses OpenAPI 3.x specs once, caches them, and exposes every operation as a CLI command with structured JSON output. Built for automation: AI agents, scripts, CI/CD pipelines.\n\n## Why Aperture?\n\n**Fast**: Sub-10ms startup time. Binary-cached specs eliminate parsing overhead.\n\n**Small**: 4.0MB static binary. No runtime dependencies.\n\n**Correct**: Structured JSON output. Machine-readable errors. Predictable exit codes.\n\n**Secure**: Credentials resolved from environment variables only—never stored in config.\n\n**Agent-First**: Self-describing capability manifests. Batch operations. Idempotency support.\n\n## Performance\n\n| Metric | Value |\n|--------|-------|\n| Binary size | 4.0 MB |\n| Startup time | \u003c 10 ms |\n| Memory (typical) | 3-5 MB |\n| Spec loading | O(1) from binary cache |\n\n## Quick Start\n\n```bash\n# Install\ncargo install aperture-cli\n\n# Register an API\naperture config add petstore https://petstore3.swagger.io/api/v3/openapi.json\n\n# Configure authentication\naperture config set-secret petstore api_key --env PETSTORE_API_KEY\n\n# Discover available operations\naperture api petstore --describe-json\n\n# Execute a command\naperture api petstore pet get-pet-by-id --petId 1\n```\n\n## Agent Integration\n\nAperture provides features specifically for programmatic use:\n\n```bash\n# Get capability manifest (for agent discovery)\naperture api my-api --describe-json\n\n# Structured errors (for programmatic handling)\naperture api my-api --json-errors users list\n\n# Preview without executing\naperture api my-api --dry-run users create --name \"Test\"\n\n# Batch operations with concurrency control\naperture api my-api --batch-file operations.json --batch-concurrency 10\n```\n\nSee [Agent Integration Guide](docs/agent-integration.md) for patterns and examples.\n\n## Installation\n\n### Homebrew (macOS/Linux)\n\n```bash\nbrew install kioku/tap/aperture\n```\n\n### cargo-binstall (Pre-built Binaries)\n\n```bash\ncargo binstall aperture-cli\n```\n\n### Nix\n\n```bash\n# Install directly\nnix profile install github:kioku/aperture\n\n# With JQ support\nnix profile install github:kioku/aperture#aperture-jq\n\n# With all features\nnix profile install github:kioku/aperture#aperture-full\n```\n\n### From crates.io\n\n```bash\ncargo install aperture-cli\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/kioku/aperture.git\ncd aperture\ncargo install --path .\n```\n\n### Optional Features\n\n```bash\n# Full JQ filtering support\ncargo install aperture-cli --features jq\n\n# OpenAPI 3.1 support\ncargo install aperture-cli --features openapi31\n\n# Both\ncargo install aperture-cli --features \"jq openapi31\"\n```\n\n## Documentation\n\n| Document | Description |\n|----------|-------------|\n| [User Guide](docs/guide.md) | Day-to-day usage, commands, output formats |\n| [Agent Integration](docs/agent-integration.md) | Capability manifests, batch ops, integration patterns |\n| [Security Model](docs/security.md) | Authentication, secrets management |\n| [Configuration](docs/configuration.md) | URLs, environments, cache management |\n| [Architecture](docs/architecture.md) | Technical design and internals |\n| [Contributing](CONTRIBUTING.md) | Development setup, testing, guidelines |\n\n## Project Status\n\n**Experimental**: Core functionality is implemented and tested. API and features may evolve based on usage and feedback.\n\n## License\n\nMIT License. See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkioku%2Faperture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkioku%2Faperture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkioku%2Faperture/lists"}