English | 中文
A lightweight file-sharing web service built with Go, supporting file, text, and link sharing.
Linux / macOS:
curl -fsSL https://raw.githubusercontent.com/zaaack/go-bin/main/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/zaaack/go-bin/main/install.ps1 | iexYou can also download manually from the Releases page.
- Public shares appear in the listing page
- Private shares use random URLs, accessible only via link
- Files preserve original filenames for display
- Text and links show a 2-line summary in the listing page
- Listing page supports file download, text copy, URL copy, and URL opening
- Detail page supports download, copy download link, copy text, copy URL, open URL
- Image and video inline preview
- Pinning support
- Expiration time and never-expire options
- SQLite for metadata,
uploads/for file storage - Android app supports system share: share files or text from any app directly to go-bin
$env:GO111MODULE = "on"
$env:GOPROXY = "https://goproxy.cn,direct"
go run ./cmd/go-bin serveYou can also generate an executable first:
$env:GO111MODULE = "on"
$env:GOPROXY = "https://goproxy.cn,direct"
go generate .go run ./cmd/go-bin serve \
--addr :8080 \
--db data.db \
--uploads-dir uploads \
--base-url http://localhost:8080 \
--default-public=true \
--default-pin=false \
--default-expire=3mo--db supports specifying the SQLite file location.
--default-expire supports:
never1d7d30d1mo3mo1y
/Public listing page/newPublish page/s/{slug}Detail page/download/{slug}File download
An Android app wrapper is available in the app/ directory, built with React + Capacitor.
cd app
pnpm install
pnpm android:build| Listing | Publish | Detail |
|---|---|---|
![]() |
![]() |
![]() |
This project is licensed under the MIT License.


