Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ttytm/gsysmo
- Owner: ttytm
- Created: 2024-06-02T01:18:26.000Z (5 months ago)
- Default Branch: dev
- Last Pushed: 2024-06-26T05:14:02.000Z (5 months ago)
- Last Synced: 2024-06-26T06:29:52.217Z (5 months ago)
- Topics: go, gui, svelte, webui
- Language: TypeScript
- Homepage:
- Size: 82 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```