Thank you for your interest in improving Cliq. This guide explains how to get set up, propose changes, and keep the project healthy. Contributions of any size are welcome—bug fixes, docs updates, tooling improvements, and new tutorials all help the community.
- macOS, Linux, or WSL2
- Bun ≥ 1.1 (preferred install command:
curl -fsSL https://bun.sh/install | bash) - TypeScript ≥ 5.9 (installed automatically as a peer dependency)
- Optional: Node.js ≥ 20 for website tooling
git clone https://github.com/kpritam/cliq.git
cd cliq
# Install dependencies for the CLI and website
bun install
cd website && npm install && cd ..Set up environment variables by copying the template and filling in your own API keys:
cp .env.example .env| Task | Command |
|---|---|
| Start interactive CLI chat | bun start |
| Run CLI in watch mode | bun run dev |
| Build CLI bundle | bun run build |
| Type check CLI | bun run typecheck |
| Lint & format CLI | bun run lint / bun run format |
| Run both lint and typecheck | bun run check |
| Start docs site locally | cd website && npm run start |
| Build docs site | cd website && npm run build |
- Make sure
bun run checksucceeds. - For documentation edits, run
npm run buildinwebsite/to catch MDX issues. - When changing tooling or configuration, note any manual steps in the PR description.
- Fork first: Work from a feature branch based on
main. - Small, focused PRs: Stick to one topic per pull request.
- Update docs: Reflect behavior changes in README or tutorials.
- Link issues: Reference related issues using GitHub keywords where applicable.
- Checklist before requesting review:
- Tests and checks pass locally.
- No debug logs or commented-out code.
- New files include appropriate headers or licensing context if needed.
- PR title is descriptive (imperative mood preferred).
- Review process: Expect at least one maintainer review. Please respond to feedback within seven days or leave a note if you need more time.
Use a descriptive prefix:
feat/your-feature-namefix/issue-numberdocs/update-topic
Follow Conventional Commits when possible:
feat(cli): add session list commandfix(docs): clarify Bun install stepschore: update dependencies
Maintainers handle releases. Contributors can help by ensuring CHANGELOG entries are added when introducing user-facing changes.
- Open a GitHub Discussion or issue for general questions.
- For security vulnerabilities, email
security@cliq.devinstead of filing a public issue.
We appreciate your expertise and look forward to collaborating!