Codetje

Write a small program.
It's on the web in seconds.

Codetje runs WebAssembly components: small programs that answer HTTP requests. Write one in your browser, publish it, and it has its own address.

import { Request, Response } from "@codetje/assemblyscript";

export function handle(req: Request): Response {
  const name = req.param("name");
  return Response.text("Hello, " + (name === null ? "world" : name) + "!\n");
}

Published as you/hello, that answers at https://you--hello.codetje.app/?name=Ada.

Nothing to install

The editor builds AssemblyScript in your browser, with completions, and publishes straight to the registry. Your changes are kept until they go live.

Or bring any language

Anything that compiles to a wasi:http component runs here: Rust, Go, C and more. Publish it with rt publish.

Try it, then go live

Every publish is an immutable version. Try a preview at its own address, move stable when it's right, and move it back just as fast.

Run it, watch the logs

Call any version from its page, with any method and body, and stream its logs as requests come in.

Packages use packages

Import what other packages export, through WIT. Each dependency is pinned when you publish and runs with the settings you give it.

Private until you say so

Only you see a package until you make it public. Secrets stay in its environment, and it fetches only from the sites you allow.

Recently published All packages