An extensible WebSocket driven dashboard with Golang backend and web frontend.
The frontend uses TypeScript and SASS, but not a whole lot else.
The system is built to be fast and easily extensible. It's meant to be used for various purposes, on even low performance devices, e.g. Raspberry Pi.
cd frontend
npm install -g typescript gulp
gulp build
When developing you'll want gulp
to watch for changes, which it does on the default task. Simply run gulp
with no arguments.
cd cmd/godashery
go build
./godashery
The backend will serve the built frontend files if you don't want to set that up with your own web server. Simply open up http://localhost:8080
.
Add your server-side code to widgets/mywidget.go
. Frontend logic goes to frontend/src/widgets/mywidget.ts
Check existing ones for examples.
This project has been made possible thanks to Cocreators and Lietu. You can help us continue our open source work by supporting us on Buy me a coffee.