Smartlinks [preview]

Smartlinks

Smartlinks is a CLI and runtime for turning small JavaScript or TypeScript programs into URLs.

The link is the deployment. Query parameters are its inputs, and the script’s return value becomes the response. There are no accounts and nothing is stored.

Give your agent the context.

Copy a prompt that points your coding agent at the Smartlinks format, CLI, runtime limits, and safety model.

Read the agent guide

Start Here

Install the CLI and build a link:

npm install --global @jonaslsa/smartlinks
smartlinks build script.ts

Add --secret TOKEN to encrypt a secret for the exact script before putting it in the URL.

Runtime

Smartlinks are immutable, and anyone with the link can run them. Use scoped, revocable credentials.