- Ways to Contribute
- Getting Started
- Making Changes
- Submitting Changes
- Code Guidelines
- Commit Messages
- Getting Help
- 🐞 Report bugs
- ⭐ Suggest features
- 📝 Improve documentation
- ❗ Submit bug fixes
- ✨ Add new features
- Go 1.24 or higher
- Docker installed and running
- Git
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/dockmate.git cd dockmate - Add upstream remote:
git remote add upstream https://github.com/shubh-io/dockmate.git - Install dependencies:
go mod download
go run .
go build -o dockmate
./dockmate
First, sync with the latest changes:
git checkout main
git pull upstream main
Then create your feature branch:
git checkout -b feature/your-feature-name
Use descriptive branch names:
feature/add-compose-supportfix/memory-leakdocs/update-readme
- Write clean, readable code
- Follow Go conventions
- Add comments where needed
- Test your changes
Make sure everything still works:
go test ./...
go run . # Manual testing
- Commit your changes:
git add . git commit -m "Add: brief description of changes" - Push to your fork:
git push origin feature/your-feature-name - Open a Pull Request on GitHub
- Describe what you changed and why
- Link any related issues
- Run
go fmtbefore committing - Keep functions small and focused
- Use meaningful variable names
- Add comments for complex logic
- Update documentation for new features
Use clear, descriptive commit messages:
Add: feature namefor new featuresFix: bug descriptionfor bug fixesDocs: what you updatedfor documentationRefactor: what you improvedfor code improvements
- 💬 Open an issue for questions
- 🐞 Report bugs via GitHub Issues
- 🎯 Suggest features in Discussions
Thanks for contributing :)