mirror of
https://github.com/anotherhadi/iknowyou.git
synced 2026-04-12 00:47:26 +02:00
1.4 KiB
1.4 KiB
Contributing
Contributions are welcome: new tool integrations especially.
- Fork the repository
- Create a feature branch:
git checkout -b feat/my-tool - Implement your tool
- Open a pull request
Please ensure your tool handles context cancellation, respects rate limits, and declares the correct input types. Document any required API key or external binary dependency.
Development
Prerequisites
Or you can use the Nix Shell by typing nix develop
Run locally
git clone https://github.com/anotherhadi/iknowyou.git
cd iknowyou
just dev
Open http://localhost:4321.
The backend listens on :8080 by default. Configure via environment variables:
| Variable | Default | Description |
|---|---|---|
IKY_PORT |
8080 |
HTTP port |
IKY_CONFIG |
config.yaml |
Path to the YAML config file |
Adding a Tool
- Create
back/internal/tools/mytool/mytool.goimplementingtools.ToolRunner - Optionally implement
tools.Configurable+tools.ConfigDescriberfor config UI support - Optionally implement
tools.AvailabilityCheckerif the tool requires an external binary - Register in
back/cmd/server/main.goandback/cmd/gendocs/main.go - Run
just docsto update the docs