What Flinger runs and provides, and the rules that most often break deploys. Read it before building. Auth: None.
curl -s "https://go.flinger.ai/api/v1/capabilities?format=text" -H 'User-Agent: flinger-skill'For developers
Everything Flinger does for a person in a chat, your code can do too: read the rules, check the files, put the app online, and find out why a build failed.
GET /v1/capabilities: what runs, what's provided, and the rules that most often break deploys.
POST /v1/preflight with the files. Fix every must_fix until the verdict is ready.
POST /v1/fling. No account needed: you get a live link and a claim link for the person.
GET /v1/fling/{claim_id} until it's live, failed or claimed.
GET /v1/fling/{claim_id}/doctor: the diagnosis, whose fault it is, the fix and the end of the log.
Base URL https://go.flinger.ai/api. Send User-Agent: flinger-skill with every call.
What Flinger runs and provides, and the rules that most often break deploys. Read it before building. Auth: None.
curl -s "https://go.flinger.ai/api/v1/capabilities?format=text" -H 'User-Agent: flinger-skill'What Flinger would do with these files, before anything is deployed. Fix every must_fix until the verdict is ready. Auth: None.
curl -s https://go.flinger.ai/api/v1/preflight -H 'User-Agent: flinger-skill' \
-H 'Content-Type: application/json' \
-d '{"files": {"index.html": "<h1>Hello</h1>",
"FLING.md": "Runtime: static — one page"}}'Put the app online, no account needed. Returns a live link and a claim link for the person. Auth: Optional agent key, or the person's Flinger key in the body.
curl -s https://go.flinger.ai/api/v1/fling -H 'User-Agent: flinger-skill' \
-H 'Content-Type: application/json' \
-d '{"name": "salon-bookings",
"built_with": "claude",
"files": {"index.html": "…"}}'Is the app live yet, did the build fail, has it been claimed. Auth: X-Poll-Secret from the fling reply.
curl -s https://go.flinger.ai/api/v1/fling/$CLAIM_ID -H 'User-Agent: flinger-skill' \
-H "X-Poll-Secret: $POLL_SECRET"Why a deploy failed: the diagnosis, whose fault it is, the exact fix and the end of the log. Auth: X-Poll-Secret.
curl -s https://go.flinger.ai/api/v1/fling/$CLAIM_ID/doctor -H 'User-Agent: flinger-skill' \
-H "X-Poll-Secret: $POLL_SECRET"A link for the person to open, to sign this agent in to their Flinger account. Auth: Optional agent key.
curl -s -X POST https://go.flinger.ai/api/v1/agent/link -H 'User-Agent: flinger-skill'Is this agent's key tied to a person's account yet, and what does their plan allow. Auth: X-Flinger-Agent.
curl -s https://go.flinger.ai/api/v1/agent/me -H 'User-Agent: flinger-skill' \
-H "X-Flinger-Agent: $AGENT_KEY"The person doesn't want that account used: stop flinging into it. Auth: X-Flinger-Agent.
curl -s -X POST https://go.flinger.ai/api/v1/agent/unlink -H 'User-Agent: flinger-skill' \
-H "X-Flinger-Agent: $AGENT_KEY"Is an app that went into the person's account live yet. Auth: X-Flinger-Agent.
curl -s https://go.flinger.ai/api/v1/agent/apps/$TENANT_ID -H 'User-Agent: flinger-skill' \
-H "X-Flinger-Agent: $AGENT_KEY"Check on any app in the person's account, any time: live, failed, its address. Auth: X-Flinger-Key (the person's key).
curl -s "https://go.flinger.ai/api/v1/account/apps?name=salon-bookings" -H 'User-Agent: flinger-skill' \
-H "X-Flinger-Key: $FLINGER_KEY"Install Flinger's skills once, then put any app folder online with one command. It checks the app, uploads it, waits until it's live, and prints the live address and a claim link.
curl -fsSL https://go.flinger.ai/api/v1/skills/install.sh | bashpython3 ~/.claude/skills/flinger-app-plan/scripts/fling.py <app-folder>Explains a failed deploy.
Shows whether the app has been claimed yet.
Sets the region for the app's database and files.
Supplies the keys your app needs, from a file.
Send any-ai/instructions.md from flinger-chat.zip as the system message.
Pass tools/openai.json as the model's tools (tools/gemini.json for Gemini).
When the model asks for a tool, run it with flinger_tools.run(tool_name, tool_arguments) and send the text back.
The model then asks a few questions, builds the app, checks it, puts it online and gives you the address and a claim link. Your API keys stay with you. The files: fling.md/install
A Dockerfile overrides all of this and runs exactly as given. Full list, and what to build instead of what can't run: the capabilities contract
One file at the root of your app tells Flinger how to treat it. Its first line says what kind of app it is.
A site that's just files.
Pages, with functions under api/.
Name the start command on the same line, and make sure that exact script exists.
Optional lines: Output (the build folder), Routes: single-page, Health (a health check address), Embed: yes, and Cron for scheduled jobs.