First off, thank you for considering contributing to opencode-puter-auth! This project provides FREE, UNLIMITED access to AI models through Puter.com, and every contribution helps make it better for everyone.
This project follows the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.
If you find a bug, please open an issue with:
- A clear, descriptive title
- Steps to reproduce the issue
- Expected vs actual behavior
- Your environment (Node.js version, OS, OpenCode version)
Feature requests are welcome! Please open an issue describing:
- The problem you're trying to solve
- Your proposed solution
- Any alternatives you've considered
- Fork the repository and create your branch from
main - Install dependencies:
npm install - Make your changes
- Run tests:
npm test - Run type check:
npm run typecheck - Commit your changes with a clear message
- Push to your fork and open a Pull Request
# Clone your fork
git clone https://github.com/YOUR_USERNAME/opencode-puter-auth.git
cd opencode-puter-auth
# Install dependencies
npm install
# Run tests
npm test
# Run tests in watch mode
npm run test:watch
# Type check
npm run typecheck
# Build
npm run build- We use TypeScript with strict mode
- Format code with Prettier (if available) or follow existing style
- Keep functions small and focused
- Add tests for new features
- Document public APIs with JSDoc comments
We follow Conventional Commits:
feat:- New featuresfix:- Bug fixesdocs:- Documentation changestest:- Adding or updating testschore:- Maintenance tasksrefactor:- Code changes that neither fix bugs nor add features
Examples:
feat: add support for streaming responses
fix: handle timeout errors gracefully
docs: update installation instructions
Before your first pull request can be merged, you'll need to sign our Contributor License Agreement (CLA). This is a simple process:
- Open your pull request
- A bot will comment asking you to sign the CLA
- Reply with
I have read the CLA Document and I hereby sign the CLA
This ensures that all contributions can be properly licensed.
- Questions? Open a Discussion or Issue
- Chat? Tag the maintainer in your issue
Contributors will be recognized in:
- The README's Contributors section
- Release notes for significant contributions
Thank you for helping make AI more accessible to everyone!
Made with love by the opencode-puter-auth community