First off, thank you for considering contributing to CLIProxy Dashboard! 🎉
- Code of Conduct
- Getting Started
- How Can I Contribute?
- Development Setup
- Style Guidelines
- Commit Messages
This project adheres to a Code of Conduct. By participating, you are expected to uphold this code. Please be respectful and constructive in all interactions.
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/cliProxyAPI-Dashboard.git cd cliProxyAPI-Dashboard - Add upstream remote:
git remote add upstream https://github.com/0xAstroAlpha/cliProxyAPI-Dashboard.git
- Create a branch for your changes:
git checkout -b feature/your-feature-name
- Check if the bug has already been reported in Issues
- Use the bug report template
- Include as much detail as possible
- Use the feature request template
- Explain the use case clearly
- Consider how others might use this feature
- Make sure your code follows our style guidelines
- Update documentation if needed
- Add tests for new functionality
- Make sure all tests pass
- Submit a PR using the template
- Go 1.21+
- Node.js (for frontend development)
- Docker (optional, for containerized testing)
# Install dependencies
go mod download
# Copy example config
cp config.example.yaml config.yaml
# Run the server
go run cmd/server/main.go
# Access dashboard at http://localhost:8317/management.htmlgo test ./...- Follow standard Go formatting (
gofmt) - Use meaningful variable and function names
- Add comments for exported functions
- Keep functions focused and small
- Use consistent indentation (2 spaces)
- Follow existing patterns in the codebase
- Keep JavaScript modular
- Use semantic HTML
We follow Conventional Commits:
type(scope): description
[optional body]
[optional footer]
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Code style changes (formatting, etc.)refactor: Code refactoringtest: Adding or updating testschore: Maintenance tasks
feat(dashboard): add export accounts bundle feature
fix(auth): resolve token refresh race condition
docs(readme): update installation instructions
Your contributions make this project better for everyone. We appreciate your time and effort! ❤️
Questions? Feel free to open an issue or reach out on Facebook.