Skip to main content

Welcome to Invoke

Invoke is a modern serverless function management platform that lets you deploy and execute custom functions in a secure, isolated sandbox environment.

What is Invoke?โ€‹

Invoke lets you write serverless functions in JavaScript, TypeScript, or C#, with access to a rich set of built-in APIs. Your functions run in sandboxed environments with:

  • Multi-language support: JavaScript, TypeScript (Bun runtime), and C# (.NET 10 NativeAOT)
  • Express.js-compatible APIs: Familiar req and res objects (JS/TS) or InvokeRequest/InvokeResponse (C#)
  • Persistent Storage: Built-in key-value store with TTL support
  • Realtime Support: Socket.IO-style real-time communication via RealtimeNamespace
  • Package Support: npm packages (JS/TS) or NuGet packages (C#)

Quick Exampleโ€‹

import crypto from 'crypto'

export default async function handler(req, res) {
const name = req.query.name || 'World'
const id = crypto.randomUUID()

await kv.set(`user:${id}`, { name, timestamp: Date.now() })

res.json({ message: `Hello, ${name}!`, id })
}

Key Featuresโ€‹

๐Ÿ”’ Secure Executionโ€‹

Functions run in isolated sandbox environments with controlled access to system resources.

๐ŸŒ HTTP/HTTPS Supportโ€‹

Make external API calls using fetch, http, or https modules.

๐Ÿ’พ Built-in KV Storeโ€‹

Persistent key-value storage with automatic TTL management.

๐Ÿ“ฆ Package Supportโ€‹

Use npm packages (node_modules) in JavaScript/TypeScript functions, or NuGet packages (Invoke.SDK) in C# functions.

โšก High Performanceโ€‹

Efficient execution with caching and resource pooling.

๐Ÿ› ๏ธ Powerful CLIโ€‹

Manage functions, versions, environment variables, and more from the command line.

Management Optionsโ€‹

Web Admin Panelโ€‹

Access the full-featured web interface to manage functions, view logs, and monitor performance.

Command Line Interface (CLI)โ€‹

Use the Invoke CLI for powerful command-line management:

# Create and deploy a function
invoke function:create --name my-api ./my-function

# Invoke a function
invoke function:invoke my-api --method POST --data '{"hello": "world"}'

# View execution logs
invoke function:logs my-api --status error --limit 10

Learn more in the CLI Documentation.

What You'll Learnโ€‹

Ready to Get Started?โ€‹

Jump into the Quick Start Guide to create your first Invoke function!