// the find
andreimarcu/linx-server
Self-hosted file/code/media sharing website.
Self-hosted file/pastebin server written in Go. Handles uploads, syntax-highlighted pastes, media preview, expiry, and optional S3 backend. The original repo is frozen — the author has stepped away and pointed users to active forks.
Solid feature set for a self-hosted pastebin: local filesystem and S3 backends, API key auth with scrypt hashing, torrent seeding of files, and sensible security headers (CSP, referrer policy, X-Frame-Options) configurable per-route. The S3 backend streams files through the server rather than redirecting, which keeps URLs stable. Cleanup is handled either lazily on access or via a separate systemd timer unit — both patterns are correct. Docker and fastcgi deployment paths are both supported and documented.
Development is frozen. The README says so in the first line. Any bug you hit is yours to fix; you're adopting a fork, not a maintained project. The S3 backend streams everything through the Go process, which will saturate your server under any real load — the README itself notes you'll want a caching layer in front. Metadata is stored as flat files alongside uploads (or as S3 object tags), which means no querying, no admin view, and no bulk operations without writing your own tooling. No built-in rate limiting on uploads.