Zhoros/SuperBin
Super Bin - Pastebin, File Sharing and URL Shortener with Password, Curl and QR support
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#1 Repository của tuần
#1 Repository của tuần
📦 SuperBin — Pastebin, File Sharing & URL Shortener All-in-One
Một binary Go đơn giản gom pastebin, chia sẻ file và rút gọn URL, mã hóa luồng AES/PBKDF2, hỗ trợ QR/curl/mật khẩu, triển khai một lệnh.
SuperBin của Zhoros là một ứng dụng self-hosted viết bằng Go, giải quyết ba nhu cầu phổ biến trong một công cụ: pastebin (chia sẻ đoạn mã/văn bản), file sharing (tải lên/tải xuống file lớn), và URL shortener (rút gọn liên kết). Điểm mạnh kỹ thuật là kiến trúc xử lý dựa trên luồng (stream-based) — mã hóa, giải mã, upload, download đều diễn ra trên bộ đệm cố định, cho phép xử lý file hàng GB mà RAM/CPU gần như không tăng. Dự án nhắm đến sự đơn giản tuyệt đối: go build . hoặc docker compose up là xong, chạy được trên mọi OS và PaaS (repl.it, Render, fly.io...).
✨ Điểm nổi bật
- Ba-in-một: Pastebin, chia sẻ file, rút gọn URL trong một giao diện duy nhất
- Mã hóa luồng an toàn: AES-256 + PBKDF2, giải mã on-the-fly, dữ liệu mã hóa không bao giờ ghi ra đĩa ở dạng plaintext
- Hỗ trợ curl nguyên sinh:
curl -F file=@main.go -F duration=10 -F pass=123 -F burn=true https://yoursite.com— tùy chọn duration, password, burn-after-read - QR code tự động: Tạo mã QR để chia sẻ nhanh giữa thiết bị di động
- Tải lên đa dạng: Ctrl+V, drag-and-drop, chọn file, terminal — đều hoạt động trên mobile browser
- URL ngắn không ambigu: Loại bỏ ký tự dễ nhầm l/I/1/O/0, có phát hiện va chạm
- Bảo mật bằng mật khẩu: Cho cả upload và download, bật/tắt qua config
- Kiểm soát tài nguyên tinh vi:
streamSizeLimitKB+streamThrottleMScho phép giới hạn bộ nhớ/CPU (mặc định ~40 MB/s) - Triển khai zero-config: Binary đơn lẻ hoặc Docker Compose, không phụ thuộc DB bên ngoài
💡 Vì sao đáng chú ý
SuperBin giải quyết bài toán "cần một nơi dump file/text/link nhanh, an toàn, tự host" mà không kéo theo hạ tầng phức tạp. Kiến trúc stream-based là điểm khác biệt cốt lõi: hầu hết công cụ tương tự giải mã toàn bộ file vào RAM hoặc ghi file tạm ra đĩa — SuperBin xử lý từng chunk, nên chạy ổn định trên VPS nhỏ, container hạn chế RAM, thậm chí PaaS miễn phí. Curl support biến nó thành backend tiện lợi cho script/CI/CD (upload artifact, share log, shorten URL tự động). QR code làm mượt chỗ chia sẻ cross-device. Cấu hình qua data/settings.json đủ linh hoạt cho production (giới hạn size, throttle, PBKDF2 iterations, burn-after-read default).
Phù hợp cho: dev cần pastebin/file share nội bộ, team muốn URL shortener riêng, homelab self-host, hoặc ai đó cần một endpoint curl -F file=@... đơn giản cho automation.
#Go #SelfHosted #FileSharing #Pastebin #URLShortener #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
ShareX is a free and open-source application that enables users to capture or record any area of their screen with a single keystroke. It also supports uploading images, text, and various file types to a wide range of destinations.
Easily and securely send things from one computer to another :crocodile: :package:
CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview and edit your files.
🌩 Self-hosted file management and sharing system, supports multiple storage providers