Run Basil in the cloud: schedules, webhooks, APIs.
Deploy a Basil package once, then run it on a cron, on HTTP requests, or behind a lightweight REST router. Observe logs, errors, and token usage.
# Runs every 5 minutes
fn run():
let ok = http.get("https://example.com/health").status == 200
if !ok:
log.error("Health check failed")
return 1
log.info("All good")
return 0
How it works
A simple workflow that stays out of your way.
Upload or link code
Ship a single file or ZIP package. (GitHub flows planned.)
Choose a mode
Scheduled (cron), Webhook (GET/POST), or REST (router).
Observe & iterate
Logs, run history, error rate, and token usage in one place.
Use cases
Small services, automations, and internal tools — without server babysitting.
S3 processing cron job
Run a Basil job on a schedule to pull objects, transform, and write results back.
Health check monitor (every 5 minutes)
Ping services and alert when something regresses — simple, reliable, auditable.
Webhook handler
Receive events from Stripe/GitHub/etc and fan out to your own automation logic.
Lightweight REST service
Expose a tiny API for internal tooling or integrations with straightforward routing.
Product modes
Pick the execution model that matches what you’re building.
Cron-based jobs
Run `main.basil` on an interval with timezone support (planned).
HTTP triggers
Map `GET`/`POST` requests to a function and return a response.
Routing
Expose multiple endpoints with a small router entry point.
Dashboard preview
A single place to see packages, runs, errors, and token usage.
| Package | Status | Last run | Errors | Tokens |
|---|---|---|---|---|
| health-check Scheduled |
OK | 2m ago | 0% | 14 |
| stripe-webhook Webhook |
Warn | 12m ago | 1.2% | 98 |
| tiny-rest REST |
Idle | — | 0% | 0 |
Trust & safety
Pricing that scales with usage
Start free, trial production features, then pay as you go with tokens.
Free
Sandbox + limited runs (subject to change).
Trial
Time-limited production features for evaluation.
Production Tokens
Pay-as-you-go based on usage.
Deploy your first Basil package in minutes.
No heavy setup. Just code, a mode, and a URL or schedule.