{"id":31628175,"url":"https://github.com/antoniodem/killport-advanced","last_synced_at":"2026-04-13T04:43:04.974Z","repository":{"id":318292893,"uuid":"1070678164","full_name":"AntonioDEM/Killport-Advanced","owner":"AntonioDEM","description":"Advanced terminal tool for managing network ports and processes with conda environment automation support","archived":false,"fork":false,"pushed_at":"2025-10-06T09:43:13.000Z","size":580,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-06T11:28:23.318Z","etag":null,"topics":["automation","bash","developer-tools","devops","nodejs","python","shell-script","terminal","zsh","zshrc"],"latest_commit_sha":null,"homepage":"https://github.com/AntonioDem/killport-advanced.git","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AntonioDEM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-06T09:40:18.000Z","updated_at":"2025-10-06T09:45:33.000Z","dependencies_parsed_at":"2025-10-06T11:28:27.530Z","dependency_job_id":"bdb0ebe7-0482-4ec8-ac13-2cc6e3078581","html_url":"https://github.com/AntonioDEM/Killport-Advanced","commit_stats":null,"previous_names":["antoniodem/killport-advanced"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/AntonioDEM/Killport-Advanced","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntonioDEM%2FKillport-Advanced","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntonioDEM%2FKillport-Advanced/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntonioDEM%2FKillport-Advanced/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntonioDEM%2FKillport-Advanced/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AntonioDEM","download_url":"https://codeload.github.com/AntonioDEM/Killport-Advanced/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntonioDEM%2FKillport-Advanced/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278672146,"owners_count":26025847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","bash","developer-tools","devops","nodejs","python","shell-script","terminal","zsh","zshrc"],"created_at":"2025-10-06T20:19:17.147Z","updated_at":"2025-10-06T20:19:19.692Z","avatar_url":"https://github.com/AntonioDEM.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e \u003cimg src=\"resources/icons/favicon/apple-touch-icon.png\" alt=\"KillPort Logo\" width=\"120\"/\u003e\n\n# KillPort Advanced v2.0\n\n**Complete suite for port management on macOS with advanced monitoring, multiple range support, and integrated benchmarking.**\n\n[![en](https://img.shields.io/badge/lang-en-blue.svg)](README.md) [![it](https://img.shields.io/badge/lang-it-green.svg)](README.it.md)\n\n\u003cdiv align=\"center\"\u003e \u003ca href=\"https://github.com/AntonioDEM/killport-advanced/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/AntonioDEM/killport-advanced\" alt=\"Stars Badge\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/AntonioDEM/killport-advanced/network/members\"\u003e\u003cimg src=\"https://img.shields.io/github/forks/AntonioDEM/killport-advanced\" alt=\"Forks Badge\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/AntonioDEM/killport-advanced/pulls\"\u003e\u003cimg src=\"https://img.shields.io/github/issues-pr/AntonioDEM/killport-advanced\" alt=\"Pull Requests Badge\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/AntonioDEM/killport-advanced/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/AntonioDEM/killport-advanced\" alt=\"Issues Badge\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/AntonioDEM/killport-advanced/graphs/contributors\"\u003e\u003cimg alt=\"GitHub contributors\" src=\"https://img.shields.io/github/contributors/AntonioDEM/killport-advanced?color=2b9348\"\u003e\u003c/a\u003e \u003ca href=\"https://github.com/AntonioDEM/Killport-Advanced/blob/main/benchmark/benchmark_report_20251005_214913.md\"\u003e\u003cimg src=\"https://img.shields.io/badge/📊_Benchmark-Reports-orange\" alt=\"Benchmark Reports\"/\u003e\u003c/a\u003e \u003c/div\u003e \u003cbr/\u003e\n\n![macOS](https://img.shields.io/badge/macOS-10.15+-green?style=flat-square\u0026logo=apple) ![Shell](https://img.shields.io/badge/Shell-Zsh%20%7C%20Bash-blue?style=flat-square\u0026logo=gnu-bash) ![Python](https://img.shields.io/badge/Python-3.10+-blue?style=flat-square\u0026logo=python)\n\n![Status](https://img.shields.io/badge/status-stable-brightgreen?style=flat-square) ![Last Commit](https://img.shields.io/badge/last%20commit-October%202025-orange?style=flat-square) ![License](https://img.shields.io/badge/License-MIT-yellow?style=flat-square) ![Version](https://img.shields.io/badge/version-2.0-red?style=flat-square)\n\n\u003c/div\u003e\n\n------\n\n## 📑 Table of Contents\n\n- [Features](#-features)\n- [Quick Installation](#-quick-installation)\n- [Usage](#-usage)\n- [Benchmark Suite](#-benchmark-suite)\n- [Documentation](#-documentation)\n- [Troubleshooting](#-troubleshooting)\n- [Contributing](#-contributing)\n- [License](#-license)\n\n------\n\n## ✨ Features\n\n- 🎯 **Single port or multiple ranges** - Flexible port management\n- 🔍 **Advanced monitoring** - Detailed visualization of listening processes\n- ⚡ **Optimized performance** - Fast and efficient operations\n- 📊 **Integrated benchmarking** - Complete performance testing suite\n- 🐍 **Conda integration** - Native support for conda environments\n- 🎨 **Colored output** - Clear and readable terminal interface\n- 🛡️ **Robust error handling** - Complete checks and informative messages\n- 📝 **Detailed logging** - Full operation tracking\n\n------\n\n## 🚀 Quick Installation\n\n### Prerequisites\n\n- macOS 10.15 or higher\n- Zsh or Bash\n- Python 3.10+\n- [Conda/Miniconda](https://www.anaconda.com/docs/getting-started/miniconda/main) (optional but recommended)\n- [Homebrew](https://brew.sh)\n- [killport](https://formulae.brew.sh/formula/killport#default) project by [jkfran](https://github.com/jkfran/killport)\n\n### Automatic Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/AntonioDEM/killport-advanced.git\ncd killport-advanced\n\n# Run the installation script\nbash install_killport.sh\n\n# Load the functions in your shell\nsource killport_zshrc_function.sh\n```\n\n### Manual Installation\n\nIf you prefer to install manually, add to your `~/.zshrc` or `~/.bashrc`:\n\n```bash\n# Add the path to functions\nsource /path/to/killport-advanced/killport_zshrc_function.sh\n```\n\nThen reload the configuration:\n\n```bash\nsource ~/.zshrc  # for Zsh\n# or\nsource ~/.bashrc # for Bash\n```\n\n------\n\n## 💻 Usage\n\n### Basic Commands\n\n```bash\n# Kill a single port\nkillport 8080\n\n# Kill multiple ranges\nkillport 3000-3005 8080-8085\n\n# Monitor listening ports\nmonitor_ports\n\n# Show help\nkillport --help\n```\n\n### Advanced Examples\n\n```bash\n# Kill multiple specific ports\nkillport 3000 3001 8080 9000\n\n# Combination of single ports and ranges\nkillport 3000 5000-5005 8080-8090\n\n# Monitoring with filtering\nmonitor_ports | grep python\n```\n\n### Conda Integration\n\nThe tool automatically detects the active conda environment and manages it optimally:\n\n```bash\n# Activate environment\nconda activate myenv\n\n# Use killport normally\nkillport 8080\n\n# The conda environment is preserved\n```\n\n------\n\n## 📊 Benchmark Suite\n\nThe integrated benchmark suite allows you to test system performance.\n\n### Running Benchmarks\n\n```bash\n# Go to the benchmark folder\ncd benchmark\n\n# Run the original benchmark\nbash benchmark_original.sh\n\n# View the results\nbash benchmark_visualizer_original.sh\n```\n\n### Generated Reports\n\nBenchmarks automatically generate:\n\n- 📈 CSV files with detailed results\n- 📊 Performance charts\n- 📝 Complete markdown reports\n- 📉 Comparative analysis\n\nResults are saved in:\n\n```\nbenchmark/\n├── benchmark_results_YYYYMMDD_HHMMSS.csv\n├── benchmark_results_YYYYMMDD_HHMMSS.txt\n├── benchmark_charts_YYYYMMDD_HHMMSS.txt\n└── benchmark_report_YYYYMMDD_HHMMSS.md\n```\n\n------\n\n## 📚 Documentation\n\nFor detailed documentation, see:\n\n- [BENCHMARK_GUIDE.md](benchmark/BENCHMARK_GUIDE.md) - Complete benchmark guide\n- [CONTRIBUTING.md](CONTRIBUTING.md) - How to contribute to the project\n- [LICENSE](LICENSE) - MIT License\n\n------\n\n## 🔧 Troubleshooting\n\n### Port already in use\n\n```bash\nError: Port 8080 is already in use\n```\n\n**Solution**: Use killport to terminate the process:\n\n```bash\nkillport 8080\n```\n\n### Permission denied\n\n```bash\nError: Permission denied\n```\n\n**Solution**: Some processes require elevated privileges:\n\n```bash\nsudo killport 8080\n```\n\n### Function not found\n\n```bash\ncommand not found: killport\n```\n\n**Solution**: Reload the shell functions:\n\n```bash\nsource killport_zshrc_function.sh\n```\n\n### Conda Issues\n\nIf the conda environment is not detected correctly:\n\n```bash\n# Reinitialize conda\nconda init zsh  # or bash\n\n# Reload shell\nsource ~/.zshrc\n```\n\n------\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome!\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n### How to Contribute\n\n1. Fork the project\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n------\n\n## 📄 License\n\nDistributed under the MIT License. See [LICENSE](LICENSE) for more information.\n\n------\n\n## 👨‍💻 Author\n\n**Antonio Demarcus**\n\n- GitHub: [@AntonioDEM](https://github.com/AntonioDEM)\n- Repository: [killport-advanced](https://github.com/AntonioDEM/killport-advanced)\n\n------\n\n## 🙏 Acknowledgments\n\n- Inspired by the [killport](https://github.com/jkfran/killport) project by jkfran\n- Open source community for support\n- All project contributors\n\n------\n\n\u003cdiv align=\"center\"\u003e\n\n**⭐ If you find this project useful, leave a star! ⭐**\n\nMade with ❤️ by [Antonio Demarcus](https://github.com/AntonioDEM)\n\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoniodem%2Fkillport-advanced","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoniodem%2Fkillport-advanced","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoniodem%2Fkillport-advanced/lists"}