Before pushing to a public repository, ensure:
- ✅ No personal file paths (use relative paths)
- ✅ No API keys or secrets in code
- ✅
.env.exampleprovided instead of.env - ✅
__pycache__directories excluded - ✅ Generic author information in setup.py
- ✅ Documentation updated to English
- ✅ Test files and personal data removed
If you need to change Git author information:
# Set generic author for this repository
git config user.name "Safety Tool Contributors"
git config user.email "safety-tool@example.com"- Fork or create a new repository on GitHub
- Update the repository URL in setup.py
- Add the remote:
git remote add origin https://github.com/YOUR_USERNAME/safety-tool.git
- Push the code:
git push -u origin main
- Never commit real API keys
- Use environment variables for sensitive data
- Review all commits before pushing
- Consider using git-secrets or similar tools
This project is released under the MIT License. See LICENSE file for details.