Skip to content

Repository files navigation

@glasshome/widgets

Reference implementation of the built-in widgets that ship with GlassHome, the local-first dashboard for Home Assistant. Not published to npm -- browse the source for widget development patterns, and see the widget development guide to build your own.

Structure

widgets/
  src/
    clock/          # Analog/digital clock
    weather/        # Weather forecast
    light/          # Light control with brightness/color
    switch/         # Toggle switch
    climate/        # HVAC controls
    camera/         # Live camera feed
    media-player/   # Media playback controls
    sensor/         # Sensor readings with sparkline
    battery/        # Battery status overview
    area/           # Area entity dashboard
    ...

Building widgets

Use the @glasshome/widget-sdk to create your own widgets:

bunx @glasshome/widget-cli create my-widget

Documentation

Full docs at glasshome.app/docs

License

MIT

About

@glasshome/widgets

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages