BASRUN.COM • Basil Runtime in the cloud

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.

Scheduled Jobs Webhooks REST APIs
example: scheduled job main.basil
# 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.

Step 1

Upload or link code

Ship a single file or ZIP package. (GitHub flows planned.)

Step 2

Choose a mode

Scheduled (cron), Webhook (GET/POST), or REST (router).

Step 3

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.

Scheduled

Cron-based jobs

Run `main.basil` on an interval with timezone support (planned).

Example
0 */6 * * *
Webhook

HTTP triggers

Map `GET`/`POST` requests to a function and return a response.

Example URL
https://basrun.com/h/your-pkg
REST API

Routing

Expose multiple endpoints with a small router entry point.

Example URL
https://basrun.com/api/your-pkg/*

Dashboard preview

A single place to see packages, runs, errors, and token usage.

Packages
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

Sandboxed execution. Packages run with resource limits and isolation.
Secrets vault. Store environment variables securely and inject at runtime.
Logs & observability. Tail logs and inspect run history per package.
Rate limiting. Protect endpoints and keep noisy callers in check.

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.