https://github.com/diploi/component-deno
Official Diploi component for Deno
https://github.com/diploi/component-deno
component deno deno-cli deno-deploy deno-docker deno-module deno-runtime deno-starter deployable diploi docker dockerfile helm-charts kubernetes typescript
Last synced: 19 days ago
JSON representation
Official Diploi component for Deno
- Host: GitHub
- URL: https://github.com/diploi/component-deno
- Owner: diploi
- License: mit
- Created: 2025-09-15T08:09:12.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2026-03-17T15:21:46.000Z (2 months ago)
- Last Synced: 2026-03-18T05:43:13.491Z (2 months ago)
- Topics: component, deno, deno-cli, deno-deploy, deno-docker, deno-module, deno-runtime, deno-starter, deployable, diploi, docker, dockerfile, helm-charts, kubernetes, typescript
- Language: TypeScript
- Homepage: https://diploi.com/component/deno
- Size: 22.5 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Deno Component for Diploi
[](https://diploi.com/component/deno)
[](https://diploi.com/component/deno)
[](https://diploi.com/component/deno)
A generic Deno component that can be used to run any Deno app.
Uses the official [Deno](https://hub.docker.com/r/denoland/deno) Docker image.
## Operation
### Getting started
1. In the Dashboard, click **Create Project +**
2. Under **Pick Components**, choose **Deno**
3. In **Pick Add-ons**, you can add one or multiple databases to your app
4. Choose **Create Repository**, which will generate a new GitHub repo
5. Lastly, click **Launch Stack**
Link to guide, explains how to add a custom domain and launch to production
https://diploi.com/blog/hosting_deno_apps
### Development
Runs `deno task dev` when deployment is started, which executes your app in watch mode with network and environment variable access:
```sh
deno run --watch --allow-net --allow-env src/main.ts
```
No `deno install` is required, as new import in TypeScript files will trigger Deno to automatically download and cache those modules as needed.
### Production
Builds a production-ready image. Runs `deno task prod` to start your app with network and environment variable access:
```sh
deno run --allow-net --allow-env src/main.ts
```
Dependencies are cached during the build stage using `deno cache .`.
## Links
- [Adding Deno to a project](https://docs.diploi.com/building/components/deno)
- [Deno documentation](https://docs.deno.com/runtime/)