deno-deploy
БесплатноБез исполняемых скриптовНе проверенDeno Deploy is a serverless platform that runs JavaScript and TypeScript apps on Deno, with integrated builds, Deno KV databases, cron jobs and preview URLs…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Deno Deploy
Overview
Deno Deploy is Deno's hosting platform for JavaScript and TypeScript apps. The current platform lives at console.deno.com and runs apps on the full Deno runtime (a Linux sandbox, so subprocesses, FFI and file writes work). It builds your repository itself, serves Next.js, Astro, SvelteKit, Fresh and plain Deno.serve() apps, and exposes Deno KV and Deno.cron().
Deploy Classic (dash.deno.com), the deployctl CLI and the subhosting v1 API were shut down on 20 July 2026. Anything that uses deployctl deploy, dash.deno.com, Deno Queues or the old serve() import from deno.land/std must be migrated. Deploy Classic projects were not transferred automatically: create a new app in a new organization and redeploy.
Instructions
- Write the server with
Deno.serve(). The oldserve()fromhttps://deno.land/std/http/server.tsfails the deployment warm-up with a timeout; some old third-party libraries still call it internally, so upgrade them. - Deploy from the command line with the built-in subcommand, not
deployctl:deno deploy createstarts a wizard (organization, app name, source, build config, region). For CI, pass flags:--org,--app,--source local|github,--runtime-mode dynamic|static,--entrypoint main.ts,--framework-preset,--build-timeout,--build-memory-limit,--region us|eu|global.--dry-runvalidates without creating.deno deploy(run in the project directory, with--organd--appor a priordeno deploy switch) uploads the directory and builds it. Add--prodto deploy straight to production.- The CLI keeps its token in the system keyring and prompts to sign in when needed.
- Or connect a GitHub repository in the dashboard. Every push builds; the branch decides the timeline (production or development).
- Build settings (framework preset, install command such as
deno install, build command such asdeno task build, entrypoint, static directory, single-page-app mode) can come from the dashboard or from adeploysection indeno.json; the file wins on every deploy. - Environment variables belong to contexts: Production, Development (preview and branch URLs) and Build. Manage them in the dashboard or with
deno deploy env add NAME value [--secret](set--organd--app, or rundeno deploy switchfirst),env list,env update-value,env update-contexts,env delete, andenv load .env.production. Read them withDeno.env.get("NAME"). Names cannot start withDENO_(a few exceptions such asDENO_AUTH_TOKENS),LD_orOTEL_; values are limited to 128 kB. - Deno KV: provision a database in the dashboard (Databases > Provision Database) or with
deno deploy database provision my-kv --kind denokv, then assign it to the app (deno deploy database assign my-kv --app link-shortener). In code, callDeno.openKv()with no arguments. Deploy gives each timeline its own database, so preview deployments never touch production data. Existing KV data from Deploy Classic is not migrated automatically (ask [email protected]). KV queues (enqueue/listenQueue) are not supported; use an external queue. - Cron: declare
Deno.cron(name, schedule, handler)at module top level, beforeDeno.serve(). Deploy reads the definitions at deploy time. Schedules are UTC. Definitions inside request handlers or conditionals are not discovered. - Regions: only
us,euandglobal(both) exist. Apps are serverless: an instance starts on demand, may run in several places at once, and is stopped after idle time with a SIGINT and 5 seconds to finish. Do not keep state in memory; use KV or a database. Instances do not share memory, so do not rely onBroadcastChannelor in-process state for cross-request coordination. - Logs and traces are in the dashboard (
deno deploy logsfor the terminal). Custom flags, including--unstable-*, cannot be passed to the runtime.
Examples
Example 1: Ship a URL shortener with KV and a cron job
User request: "Deploy a small link shortener on Deno Deploy that expires links after 30 days."
main.ts:
import { Hono } from "jsr:@hono/hono@4";
const app = new Hono();
const kv = await Deno.openKv();
Deno.cron("log-link-count", "0 * * * *", async () => {
let count = 0;
for await (const _ of kv.list({ prefix: ["links"] })) count++;
console.log(`${count} short links stored`);
});
app.post("/api/shorten", async (c) => {
const { url } = await c.req.json();
const id = crypto.randomUUID().slice(0, 8);
await kv.set(["links", id], url, { expireIn: 30 * 24 * 60 * 60 * 1000 });
return c.json({ path: `/${id}` }, 201);
});
app.get("/:id", async (c) => {
const hit = await kv.get<string>(["links", c.req.param("id")]);
return hit.value ? c.redirect(hit.value) : c.text("Not found", 404);
});
Deno.serve(app.fetch);
Commands:
deno run -A main.ts # local check: KV runs from a local file
deno deploy create --org northwind --app link-shorten
Установить deno-deploy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл deno-deploy?
Deno Deploy is a serverless platform that runs JavaScript and TypeScript apps on Deno, with integrated builds, Deno KV databases, cron jobs and preview URLs. Use when deploying a Deno, Node or framework app to console.deno.com, using the `deno deploy` command, setting environment variables per context, attaching Deno KV, or migrating off Deploy Classic and `deployctl`.
Как установить скилл deno-deploy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deno-deploy запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub