
Zipline Has a Free API: Self-Hosted File Sharing and Screenshot Platform for Developers
What is Zipline? Zipline is a self-hosted ShareX/file upload server with a beautiful dashboard. Upload files, share screenshots, shorten URLs, paste text — all via API or ShareX integration. Perfect for developers who want their own file hosting. Quick Start git clone https://github.com/diced/zipline cd zipline docker compose up -d The REST API export ZIP_URL = "https://your-zipline.com/api" export ZIP_TOKEN = "your-api-token" Upload Files # Upload file curl -X POST " $ZIP_URL /upload" \ -H "Authorization: $ZIP_TOKEN " \ -F "file=@screenshot.png" # Response: # {"files": ["https://your-zipline.com/u/abc123.png"]} # Upload with custom settings curl -X POST " $ZIP_URL /upload" \ -H "Authorization: $ZIP_TOKEN " \ -H "Format: DATE" \ -H "Expires-At: 24h" \ -H "Max-Views: 100" \ -F "file=@document.pdf" Shorten URLs curl -X POST " $ZIP_URL /shorten" \ -H "Authorization: $ZIP_TOKEN " \ -H "Content-Type: application/json" \ -d '{"url": "https://very-long-url.example.com/path/to/page"}' Text Pas
Continue reading on Dev.to Tutorial
Opens in a new tab



