Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bunland/webapp

Create Webapps with Bun.js and Chromium-based browsers
https://github.com/bunland/webapp

bunjs chromium golang webapps

Last synced: 8 days ago
JSON representation

Create Webapps with Bun.js and Chromium-based browsers

Awesome Lists containing this project

README

        

# webapp.

Build Desktop Apps with bun.js and chromium-based browsers.
This is a project still under construction, please be patient.

#Get Started

To get started with the project, clone the same as follows. open a console and paste this

```
git clone https://github.com/Bunland/webapp.git
```
Now go to the project with:
```
cd webapp
```

install dependencies (The necessary dependencies for our Svelte Ui will be installed).

```
cd myapp
```

```
bun install
```

Run the application in development mode.

Go back to the main "webapp" folder and type in the console:
```
bun run dev
```

Build the webapp.

Unfortunately "for now", the only way to build our webapp is using the Golang language, so make sure you have golang installed. You can follow the following link which will help you to install Golang easily:

https://github.com/golang/go/wiki/Ubuntu

Once you have golang installed write in the console in the "webapp" directory:

```
bun run build
```

Next, Golang will take care of packaging your application, you will see that a folder called "webapp_1.0.0" and a file called "webapp_1.0.0.deb" have been created, with the latter you will be able to install your application on your computer.

https://user-images.githubusercontent.com/29004070/190515371-e656baf2-b5d0-4d71-8bd6-3acbc46c02e2.mp4

![image](https://user-images.githubusercontent.com/29004070/193175313-cca3836d-ed39-4fad-975e-2ef750b5c7c4.png)

If you wish, you can modify the name of the application and its information in the file: build-linux.sh, if you want to change the icons you can go to the "icons" folder and modify the existing one for another of your preference.

This project is based on Lorca and in turn on Carlo.js.

Lorca
https://github.com/zserge/lorca

Carlo
https://github.com/GoogleChromeLabs/carlo