Developer platform

Keys and files, right beside your code.

Key-value namespaces and file buckets your edge functions use through env, managed from the lyrcloud CLI. Each account’s data is kept apart.

// lyrcloud.json: "kv": { "CACHE": "cache" }, "buckets": { "FILES": "uploads" }
export default {
  async fetch(request, env) {
    const visits = Number(await env.CACHE.get('visits') ?? 0) + 1;
    await env.CACHE.put('visits', String(visits));
    const logo = await env.FILES.get('logo.svg');
    return new Response(`Visit #${visits}`);
  },
};
▣ Storage & Databases

What you get

Key-value store

env.CACHE.get/put/list/delete for config, sessions and counters, with optional expiry and metadata.

File buckets

env.FILES.put/get/list/delete for uploads and assets, up to 4 MB per file, with content types kept.

From the CLI

lyrcloud kv and lyrcloud bucket read, write and list your data without writing code.

Works offline

lyrcloud dev keeps the same data in .lyrcloud/ in your project, so local and live code match.

Private by default

Each function gets a signed token that only opens its owner’s data. Files are encrypted at rest.

Serverless SQL

Coming soon: SQL databases for your functions.

Works with the rest of Lyrcloud

🌐

Domains

Register or transfer a domain with free WHOIS privacy and Lyrcloud DNS, paid by card or with Lyrpay.

Learn more
⚡

Global CDN

Response caching, static files and whole static sites for your edge functions, with cache headers you control and purges from the CLI.

Learn more
🔒

Application Security

Rate limits, IP rules, a firewall for common attacks, bot checks and secure headers for your edge functions, set in lyrcloud.json and enforced before your code runs.

Learn more

Try Storage & Databases free.

Create a free account in under a minute. No credit card required.