Skip to content

Extensible WebSocket driven dashboard with a Golang backend

Notifications You must be signed in to change notification settings

lietu/godashery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoDashery

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.

Building frontend

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.

Running backend

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.

Adding widgets

Add your server-side code to widgets/mywidget.go. Frontend logic goes to frontend/src/widgets/mywidget.ts

Check existing ones for examples.

Financial support

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.

"Buy Me A Coffee"

About

Extensible WebSocket driven dashboard with a Golang backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published