Code Monkey home page Code Monkey logo

glance's People

Contributors

brian-petersen avatar chand1012 avatar chev2 avatar eltociear avatar fawni avatar jarylc avatar jonasknobloch avatar knhash avatar medinnna avatar noxesp avatar sergi0g avatar svilenmarkov avatar tarikcoskun avatar wfg avatar yardenshoham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glance's Issues

[REQUEST] Option for hiding a widget title

Good work on Glance, I like it and currently seeying if it can replace my current dashboard.

Something I'd like to see is an option to hide a widget title to create a little bit more space for more important stuff.

[REQUEST] Multi-column bookmark support

There are many bookmarks, but only one column can display bookmarks in a column. I hope to add another column to display bookmarks in two or more columns side by side.

[REQUEST] HTML/JavaScript Widget

Hello! Thanks for your work on Glance!
Could you please add the HTML/JavaScript Widget to glance, just similar to Blogger and some other blog applications.

New Feature: RSS feed Vertical Card Layout

Thank you for a wonderful application.

New Feature: please can you include a Vertical card layout for RSS feeds. This would be such a nice feature, I have included a sample card layout using a plugin.

Layout
1111 aaaa ----- 3333
2222 bbbb **** 4444
3333 cccc ##### 5555
4444 dddd %%%% 6666

Docker Glance

Found a similar request - #36

[REQUEST] To do List

Hello!

I've been recently using glance and I must say that its really cool and well thought of !!

I really love the simple and functional design and I would love for a "To do List".

Thanks in advance.

Deploy on Netlify

Please add instructions to build and deploy on Netlify. Thank you!

Issue with docker compose

Hi there,

I'm trying to use the docker compose script provided but can't seem to get it to work.

I've created a fresh Docker LXC using the docker compose provided with a glance.yml created in that directory. Looking at the error log in Portainer, the container is giving the following error:

"failed creating application: no pages configured"

I'm sure this is an error on my behalf and not a problem with the docker compose script. What might I be doing wrong?

Thanks in advance.

[REQUEST] arm7 image

Hi, could be possible to implement docker image for the arm7 arch?

Thank you!

[REQUEST] Adding a search bar

Hello!

I've been recently using glance as my dashboard what can I say other than it's AWESOME!

I really love the aesthetics and I would love for a search bar that leads to a search engine.

This is pretty amazing for a V1 projects!

Thanks in advance.

[REQUEST] Add option for pings to Monitor

the Monitor service (for me anyway) would benefit from an option to react to just a ping rather than an http 200 code..

Would it be possible to add just an option so the full URl can be added (so it can be clicked) but the result of the monitor is based on a ping result?

Can not get it to load

Describe the bug
At first the major issue was where to create the initial configuration file, what folder path, and what is the name of that file.

According to docker configuration, you mention "glance.yml" which according to the documentation is a file, with the current configuration.

But docker set it up as a folder, so I sshed into that folder, created a file called "glance.conf" and still it will not work.

I just want to be clear what folder, to put the configuration file in, and what is the name of the file that is that configuration file.

To Reproduce
Steps to reproduce the behavior:

Install Glance via docker compose either raw or via portainer stack creator.
services:
glance:
image: glanceapp/glance
volumes:

  • ./glance.yml:/app/glance.yml
  • /etc/timezone:/etc/timezone:ro
  • /etc/localtime:/etc/localtime:ro
    ports:
  • 8080:8080
    restart: unless-stopped

All as mentioned on here:

https://github.com/glanceapp/glance?tab=readme-ov-file#installation

Create the stack, it creates the container
Then it creates this repeating error:
"failed parsing config file: read glance.yml: is a directory"

Expected behavior
If there is no default configuration file whether a default minimal version, to make sure the install went correctly, that would be useful, then I can find the file, make any changes, and start using glance.

Screenshots
https://imgur.com/a/TPqO4ac

Environement (please complete the following information)

Operating System: DietPi v9.3
Glances & psutil versions: Command does not work
How do you install Glances Docker/Portainer/Docker Compose

429 reddit

I got 100+ subscriptions and easily hit the request limit

image

Do you think adding random timeouts to each fetch can help? Or maybe allow to pass personal api key

[REQUEST] Docker support

Support to view the status of docker containers.

Moving this to issues from #3 so you can add it to the backlog cause I don't think you're able to from discussions

Option to subscribe to Fediverse (Mastodon / Lemmy)

Is there an option to add support for Lemmy (reddit Alternative) and/or Mastodon (Twitter Alternative)?
It would be convenient to subscribe to Threads created in the decentralized Fediverse instead of relying on services like reddit etc.

Thanks in advance for this great project!

Synology Deployment

I've managed to deploy on my Synology NAS using Docker, would it be useful for a separate deployment guide? Happy to help.

[REQUEST] Possibility to add 4 small columns?

Right now, as stated in the configuration.md it's possible to either (a) have one full + one small columns, (b) have one full + two small columns, or (c) two full columns.

It makes sense in one of my dashboards to add four small columns. Doing so right now returns an error in the log and the program fails to start.

Would it be possible to add this four small columns mode?

[REQUEST] Target option for opening links & Bookmark icons..

Hello! Love the application!

I use the application as a new tab in my browser as well, so it would be really nice if there were an option to add "targets" to widgets that have urls.
So when I click a URL I'm monitoring or a link in bookmarks, it opens it in the same tab instead of a new one, using
target: _self

Example from HomePage app:
image

It would also be really nice if there were an option to add icons for bookmarks, makes it easier and quicker when there's a lot of them.

Feature request: Auto switch dark/light mode themes based on OS

It would be nice to be able to set two themes, one for the OS light mode and one of OS dark mode and autoswitch based on OS state. Something like:

theme-dark:
  background-color: 240 21 15
  contrast-multiplier: 1.2
  primary-color: 217 92 83
  positive-color: 115 54 76

theme-light:
  background-color: 0 0 95
  primary-color: 0 0 10
  negative-color: 0 90 50

Using CSS like this:

@media (prefers-color-scheme: dark) {
    ...
}

[REQUEST] Pre-built OpenBSD binary

Hi!

I don't know how you are building the release binaries, but please consider building OpenBSD binaries. This should be reasonably easy using GOOS and GOARCH (which I assume you're already doing).

Thanks!

[REQUEST] Custom CSS option

It would be great to have the ability to tweak the themes a bit more, for instance an option to load custom CSS.

As usecase, I'd like a smaller margin between links in the bookmark widget. I can accomplish that with a Stylish script but I'd rather use some native Glance functionality for customization.

no pictures from Reddit RSS feeds

Hi,

unfortunately there are no pictures from Reddit RSS feeds available. Other feeds working fine.

Are there any settings for RSS?

[REQUEST] WIDGET URL

Morning, i loved the home page, i'm already using, easy simple and good

I have some requests to make as WIDGET URL, today wee have

- type: reddit subreddit: technology

but it only opens on reddit.com.br, some people like to use troddit for front end and end with reddit.mydomain.com

could wee do something like this

- type: reddit subreddit: selfhosted domain: reddit.mydomain.com.br
to open the subredit on reddit.mydomain.com.br isted of reddit.com?
same to youtube or make a variable on the container to override the original url?

Multi-file configuration

Hey!

First off, I wanted to say this is a great project, and while I only found it recently, I have already recommended it to many others who are looking for an all-in-one homepage for all their news, links and media.

I would like to propose a configuration option which allows users to compose their configuration from multiple YAML files. This allows someone to ship a default configuration, but also allow users to extend the configuration without touching the basic config.

An example of how this could be used is a system-wide configuration file in /etc/glance/glance.yaml, and user-specific configurations in $HOME/.config/glance.yaml which extends the system config. This could be additional pages, themes etc.

[REQUEST] Custom sorting for Reddit, HackerNews

Add option to choose custom sorting of the feed URL.

For instance, using the url https://news.ycombinator.com/front instead of https://news.ycombinator.com gives top posts of past day in HackerNews

Similarly for Reddit

Weather widget preventing startup

Hello there. I'm having an issue getting a different weather location to work. So far I have just spun up the pre-built page, and all I did was change the weather from "London, United Kingdom" to "Ogden, Utah." I also tried "Ogden, Utah, USA" and "United States (instead of USA)." When I do this, Glance doesn't start up at all. I'm running it in CasaOS, and I'm not sure how to get logs from it, so I'm not quite sure what error I'm getting. If I change back to "London, United Kingdom," It works again. I also tried Berlin, Germany, and that seems to work as well. I looked through the docs to find anything specific about weather locations, and I also checked out the linked site where the weather data is retrieved from. Is this just an issue where a state/province is needed? Any ideas?

[REQUEST] System Resource Monitor

I'd suggest adding a system resource monitor widget on your dashboard. This monitor would display real-time information about CPU usage (with temps), memory usage, disk activity, and network performance.

Monitor not working for some URLs

I have close to 30 services in Docker that I've added to small widgets, and while most of them work fine, some of them don't, for reasons I'm not entirely sure of.

First example would be Morphos giving me Client Error. I can curl the address from the command line on my server (192.168.50.204:8084) and get some output. This is the dig response. It shows up in Glance like this. I get similar outputs from FileBrowser, Immich, and Yamtrack, though FileBrowser and Immich are Not Found errors instead of Client Error. Looks like this. Clicking on any of these links brings me to the service in a new tab just fine.

Second example would be some of the services requiring login, but not all of them. In particular:

  • Sonarr
  • Radarr
  • Prowlarr

These show up like this. Other services that require authentication show up fine.

I've tried editing the config.yml by having it go straight to the address (ip:port), with and without a trailing slash, to subdirectories (ip:port/photos), and to login URLs. No luck with any configuration. For a more clear look, here's a complete list of services (not including ones that aren't running of course):

Services that show up OK:

  • Dockge
  • Ghost
  • Glances
  • NetAlertX
  • Nginx Proxy Manager
  • Plex
  • Tautulli
  • Sabnzbd
  • Overseerr
  • VaultWarden
  • Wallos
  • Vikunja
  • FreshRSS
  • FireFish
  • Homebox
  • OpenBooks
  • Zipline

Services that don't show up OK:

  • FileBrowser
  • Radarr
  • Sonarr
  • Prowlarr
  • Yamtrack
  • Morphos
  • Immich

Thanks for any input!

[REQUEST] OptionalEnvString for Monitor.Url field

Firstly, thanks for the great application! Very cool to see a Go-backed static site! This is less a feature request and more of a tiny modification request:

For deployments in kubernetes environments, the IP addressess of services are ephemeral, and their current value is passed into containers through environment variables. As such, in a similar manner to how the GITHUB_TOKEN can be parsed from environment through its use of OptionalEnvString, I wondered if the Monitor.Sites.Url field could also be an OptionalEnvString? That way monitors can more easily resolve to Kubernetes services.

Equally, a big part of what helps this stand out to me from the rest of the dashboard apps is it's opinionated and straightforwad nature (much like the backend language it's built with!), so not a problem if you're trying to keep things that way; I appreciate Kube is probably a niche deployment scenario.

[Request] security page

Hi is there any possibility to have login page ?
i explain : i want to install Glance on my NAS to user for all my 6 user, but of cause for this i need to get one "page" customize for user.

Thnk

[FEATURE REQUEST] Translation Support

Hi team,

I’m a user of glance and I find it incredibly useful. To further improve its accessibility and user experience, I would like to request the addition of translation support.

Benefits of Adding Translations:

  • Broader Reach: Enable users from around the world to use the app in their native language.
  • Improved User Experience: Enhance usability by allowing users to interact in their preferred language.
  • Community Engagement: Encourage a more diverse and inclusive user community.
  • Increased Adoption: Potentially attract more users by supporting multiple languages.

Implementation Overview

  • Internationalization (i18n) Library: Integrate an i18n library such as go-i18n to handle translations.
  • Translation Files: Create JSON or YAML files for each supported language, containing key-value pairs for all translatable strings.
  • Language Selection: Add a mechanism for users to select their preferred language, either via a config option or by detecting the browser's language settings.
  • Dynamic Loading: Load the appropriate translation file based on the user's language selection and update the UI accordingly.
  • Fallback Mechanism: Implement a fallback to the default language (e.g., English) for any missing translations.

I believe that adding translations for languages like Italian, Spanish, French, and German could greatly benefit the app.

Thank you for considering this feature request!

Youtube Videos unable to be retrieved

2024/04/27 22:24:25 ERROR Failed to fetch youtube feed channel=UCOk-gHyjcWZNj3Br4oxwh0A error="unexpected status code 404 for https://www.youtube.com/feeds/videos.xml?channel_id=UCOk-gHyjcWZNj3Br4oxwh0A, response: \n\n \n <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">\n <title>Error 404 (Not Found)!!1</title>\n <style>\n {margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px} > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\n </style>\n \n

404. That’s an error.\n

The requested URL /feeds/videos.xml?channel_id=UCOk-gHyjcWZNj3Br4oxwh0A was not found on this server. That’s all we know.\n"

[REQUEST] Add Language Model support to Parse Feed Content

Goal:
Enhance the usability and functionality of Glance by enabling it to understand and interact with the content from the feeds more intelligently.

Benefits:
Enhanced user experience with intelligent content parsing.
Quick access to key information without needing to read through entire articles or posts.
Personalized content recommendations and insights.
Increased efficiency in content consumption.

The integration of an LLM will significantly enhance the capabilities of Glance, making it not just a feed aggregator but an intelligent dashboard that actively assists users in managing and consuming their feed content more effectively.

Thank you for considering this feature request. I believe it will bring great value to the Glance project and its users.

[BUG] Multiple items in a list are rendered in a random order

This issue may occur in other lists, but for now I have only noticed it in the stocks widget.

When I list my stocks items in order, like such ...

image

... the order in which they are rendered in the dashboard are mixed up ;

image

I obviously would expect them to occur in the same order as has been defined in the yaml.

[HELP] request-url-template

Hi, i moved from homelab to a VPS but i can't understand how to use the request-url-template option it will always give me some tipe of error like those
this way:


- type: reddit
            subreddit: selfhosted
            request-url-template: https://reddit.domain.com.br/

gave me this error :
failed parsing config file: no {REQUEST-URL} placeholder specified

this way:


- type: reddit
            subreddit: selfhosted
            request-url-template: https://reddit.domain.com.br/{REQUEST-URL}

gave me this error
Get "/https:/www.reddit.com/r/selfhosted/hot.json": stopped after 10 redirects

can you explaying and give-me an exemaple how i should put this?

i'm using a oracle VPS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.