Fling
Throw it. Get a link. Fling turns a folder, an HTML file or a zip, made by you or by any agent,
into https://<name>.<your Fling>: private to your team, live in seconds.
Fling runs in your own cloud. It isn't a hosted service you sign up to: first someone deploys
a Fling for your organisation, at an address like fling.yourcompany.com, on AWS, Cloudflare,
DigitalOcean or machines you run. Then everyone installs the CLI or adds the connector and
points it at that address.
Deploy your Fling → Already have one? Start below.
npm install -g @nearform/fling
fling setup https://<your Fling> # sign in, add Fling to Claude Code and Claude Desktop
fling deploy ./dist --name demo # → https://demo.<your Fling>/
Why Fling? Click through the deck, flung with Fling itself:
https://why-fling.fling.labs.nearform.com/
See it working. Five short walkthroughs, each starting with a problem and recorded on a real
Fling: https://fling-tour.fling.labs.nearform.com/
- From anywhere. The CLI, Claude Code (plugin), Claude Desktop (extension), Claude on the web
and mobile (connector
https://<your Fling>/mcp), and any script, CI job or background agent
with an API key.
- Private by default. A new site is yours alone until you say who else may see it: specific
people, teams, everyone signed in with your identity provider, or anyone. Share links, public sites, archive and delete are one command each, and an admin can restore a deleted site (unless the instance deletes for good). Secrets and dotfiles never ship.
- Every deploy is a version. Same link, new contents; roll back instantly.
- Review it together, live. Pin comments to the exact spot, see each other's pointers, and let
agents read the feedback and act on it. Ship a form with the site to collect labels or scores,
and export the answers as CSV. Watch the walkthroughs on reviews and
forms.
- A small server when a page isn't enough. Put a
server.ts beside index.html and Fling runs
it for /api/*, behind the site's sign-in, with its keys kept as site secrets: call an API, post
to Slack, keep a price list off the page. Off unless the instance turns it on. See
docs/site-servers.md, or watch the walkthrough.
- Hear about it. With email set up, people are told when a site is shared with them, they join a
group, or someone comments on their site, and choose what they hear about from any client.
- Yours. Run it on AWS, Cloudflare, DigitalOcean or your own machines, under your domain,
sign-in and brand.
Use it
- CLI:
npm install -g @nearform/fling (or npx @nearform/fling), then
fling setup <your Fling's address> and fling deploy ./dist. Signed in to several Flings,
fling use switches between them. See apps/cli.
- Claude (Desktop, web, mobile): add the connector
https://<your Fling>/mcp under
Settings → Connectors, or install the Claude Desktop extension from the Get started page.
Watch the walkthrough.
For Claude to upload files it makes with code execution, rather than retype them, a Claude admin
adds your Fling's host to Additional allowed domains on claude.ai in a web browser:
Organization settings → Capabilities → Code execution and file creation (on a paid personal
plan, Settings → Capabilities). See
Claude's sandbox.
- Claude Code:
fling setup, or /plugin marketplace add nearform/fling, then
/plugin install fling@fling. Watch the walkthrough.
How it works
Each of these has the full detail in docs/how-it-works.md.
Your instance. Each organisation runs its own Fling, with its own domain, sign-in (any OpenID
Connect provider) and look. Clients discover it from /.well-known/fling, so one CLI works with
several. More
Who can open a site
- Access levels: only you, groups, specific people, everyone signed in, or
public. New sites are private, and a redeploy never changes access.
- Audiences and groups: limit a site to named people and groups; removing
someone takes effect within 5 minutes.
- Owners and publishers: share a site so it outlives whoever
created it; publishers can only publish and roll back.
- Invitations: optionally let in reviewers from outside your email domains.