{"id":47701623,"url":"https://github.com/klauern/capacities-cli","last_synced_at":"2026-04-02T17:20:46.794Z","repository":{"id":325700164,"uuid":"1102098935","full_name":"klauern/capacities-cli","owner":"klauern","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-29T02:12:01.000Z","size":104,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-29T03:13:13.520Z","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/klauern.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-11-22T20:18:41.000Z","updated_at":"2026-03-29T02:11:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/klauern/capacities-cli","commit_stats":null,"previous_names":["klauern/capacities-cli"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/klauern/capacities-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauern%2Fcapacities-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauern%2Fcapacities-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauern%2Fcapacities-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauern%2Fcapacities-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klauern","download_url":"https://codeload.github.com/klauern/capacities-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauern%2Fcapacities-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31311291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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-04-02T17:20:46.130Z","updated_at":"2026-04-02T17:20:46.785Z","avatar_url":"https://github.com/klauern.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Capacities CLI\n\nA command-line interface for interacting with the [Capacities.io](https://capacities.io) API. This tool allows you to manage your Capacities workspace directly from your terminal.\n\n## Features\n\n- **Daily Notes**: Save content to your daily notes\n- **Search**: Search across your Capacities workspace\n- **Spaces**: List and view information about your spaces\n- **Web Links**: Save web links to your Capacities workspace\n- **MCP**: Run a local stdio MCP server\n- **Configuration**: Easy setup and configuration management\n\n## Installation\n\n### Prerequisites\n\n- Go 1.25.4 or later\n\n### Build from Source\n\n```bash\n# Clone the repository\ngit clone https://github.com/klauern/capacities-cli.git\ncd capacities-cli\n\n# Build using Task\ntask build\n\n# Or build directly with Go\ngo build -o bin/capacities ./cmd/capacities\n```\n\nThe binary will be available at `bin/capacities`.\n\n## Configuration\n\nBefore using the CLI, you need to configure it with your Capacities API token:\n\n1. Get your API token from [Capacities Settings](https://app.capacities.io/settings/security)\n2. Run the configuration command:\n\n```bash\n./bin/capacities configure\n```\n\nThis will create a configuration file at `~/.config/capacities/config.yaml` with the following structure:\n\n```yaml\ntoken: YOUR_API_TOKEN\ndefault_space_id: YOUR_SPACE_ID\n```\n\n## Usage\n\n### Daily Notes\n\nSave content to your daily note:\n\n```bash\ncapacities daily save \"Your note content here\"\n```\n\n### Search\n\nSearch your Capacities workspace:\n\n```bash\ncapacities search \"search query\"\n```\n\n### Spaces\n\nList all spaces:\n\n```bash\ncapacities spaces\n```\n\nGet information about a specific space:\n\n```bash\ncapacities space-info --space-id YOUR_SPACE_ID\n```\n\n### Web Links\n\nSave a web link:\n\n```bash\ncapacities save-weblink --url \"https://example.com\" --title \"Example Site\"\n```\n\n### MCP\n\nRun the MCP server over stdio:\n\n```bash\ncapacities mcp serve\n```\n\n## Development\n\nThis project uses [Task](https://taskfile.dev/) for common development tasks.\n\n### Available Tasks\n\n- `task build` - Build the binary\n- `task fmt` - Format code using gofumpt\n- `task deps` - Download dependencies and install development tools\n- `task spec-drift` - Compare the API client against the live OpenAPI spec\n- `task test` - Run tests\n\nThe Taskfile uses a repo-local Go build cache (`.cache/`) to avoid failures in environments that can't write to the default Go cache directory.\n\n### Project Structure\n\n```\ncapacities-cli/\n├── cmd/\n│   └── capacities/      # Main application entry point\n├── internal/\n│   ├── api/            # API client implementation\n│   ├── cli/            # CLI command implementations\n│   └── config/         # Configuration management\n├── Taskfile.yml        # Task definitions\n└── README.md          # This file\n```\n\n## Technology Stack\n\n- **Language**: Go (Golang)\n- **CLI Framework**: [urfave/cli/v3](https://github.com/urfave/cli/v3)\n- **Configuration**: YAML via `gopkg.in/yaml.v3`\n- **HTTP Client**: Standard `net/http`\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## Issue Management\n\nThis project uses [Beads](https://github.com/jonny-so/beads) for issue tracking. See [AGENTS.md](AGENTS.md) for details on the development workflow and issue management.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Resources\n\n- [Capacities.io](https://capacities.io)\n- [Capacities API Documentation](https://api.capacities.io/docs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklauern%2Fcapacities-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklauern%2Fcapacities-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklauern%2Fcapacities-cli/lists"}