Skip to content

galaxydo/deno-chrome-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno Chrome App

This example project demonstrates building desktop app using Deno server and Web frontend.

Deno Standard GUI

Deno WebUI

Getting Started

  1. Prepare your frontend assets

    Place your frontend files, including the index.html, into the static-assets directory.

  2. Generate embedded-assets TypeScript files

    We need to convert the static assets into TypeScript files that can be embedded into the Deno binary at compile time. Run the command below from the project's root directory:

    deno run --unstable --allow-all ./embedder.ts build
  3. Compile the Deno application

    Compile your application into an executable binary using the following command:

     deno compile --output deno-chrome-example --allow-read --allow-net src/main.ts
  4. Deploy the application

    After compiling the application, you can transfer the deno-chrome-example binary to another system. Running the binary will open a full-screen Chrome window displaying your index.html.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published