App features
The things a Stackly app can use: a database, file storage, sign-in, background jobs, email and more. Each runs on Cloudflare and Stackly sets it up when the app lists it. Every guide below is the same text Stackly’s agent reads, so you, your own agent and Stackly all work from one description.
How features work#
- An app lists the optional features it uses in
stackly.json, under"features". Features marked always on need nothing. - In Stackly, open the project’s Features tab and choose Add with Stackly: the agent turns it on and builds what the app needs.
- On your own machine, turn one on with the CLI, then follow its guide:
stackly features # what the app uses and what it may add
stackly features on queues # adds it, with what it needs
stackly features queues # prints the guide
stackly check # checks stackly.json and the codeAgents get the same guides as the stackly-features skill in .agents/skills (run stackly kit update in an older checkout), or through the MCP tool stackly_feature_guide.
Foundation#
Users and sign-in#
Backend#
Data#
- Database
database· OptionalTables of records the app saves and searches, such as users, orders or posts. - File storage
storage· OptionalFiles people upload or the app makes: photos, documents, exports. - Stateful objects
objects· OptionalCounters, carts, game rooms, rate limits and per-user state that stay correct when many people act at once. - Fast cache
cache· OptionalResults that are slow to compute or fetch, kept for a while so pages stay fast. - Backups and restore
backups· Optional · no codeDaily copies of the live database and a restore point before every publish, restored with one click. - Text search
search· OptionalFast keyword search over the app's own records, ranked by how well they match. - Image resizing
image-resizing· OptionalThumbnails and lighter formats of uploaded photos, made on request.
Live updates#
Security#
- Secrets
secrets· Always onAPI keys and passwords the app needs, kept out of the code and set in Settings, Secrets. - Request limits
request-limits· Always onA flood of requests to one app is slowed down with "try again in a minute", so it cannot take the app down. - DDoS protection
ddos-protection· Always onAttacks that try to knock the app offline with floods of traffic are absorbed before they reach it. - Firewall rules
firewall· OptionalBlock bad traffic before it reaches the app: attack patterns, countries, addresses or paths you choose. - Bot protection
bot-protection· OptionalStops bots on sign-up, login and contact forms without puzzles for people. - Private access
private-access· Optional · no codeOnly people you allow, by email address or company domain, can open the live app. They sign in with a code sent to their email.
Connections#
- Outside services
external-apis· OptionalCalls to other services, such as payments, email or maps, limited to the hosts the app lists. - Email sending
email· OptionalReceipts, sign-in links and notifications sent from the app. The draft keeps them in its outbox instead. - Inbox
inbox· Optional · no codeReplies to the app's email addresses, readable and answerable in Stackly. - Webhooks
webhooks· OptionalReceive signed notifications from services like Stripe, and notify other services with retries.
Background work#
- Background jobs
queues· OptionalSlow work handed off so pages stay fast: sending emails, resizing images, imports. Failed jobs retry. - Scheduled tasks
scheduled-tasks· OptionalWork that runs on a timetable: nightly reports, reminders, clean-ups. - Workflows
workflows· OptionalMulti-step processes that wait, retry and resume: onboarding, order fulfilment, approvals. - Long-running tasks
containers· Not offered yetHeavy or long jobs in a full Linux environment: video, PDFs, data processing.
Monitoring#
- Traffic and events
traffic· Always onPage views, and events such as "signup" sent with track(), counted in the Traffic tab. - App logs
logs· Always onWhat the draft and live app print, and every request that failed, in the Logs tab. - Usage
usage· Always onHow much the live app is used: page views, visitors, database size, emails and background jobs. - Error and uptime alerts
alerts· Optional · no codeA notification when the live app starts failing or stops answering.
What features cost#
Stackly counts each use of a feature per app and per day, in the live app and in the draft alike, and prices both at Live app prices. Your Usage page shows the counts.
- Draft requests: Each request the draft answers while you try it, and each one a publish check makes. Live requests are priced as page views.
- Database reads: Rows the app’s database reads to answer its queries, as the database reports them.
- Database writes: Rows the app’s database writes, index updates included.
- File reads: Files the app reads from its storage.
- File writes: Files the app uploads, lists or deletes in its storage.
- Object and cache calls: Each call to a stateful object or to the cache, such as get, put or increment.
- Background runs: Each background job and scheduled task Stackly runs for the app, retries included.
- Emails sent: Emails the live app sends. The draft never sends, so its emails are not counted.
- Image resizes: Each picture resized or converted for the app.
- Realtime connections: Each live connection a visitor opens, and each message the app’s server sends to a room.
Features not listed here add nothing beyond the page views, database use and background runs they cause.
Not offered#
AI models, semantic or vector search and browser automation are not part of Stackly apps.