Lightweight HTTP file server with REST API and API key auth
ServeLink is a self-hostable micro-service written in Go that turns any mounted directory into a browsable, downloadable REST API. It was built to solve a common DevOps friction point: securely exposing files from a container or server to other services or scripts without standing up a full file server like Nginx or Apache.
The entire service ships as a scratch-based Docker image, keeping the footprint minimal. Authentication is handled via an API key passed in the request header, and built-in security headers are applied automatically.
Serve build artefacts or release binaries from a CI pipeline to downstream services.
Expose a NAS directory over HTTP to scripts, dashboards, or other containers.
Allow microservices to pull files without shared volumes or complex storage configs.
Expose private static files to authenticated callers behind your own API key.
GET /dir?introspectionLevel=N returns a JSON tree of files and folders up to N levels deepGET /file/:path serves any file from the mounted volume directly over HTTPx-api-key header matching the SUPER_SECRET_KEY environment variableblanymon/servelink for one-command deployment/app/mnt inside the container