openartifacts.sh / templates
Templates
Each template is a complete service: the code, its oa.json and a README. One call publishes it and boots it on its own container and URL; none needs a secret to start. Deploy one as-is, or take the files, change them and publish your version.
# once: an account and its token
curl -sX POST "https://openartifacts.sh/v1/signup?ref=templates"
# the template, published and booted
curl -sX POST https://openartifacts.sh/v1/publish \
-H "Authorization: Bearer $OA_TOKEN" \
-F type=service -F template=mcp-server -F slug=my-tools
-
Remote MCP server
A Streamable HTTP MCP server at /mcp with three example tools, ready to connect from Claude, ChatGPT or any MCP client.
Bun 1.3 + TypeScript, official MCP SDK 1.30.1; no setup.
-F template=mcp-server -
JSON API on SQLite
A small JSON CRUD API whose SQLite database survives sleeps, restarts and redeploys through snapshots in /data.
Python 3.11, standard library; no setup.
-F template=api-sqlite -
Webhook receiver
Receives webhooks, verifies their HMAC signature (Stripe, GitHub or generic), stores each delivery in /data and lists recent ones.
Python 3.11, standard library; set
WEBHOOK_SECRETto use it.-F template=webhook-receiver -
Telegram bot
A Telegram bot in webhook mode: it sleeps until someone messages it, wakes, and answers in the webhook response.
Python 3.11, standard library; set
TELEGRAM_BOT_TOKENto use it.-F template=telegram-bot -
Scheduled job
Runs every 15 minutes on the platform's schedule: fetches a URL, records the result in /data and shows recent runs.
Python 3.11, standard library; no setup.
-F template=scheduled-job -
Node HTTP API
A minimal JSON API on Node's built-in http module: no dependencies and no install step, so it boots in well under a second.
Node.js 22, no dependencies; no setup.
-F template=node-api -
JSON API on Postgres
A small JSON CRUD API on the service's own Postgres 18 ("database": "postgres"): DATABASE_URL is set at start, the database is archived continuously and restored on every wake.
Node.js 22, one driver (pg 8.13.1); no setup.
-F template=api-postgres
How a template publish works
- It is an ordinary service publish that starts from the template's files. Files sent with it replace the template's files of the same path and add new ones; form fields (or MCP arguments) override its
oa.json. - The same calls work everywhere:
-F template=<name>onPOST /v1/publish,"template"on thepublish_artifactMCP tool,oa deploy --template <name>. - To edit first:
oa init <name>writes the files to a directory, andGET /v1/templatesandGET /v1/templates/<name>return them as JSON. - Runtime is billed as for any service: per awake minute while a request keeps it up, nothing while it sleeps. Each page lists what its template costs idle and busy.