Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ttytm/gsysmo

Sample project using WebUI with a modern web framework.
https://github.com/ttytm/gsysmo

go gui svelte webui

Last synced: 15 days ago
JSON representation

Sample project using WebUI with a modern web framework.

Awesome Lists containing this project

README

        

Example project for creating a GUI Application with WebUI in combination with a modern Webframework.\
_Gsysmo_ is a simple system monitor using Go, WebUI, SvelteKit (Svelte 5) and Bun.

![gsysmo](https://github.com/ttytm/gsysmo/assets/34311583/692a5c1a-1862-4797-a258-b65a1471a780)

## Quick Start

1. Clone the repo
```sh
git clone https://github.com/ttytm/gsysmo.git && cd gsysmo
```
2. Use the bootstrap helper to setup go-webui and its parent library.
```sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/webui-dev/go-webui/main/setup.sh)"
```
3. Install frontend dependencies

```sh
bun i --cwd ui
```

```sh
bun run --cwd ui build
```


**NOTE:** As an alternative to `--cwd` used above, change to the ui directory or open it in a separate terminal, execute the bun commands without specifying a path and change back to the (terminal with the) project root. Just choose what fits best during development.\

4. Build / run the application
```sh
go run main.go
```