KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
ShareDir
★ 24
Open GitHub ↗
Share your files and folders with ease
Download README (.md)
Explore Similar Repositories
CMP
:
No description available.
ankigen
:
Gradio application using LLMs to generate csv/apkg to aid with memorizing topics in Anki
redbook-keywords
:
本程序使用`selenium`自动化测试框架结合`ChromeDriver`浏览器驱动,模拟用户登录小红书网站,根据关键词搜索帖子,并收集帖子中的文章链接,保存到本地文件中。 主要用于自动化数据抓取、解析和管理,通过模块化的日志系统跟踪项目的执行流程。 此项目采用了多个流行的Python库,使得项目在数据抓取和自动化任务中表现出色,适用于爬虫、数据处理和自动化任务场景。
repo759
:
About repo with information useful for the Fall 2024 offering of ECE 759 - High Performance Computing for Applications in Engineering
NyaIME
:
🐈 猫の IME for Mac
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
ShareDir
?
Download (.md)
# ShareDir **ShareDir** is a Python tool to share files and directories over LAN or the internet with a single command. It runs a production-ready HTTP server (Waitress) with passphrase protection, QR code access, file uploads, and a modern web interface. ## Features - Share files and directories with one command - QR code generation (terminal + in-browser) - Passphrase protection with brute-force blacklisting - Production-ready server (Waitress) with configurable workers - File upload support with progress bar (optional) - Directory ZIP download - File metadata display (size, modified date, MIME type) - HTTP Range request support (video seeking) - Client-side search/filter - Dark mode (default) with light mode toggle - Download buttons for files and directories - Access logging (IP, method, path, status) - Auto-expiry (`--expire`) ## Installation ### Via pip ```bash pip install sharedir ``` ### Via uv ```bash uv tool install sharedir ``` ### From source ```bash git clone https://github.com/spignelon/ShareDir.git cd ShareDir pip install -r requirements_headless.txt ``` ## Usage ```bash sharedir /path/to/share ``` ### Options | Flag | Description | |------|-------------| | `-p N`, `--passphrase-length N` | Number of words in passphrase (default: 4) | | `--no-passphrase` | Disable passphrase protection | | `-P PORT`, `--port PORT` | Server port (default: 44447) | | `-w N`, `--workers N` | Number of server workers, 1 worker = 4 threads (default: 1) | | `--upload` | Enable file uploads via web interface | | `--expire DURATION` | Auto-shutdown after duration (e.g. `30m`, `2h`, `1d`) | ### Examples ```bash # Share a directory with a 6-word passphrase on port 8080 sharedir ~/movies -p 6 -P 8080 # Share without passphrase, with uploads enabled sharedir ~/public --no-passphrase --upload # Auto-shutdown after 2 hours sharedir ~/files --expire 2h ``` Output: ``` Generated passphrase: grape-apple-banana-orange Access URL: http://192.168.1.100:44447/?passphrase=grape-apple-banana-orange Starting server on 0.0.0.0:44447 with 1 workers (4 threads)... ``` Requires Python >= 3.10. ## License [](https://www.gnu.org/licenses/agpl-3.0.html) <br> [GNU AGPLv3.0](LICENSE)