Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.1k
A self-hosted dashboard that puts all your feeds in one place
License
glanceapp/glance
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Install •Configuration •Discord •Sponsor
Community widgets •Preconfigured pages •Themes
A lightweight, highly customizable dashboard that displays
your feeds in a beautiful, streamlined interface
- RSS feeds
- Subreddit posts
- Hacker News posts
- Weather forecasts
- YouTube channel uploads
- Twitch channels
- Market prices
- Docker containers status
- Server stats
- Custom widgets
- and many more...
- Low memory usage
- Few dependencies
- Minimal vanilla JS
- Single <20mb binary available for multiple OSs & architectures and just as small Docker container
- Uncached pages usually load within ~1s (depending on internet speed and number of widgets)
- Different layouts
- As many pages/tabs as you need
- Numerous configuration options for each widget
- Multiple styles for some widgets
- Custom CSS
Because you'll want to take it with you on the go.
Easily create your own theme by tweaking a few numbers or choose from one of thealready available themes.
Configuration is done through YAML files, to learn more about how the layout works, how to add more pages and how to configure widgets, visit theconfiguration documentation.
Preview example configuration file
pages: -name:Homecolumns: -size:smallwidgets: -type:calendarfirst-day-of-week:monday -type:rsslimit:10collapse-after:3cache:12hfeeds: -url:https://selfh.st/rss/title:selfh.stlimit:4 -url:https://ciechanow.ski/atom.xml -url:https://www.joshwcomeau.com/rss.xmltitle:Josh Comeau -url:https://samwho.dev/rss.xml -url:https://ishadeed.com/feed.xmltitle:Ahmad Shadeed -type:twitch-channelschannels: -theprimeagen -j_blow -piratesoftware -cohhcarnage -christitustech -EJ_SA -size:fullwidgets: -type:groupwidgets: -type:hacker-news -type:lobsters -type:videoschannels: -UCXuqSBlHAE6Xw-yeJA0Tunw# Linus Tech Tips -UCR-DXc1voovS8nhAvccRZhg# Jeff Geerling -UCsBjURrPoezykLs9EqgamOA# Fireship -UCBJycsmduvYEL83R_U4JriQ# Marques Brownlee -UCHnyfMqiRRG1u-2MsSQLbXA# Veritasium -type:groupwidgets: -type:redditsubreddit:technologyshow-thumbnails:true -type:redditsubreddit:selfhostedshow-thumbnails:true -size:smallwidgets: -type:weatherlocation:London, United Kingdomunits:metrichour-format:12h -type:marketsmarkets: -symbol:SPYname:S&P 500 -symbol:BTC-USDname:Bitcoin -symbol:NVDAname:NVIDIA -symbol:AAPLname:Apple -symbol:MSFTname:Microsoft -type:releasescache:1drepositories: -glanceapp/glance -go-gitea/gitea -immich-app/immich -syncthing/syncthing
Choose one of the following methods:
Docker compose using provided directory structure (recommended)
Create a new directory calledglance as well as the template files within it by running:
mkdir glance&&cd glance&& curl -sL https://github.com/glanceapp/docker-compose-template/archive/refs/heads/main.tar.gz| tar -xzf - --strip-components 2
click here to view the files that will be created
Then, edit the following files as desired:
docker-compose.ymlto configure the port, volumes and other containery thingsconfig/home.ymlto configure the widgets or layout of the home pageconfig/glance.ymlif you want to change the theme or add more pages
Other files you may want to edit
.envto configure environment variables that will be available inside configuration filesassets/user.cssto add custom CSS
When ready, run:
docker compose up -d
If you encounter any issues, you can check the logs by running:
docker compose logs
Docker compose manual
Create adocker-compose.yml file with the following contents:
services:glance:container_name:glanceimage:glanceapp/glancerestart:unless-stoppedvolumes: -./config:/app/configports: -8080:8080
Then, create a new directory calledconfig and download the example startingglance.yml file into it by running:
mkdir config&& wget -O config/glance.yml https://raw.githubusercontent.com/glanceapp/glance/refs/heads/main/docs/glance.ymlFeel free to edit theglance.yml file to your liking, and when ready run:
docker compose up -d
If you encounter any issues, you can check the logs by running:
docker logs glance
Manual binary installation
Precompiled binaries are available for Linux, Windows and macOS (x86, x86_64, ARM and ARM64 architectures).
Visit thelatest release page for available binaries. You can place the binary in/opt/glance/ and have it start with your server via asystemd service. By default, when running the binary, it will look for aglance.yml file in the directory it's placed in. To specify a different path for the config file, use the--config option:
/opt/glance/glance --config /etc/glance.yml
To grab a starting template for the config file, run:
wget https://raw.githubusercontent.com/glanceapp/glance/refs/heads/main/docs/glance.yml
Download and extract the executable from thelatest release (most likely the file calledglance-windows-amd64.zip if you're on a 64-bit system) and place it in a folder of your choice. Then, create a new text file calledglance.yml in the same folder and paste the content fromhere in it. You should then be able to run the executable and access the dashboard by visitinghttp://localhost:8080 in your browser.
Other
Glance can also be installed through the following 3rd party channels:
Requests timing out
The most common cause of this is when using Pi-Hole, AdGuard Home or other ad-blocking DNS services, which by default have a fairly low rate limit. Depending on the number of widgets you have in a single page, this limit can very easily be exceeded. To fix this, increase the rate limit in the settings of your DNS service.
If using Podman, in some rare cases the timeout can be caused by an unknown issue, in which case it may be resolved by adding the following to the bottom of yourdocker-compose.yml file:
networks:podman:external:true
Broken layout for markets, bookmarks or other widgets
This is almost always caused by the browser extension Dark Reader. To fix this, disable dark mode for the domain where Glance is hosted.
cannot unmarshal !!map into []glance.page
The most common cause of this is having apages key in yourglance.yml and then also having apages key inside one of your included pages. To fix this, remove thepages key from the top of your included pages.
Does the information on the page update automatically?
No, a page refresh is required to update the information. Some things do dynamically update where it makes sense, like the clock widget and the relative time showing how long ago something happened.How frequently do widgets update?
No requests are made periodically in the background, information is only fetched upon loading the page and then cached. The default cache lifetime is different for each widget and can be configured.Can I create my own widgets?
Yes, there are multiple ways to create custom widgets:
iframewidget - allows you to embed things from other websiteshtmlwidget - allows you to insert your own static HTMLextensionwidget - fetch HTML from a URLcustom-apiwidget - fetch JSON from a URL and render it using custom HTML
Can I change the title of a widget?
Yes, the title of all widgets can be changed by specifying thetitle property in the widget's configuration:
-type:rsstitle:My custom title-type:marketstitle:My custom title-type:videostitle:My custom title# and so on for all widgets...
New feature suggestions are always welcome and will be considered, though please keep in mind that some of them may be out of scope for what the project is trying to achieve (or is reasonably capable of). If you have an idea for a new feature and would like to share it, you can do sohere.
Feature requests are tagged with one of the following:
- Roadmap - will be implemented in a future release
- Backlog - may be implemented in the future but needs further feedback or interest from the community
- Icebox - no plans to implement as it doesn't currently align with the project's goals or capabilities, may be revised at a later date
Choose one of the following methods:
Build binary with Go
Requirements:Go >= v1.23
To build the project for your current OS and architecture, run:
go build -o build/glance.To build for a specific OS and architecture, run:
GOOS=linux GOARCH=amd64 go build -o build/glance.click here for a full list of GOOS and GOARCH combinations
Alternatively, if you just want to run the app without creating a binary, like when you're testing out changes, you can run:
go run.Build project and Docker image with Docker
Requirements:Docker
To build the project and image using just Docker, run:
(replaceowner with your name or organization)
docker build -t owner/glance:latest.If you wish to push the image to a registry (by default Docker Hub), run:
docker push owner/glance:latest
- Before working on a new feature it's preferable to submit a feature request first and state that you'd like to implement it yourself
- Please don't submit PRs for feature requests that are either in the roadmap[1], backlog[2] or icebox[3]
- Use
devfor the base branch if you're adding new features or fixing bugs, otherwise usemain - Avoid introducing new dependencies
- Avoid making backwards-incompatible configuration changes
- Avoid introducing new colors or hard-coding colors, use the standard
primary,positiveandnegative - For icons, try to useheroicons where applicable
- Provide a screenshot of the changes if UI related where possible
- No
package.json
[1] [2] [3]
[1] The feature likely already has work put into it that may conflict with your implementation
[2] The demand, implementation or functionality for this feature is not yet clear
[3] No plans to add this feature for the time being
To all the people who were generous enough tosponsor the project and to everyone who has contributed in any way, be it PRs, submitting issues, helping others in the discussions or Discord server, creating guides and tools or just mentioning Glance on social media. Your support is greatly appreciated and helps keep the project going.
About
A self-hosted dashboard that puts all your feeds in one place
Topics
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.



