Skip to main content
Use InsForge edge functions to run TypeScript on Deno, deployed close to your users for low latency. Functions can be invoked on-demand from any client, chained from database triggers, or scheduled to run on a cron expression. The runtime ships standard fetch, streaming responses, and ESM imports out of the box.
Need a process that stays up? Use Compute for queue workers, AI inference loops, and anything stateful. Edge Functions are for request/response and short-lived jobs.

Features

HTTP triggers

Every function is reachable at https://<project>.insforge.dev/functions/<name>. Standard fetch in, standard Response out. Streaming, JSON, redirects, and websockets all work.

Schedules

Attach a cron expression to a function and InsForge invokes it on time, with retry on failure. See Schedules for the cron syntax and execution model.

Database triggers

Wire a function to fire on INSERT, UPDATE, or DELETE against a table. The function receives the row payload and runs with a service-role JWT so it can perform privileged follow-up writes.

Secrets and environment variables

Set env vars and secrets per function. The dashboard, CLI, and MCP all read and write the same store; secrets never round-trip through your repo. The difference is how each value is stored and protected. Secrets are encrypted at rest: secrets list shows only metadata with the values hidden, and secrets get returns the decrypted value on demand. A secret can also carry an expiry date (--expires <ISO-8601>) and be marked protected from deletion (--reserved). Environment variables are plain configuration values with no encryption or expiry. Put credentials like API keys and passwords in secrets, and non-sensitive config in environment variables. Either one is available to your function code the same way.

Logs

Structured logs are captured per invocation, queryable by status, duration, and function name. The InsForge MCP get-function-logs tool lets your agent diagnose failures without leaving the editor.

Deno standard library

Use the Deno standard library and any ESM module from jsr.io, esm.sh, or npm: specifiers. You don’t run a bundler, and there’s no node_modules directory to ship.

Concepts

Schedules

Run a function on a cron expression instead of in response to a request.

Build with it

TypeScript SDK

Invoke and stream functions from Node, browser, and edge.

Swift SDK

Invoke functions from iOS and macOS apps.

Kotlin SDK

Invoke functions from Android and JVM apps.

REST API

Plain HTTP function endpoints, callable from any language.

Next steps