Thanks for your interest in contributing! This is a simple tool, so we'll keep it simple.
- Fork the repo
- Create a branch (
git checkout -b feature/amazing-feature) - Make your changes
- Test it (make sure it still works!)
- Commit (
git commit -m 'Add amazing feature') - Push (
git push origin feature/amazing-feature) - Open a Pull Request
This tool is intentionally minimal. Before adding features, ask:
- Does this solve a real problem?
- Can it be done in <50 lines?
- Will it work cross-platform?
- Follow existing code style
- Use descriptive variable names
- Add comments for non-obvious logic
- Keep functions small and focused
Before submitting:
# Test basic functionality
python portkiller.py 8888
python portkiller.py 8888 --force
python portkiller.py 8888 --verbose
# Run the integration test
python examples/test_portkiller.pyGood PRs:
- Bug fixes
- Performance improvements
- Better error messages
- Cross-platform compatibility fixes
- Documentation improvements
PRs We'll Probably Reject:
- Massive feature additions that change the scope
- Dependencies that aren't cross-platform
- Anything that makes the code significantly more complex
Open an issue with:
- What you tried to do
- What happened
- What you expected to happen
- Your OS and Python version
- Output from running with
--verbose
Open an issue with:
- The problem you're trying to solve
- Why existing functionality doesn't work
- How you envision it working
- Whether you're willing to implement it
# Clone your fork
git clone https://github.com/YOUR-USERNAME/portkiller.git
cd portkiller
# Install dependencies
pip install -r requirements.txt
# Make it executable
chmod +x portkiller.py
# Test it
python portkiller.py 9999Open an issue! We're friendly. Mostly.
By contributing, you agree your contributions will be licensed under the MIT License.