npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

glance-gui

v1.0.1

Published

Visual configuration manager for Glance dashboard

Readme

Glance GUI

A web-based configuration manager for Glance dashboard. This tool lets you create and edit Glance configurations visually instead of writing YAML by hand.

Next.js TypeScript Tailwind CSS

Features

  • Visual page management with column layouts
  • Support for all 26+ Glance widget types with pre-filled templates
  • Drag-and-drop widget reordering within and between columns
  • Monaco editor for widget-specific YAML properties
  • Import existing configurations and export to glance.yml
  • Layout validation to prevent invalid column configurations
  • Local storage persistence

Installation

Quick Start with npx

The easiest way to run Glance GUI is with npx (no installation required):

npx glance-gui

This will start the server at http://localhost:3000.

Local Development

Requirements:

  • Node.js 20 or higher
  • npm, pnpm, or yarn
git clone <repository-url>
cd glance-gui
npm install
npm run dev

Open http://localhost:3000 in your browser.

Testing with an Example

You can import the official Glance example configuration to see how it works:

  1. Click Import in the header
  2. Select glance/docs/glance.yml from this repository
  3. Browse the imported pages, columns, and widgets
  4. Make changes and export when done

Usage

Creating a Configuration

  1. Add a page using the + button in the sidebar
  2. Configure page settings (name, width, display options)
  3. Add columns to the page using the layout builder
  4. Add widgets to each column
  5. Edit widget properties and type-specific configuration
  6. Export the configuration as glance.yml

Column Layout Rules

Glance has specific requirements for column layouts:

  • One column: [full]
  • Two columns: [small, full], [full, small], or [full, full]
  • Three columns: [small, full, small]

Slim pages can have at most 2 columns.

Supported Widget Types

Feeds: RSS, Videos (YouTube), Hacker News, Reddit, Lobsters, Releases (GitHub)

Information: Weather, Calendar, Markets, Clock

Productivity: Search, Bookmarks, Todo List

Monitoring: Monitor (Sites), Repository, Docker Containers, Server Stats, DNS Stats, Change Detection

Streaming: Twitch Channels, Twitch Games

Custom: Custom API, Extension, IFrame, HTML

Layout: Group (Tabs), Split Column

Project Structure

glance-gui/
├── app/              # Next.js app directory
├── components/       # React components
│   ├── layout/      # Header, sidebar
│   ├── pages/       # Page management
│   ├── columns/     # Column layout
│   ├── widgets/     # Widget components
│   └── ui/          # shadcn/ui components
├── lib/             # Utilities and types
├── stores/          # Zustand state management
└── hooks/           # Custom React hooks

Technology Stack

  • Next.js 16 with Turbopack
  • TypeScript 5
  • Tailwind CSS v4
  • Zustand for state management
  • shadcn/ui components
  • js-yaml for YAML parsing
  • Monaco Editor for code editing
  • lucide-react icons

Known Limitations

  • YAML comments are not preserved during import/export
  • Only validates YAML syntax, not widget-specific schemas
  • Theme and branding settings are not included

Development

npm run dev        # Start development server
npm run build      # Production build
npm start          # Start production server
npx tsc --noEmit   # Type checking
npm run lint       # Linting

Documentation

See IMPLEMENTATION.md for implementation details and architecture decisions.

Publishing to npm

To publish a new version to npm:

  1. Update the version in package.json
  2. Ensure you're logged in: npm login
  3. Publish: npm publish

The prepublishOnly script will automatically build the application before publishing.

To test the package locally before publishing:

npm link          # In this directory
glance-gui        # Run the linked command
npm unlink -g glance-gui  # Cleanup when done

Contributing

This is a configuration tool for Glance. For the main Glance project, visit glanceapp/glance.

License

MIT License - See LICENSE.md file for details


Note: The code in this repository was generated with assistance from AI (Claude).