phanthom335/port-scanner-cli-2ht8xtoa
GitHub: phanthom335/port-scanner-cli-2ht8xtoa
一个轻量级的零依赖 Python 命令行工具,用于高效归档本地资源文件,支持递归目录遍历和 Dry-run 安全预览。
Stars: 0 | Forks: 0
```
# Port Scanner Cli 2ht8xtoa
> **Category:** CLI Utilities | **Generated:** 2026-03-16



`utilities` `cli` `python` `devtools`
---
## Description
Zero-dependency command-line tool designed to archive local resources efficiently.
This project is part of an open-source Python automation collection.
It is designed to be lightweight, easy to integrate, and straightforward to extend.
---
## Features
- ✅ Fast execution with minimal memory footprint
```
- ✅ 支持递归目录遍历
- ✅ Dry-run 模式,便于执行前安全预览
- ✅ 彩色化输出,提高可读性
- ✅ 跨平台:Linux, macOS, Windows
---
## 前置条件
- **Python** 3.9 或更高版本
- **pip** (随 Python 附带)
- 终端 / 命令提示符
---
## 安装
```bash
git clone https://github.com//port-scanner-cli-2ht8xtoa.git
cd port-scanner-cli-2ht8xtoa
python -m venv .venv
source .venv/bin/activate # Linux / macOS
.venv\Scripts\activate.bat # Windows
pip install -r requirements.txt
```
---
## 使用方法
```bash
python main.py
python main.py --help
```
---
## 配置
复制 `.env.example` 到 `.env` 并填写值:
```bash
cp .env.example .env
```
| 变量 | 默认值 | 描述 |
|---------------|------------|--------------------------|
| `LOG_LEVEL` | `INFO` | 日志详细程度 |
| `OUTPUT_DIR` | `./output` | 结果保存位置 |
| `MAX_WORKERS` | `4` | 并行工作线程数 |
---
## 项目结构
```
port-scanner-cli-2ht8xtoa/
├── main.py ← 入口文件
├── requirements.txt ← Python 依赖
├── .gitignore ← Git 忽略规则
├── .env.example ← 环境变量模板
├── LICENSE ← MIT 许可证
└── README.md ← 本文件
```
---
## 贡献
1. Fork 该仓库
2. 创建特性分支:`git checkout -b feature/my-feature`
3. 提交更改:`git commit -m 'Add my feature'`
4. 推送并开启 Pull Request
---
## 许可证
MIT 许可证 — 详情请见 [LICENSE](LICENSE)。
---
*由 GitHub Project Generator v3.0.0 自动生成*
标签:CLI, Disk Forensics, Python, SOC Prime, WiFi技术, 开发工具, 归档工具, 数字取证, 数据备份, 文件归档, 文件管理, 文档结构分析, 无后门, 本地资源归档, 系统工具, 自动化脚本, 逆向工具, 递归遍历, 零依赖