Releases: v4rm4n/nserve
nserve v1.0.4
Directory Zipping & Enhanced Mobile Sharing 📦
This release transforms nserve from a simple file viewer into a powerful bulk transfer tool. You can now download entire directory trees in one go, making it easier than ever to move projects or photo albums between devices.
What's New ✨
-
📦 Directory Zipping: Added a "ZIP" button to every directory card. You can now download entire folders as a .zip archive with a single click.
-
Under the hood: This uses a custom, zero-dependency ZIP implementation. It does not require zip or tar to be installed on your system!
-
📱 Folder-to-Phone (QR): The QR code feature now supports directories! Scan the QR code next to a folder, and your phone will immediately begin downloading that folder as a ZIP file.
-
⚡ Performance: Zipping is streamed and memory-efficient, handling larger directories without stalling the server.
nserve v1.0.3
This release brings significant usability improvements and marks the official publication to the Nim package registry!
New Features ✨
-
📱 Offline QR Code Sharing: Added a new QR button next to every file. Instantly generate a QR code to transfer files to mobile devices over LAN—works completely offline with zero external dependencies (JS library embedded in binary).
-
📦 Nimble Support: NServe is now published on the official Nim package registry! You can install it directly via nimble install nserve. #1
-
🏷️ Version Flag: Added -v / --version flag to quickly check the installed binary version.
Installation
nimble install nservev1.0.2
🚀 nserve v1.0.2
Enhanced UX & Upload Controls
This release focuses on usability improvements and safety, making nserve even better for quick file sharing and local development.
✨ What's New
-
🛡️ Max Upload Size Limit: You can now restrict the size of file uploads to prevent server crashes or abuse. The default limit is 100 MB.
-
New flag:
-mor--max-size(in MB). -
Example:
nserve -m 500(Allows up to 500MB uploads). -
👆 Clickable Cards: Browsing is now faster! The entire file/folder row is now a clickable link. You no longer need to precisely click the small text filename—just click anywhere on the card.
Usage
# Run with a 1GB upload limit on port 8080
./nserve --port=8080 --max-size=1000
# Standard run (Default: Port 8000, 100MB Limit)
./nservenserve v1.0.1
🎉 nserve v1.0.1
The first official release of nserve!
nserve is a lightweight, zero-dependency HTTP file server written in Nim. It is designed to be a faster, feature-rich alternative to python -m http.server.
Key Features
- 🚀 Blazingly Fast: Built on Nim's
asynchttpserverfor non-blocking I/O. - 📤 File Uploads: Upload files directly to the server via the web interface.
- 🌗 Dark/Light Mode: Persists your preference automatically.
- 📊 Advanced Logging: Color-coded logs with real Client IP:Port tracking.
- 📦 Zero Dependencies: A single binary that runs anywhere.
Usage
Download the binary below for your platform and run:
# Run on port 8000
./nserve
# Custom port and host
./nserve --port=8080 --host=127.0.0.1