Built for trust
Supalink is designed with security and reliability at every layer.Edge-first
Every request is served from the nearest edge location across 300+ cities. No origin servers, no single point of failure.
Encrypted at rest
All files are encrypted at rest in storage. SSL/TLS is enforced on every connection.
Presigned uploads
Files are uploaded directly to secure storage using time-limited, single-use presigned URLs. Upload tokens expire after 1 hour.
Zero egress fees
Serving your site costs nothing. No bandwidth charges, no surprise bills, no matter how much traffic you get.
Authentication & data protection
- No passwords stored — authentication uses one-time email verification codes
- API keys are hashed — only the SHA-256 hash is stored, never the raw key
- Site passwords are hashed — password-protected sites use server-side hashing
- Rate limiting — every endpoint is rate-limited per user and per IP to prevent abuse
- Claim tokens are single-use — anonymous site claim tokens cannot be reused
The Publish Flow
When an agent publishes a directory, three things happen:1. Create
The agent sends a JSON manifest listing every file — path, size, content type, and SHA-256 hash.2. Upload
Each file is uploaded directly to secure storage using the presigned URL. Uploads go straight to storage — no middleman. Upload URLs expire after 1 hour.3. Finalize
After all files are uploaded, a finalize call makes the new version live. The API verifies every file exists before activating. The old version (if updating) is replaced. The new version becomesactive.
Site Serving
When someone visitsslug.supalink.dev:
- The request hits the nearest edge location
- The site’s active version is resolved
- The requested file is fetched from storage
- It’s returned with appropriate caching headers
path/index.html is tried as a fallback — so SPAs and clean URLs work out of the box.
Hash Deduplication
When you update a site, files that haven’t changed don’t need to be re-uploaded:- The agent sends file hashes in the manifest
- The API compares them against the previous version
- Matching files are copied server-side (instant, zero cost)
- Only new or changed files need uploading
Slugs
Every site gets a random slug likebright-canvas-a7k2. Slugs are:
- Generated using an
adjective-noun-xxxxpattern - Globally unique
- Permanent (even if the site is deleted, the slug is never reused)
Anonymous vs Authenticated
| Anonymous | Authenticated | |
|---|---|---|
| API key required | No | Yes |
| Site expiry | 24 hours | Permanent |
| Claimable | Yes (with claim token) | N/A |
| Rate limit | 5 req/hour | 60+ req/hour |
claimToken in the response. You can claim the site later by providing this token along with an API key, making it permanent.