-
portkiller.py- Main script (197 lines) -
README.md- Full documentation with badges -
LICENSE- MIT License (update with your name) -
requirements.txt- Python dependencies -
.gitignore- Python-specific ignores
-
INSTALL.md- Installation guide -
CONTRIBUTING.md- Contribution guidelines -
PROJECT_STATS.md- Build stats (optional, can keep or remove)
-
examples/usage_examples.sh- Quick reference -
examples/common_ports.md- Port reference -
examples/test_portkiller.py- Integration test
-
.github/workflows/ci.yml- CI/CD pipeline
Replace [Your Name] in LICENSE with your actual name:
Copyright (c) 2025 YOUR NAME HERE
Replace YOUR-USERNAME in README.md with your GitHub username:
git clone https://github.com/YOUR-USERNAME/portkiller.gitSame as above - replace YOUR-USERNAME with your GitHub username.
# Test basic functionality
python portkiller.py 9999
# Run integration test
python examples/test_portkiller.py
# Make sure examples work
chmod +x examples/usage_examples.sh
./examples/usage_examples.sh# Initialize repo (if not already done)
git init
# Add all files
git add .
# Create initial commit
git commit -m "Initial commit: Port Killer - Day 5 of 30 for 30"
# Create main branch
git branch -M main
# Add your GitHub repo as remote
git remote add origin https://github.com/YOUR-USERNAME/portkiller.git
# Push to GitHub
git push -u origin main- Go to https://github.com/new
- Name:
portkillerorport-killer - Description: "Find and kill processes hogging your ports. No more 'port already in use' errors."
- Public repository
- DO NOT initialize with README (you already have one)
On your GitHub repo page, add these topics:
pythonclideveloper-toolsport-managementproductivitydevtoolscross-platform
- Go to "Actions" tab
- Enable workflows
- CI will run automatically on push/PR
In your repo settings, add:
- Website: Link to your blog post (if you write one)
- Description: "Kill processes hogging ports. Because 'port 3000 already in use' is rage-inducing."
- Go to "Releases" → "Create a new release"
- Tag:
v1.0.0 - Title: "Port Killer v1.0.0"
- Description: Initial release features
Record a terminal session using asciinema or create a GIF:
# Start recording
asciinema rec demo.cast
# Use the tool
python portkiller.py 3000 -f
# Stop recording
exit
# Convert to GIF and add to READMEUse GitHub Pages to host documentation:
# Enable GitHub Pages in repo settings
# Use /docs folder or main branchIn README.md, add:
- Code coverage badge
- PyPI version (if you publish to PyPI)
- Downloads count
- Last commit date
portkiller/
├── .github/
│ └── workflows/
│ └── ci.yml
├── examples/
│ ├── common_ports.md
│ ├── test_portkiller.py
│ └── usage_examples.sh
├── .gitignore
├── CONTRIBUTING.md
├── INSTALL.md
├── LICENSE
├── PROJECT_STATS.md
├── README.md
├── portkiller.py
└── requirements.txt
- Twitter/X: "Built a tool to kill those annoying 'port already in use' processes. Check it out!"
- Reddit: r/Python, r/programming, r/webdev
- Dev.to: Write a blog post
- Hacker News: If it gets traction
- Your blog: Write the full "Day 5" post
- Watch for issues
- Respond to PRs
- Update based on feedback
- Star your own repo (tradition)
- Add it to your portfolio
- Link to it from your 30 for 30 project list
- Use it yourself regularly
You're ready to push to GitHub! 🚀
Just remember to update:
- Your name in LICENSE
- Your GitHub username in README.md and INSTALL.md
- Test everything one more time
Then run those git commands above and you're live!