daledavies / jump Goto Github PK
View Code? Open in Web Editor NEWJump is a self-hosted startpage and real-time status page for your server designed to be simple, stylish, fast and secure.
License: MIT License
Jump is a self-hosted startpage and real-time status page for your server designed to be simple, stylish, fast and secure.
License: MIT License
Hi. Just wanted to let you know you did a great job with jump.
I absoluteley love it.
I would like to request a bit of improvement in my opinion.
I am currently using Lorem Space (https://lorem.space/) to provide similar functionality for Unsplash, but I host my own backgrounds for different services. I simply point my URL to grab a wallpaper from the server with the desired resolution and with every new request, I get a different wallpaper.
This works great behind corporate firewalls where, unfortunatley, unsplash/pixabay and other services are blocked.
Is it possible to implement the lorem.space URL request for backgrounds?
Happy to provide more info if you need it.
Hi!
While using Jump for the last several months I've noticed a random bug when the icons of the websites become invisible. They are present, because when I hoover the mouse over - I can see the tooltip, and clicking them also works. When this happened last time I've noticed some errors in the logs so I thought it would be at least a starting point:)
First, screenshots made with Safari and Firefox(notice the tooltip and the address in the lower left corner):
I was able to reproduce it on 1.3.0 and 1.2.4. Can test on any older version if needed.
Unfortunately, I haven't found the exact steps to make it happen. However, when it happened I tried doing this:
CACHE_BYPASS
variablefavicon
and search
featuresnone of these actions helped.
Here is the command that I used
docker run -d --restart unless-stopped \
-v "<path>/Containers/jump/sites:/sites" \
-v "<path>/Containers/jump/favicon:/favicon" \
-v "<path>/Containers/jump/search:/search" \
-v "<path>/Containers/jump/backgrounds:/backgrounds" \
-e SITENAME="Name" \
-e SHOWCLOCK="true" \
-e AMPMCLOCK="false" \
-e SHOWGREETING="true" \
-e SHOWSEARCH="true" \
-e ALTLAYOUT="false" \
-e CHECKSTATUS="false" \
-e BGBLUR="60" \
-e BGBRIGHT="50" \
-e NOINDEX="true" \
-e OWMAPIKEY="<some gibberish>" \
-e METRICTEMP="true" \
-e LATLONG="LAT, LON" \
-l traefik.enable=true \
... some traefik labels ...
--name jump daledavies/jump:v1.3.0
Aug 12 13:17:05 Homeserver 008dbb353f56[48783]: 2022/08/12 12:17:05 [error] 25#25: *23 open() "/var/www/html/images/tags.svg" failed (2: No such file or directory), client: 172.17.0.5, server: _, request: "GET /images/tags.svg HTTP/1.1", host: "aviary.lan", referrer: "http://aviary.lan/"
Aug 12 13:17:05 Homeserver 008dbb353f56[48783]: 2022/08/12 12:17:05 [error] 26#26: *26 open() "/var/www/html/images/search.svg" failed (2: No such file or directory), client: 172.17.0.5, server: _, request: "GET /images/search.svg HTTP/1.1", host: "aviary.lan", referrer: "http://aviary.lan/"
Aug 12 13:17:05 Homeserver 008dbb353f56[48783]: 2022/08/12 12:17:05 [error] 25#25: *25 open() "/var/www/html/images/loading.svg" failed (2: No such file or directory), client: 172.17.0.5, server: _, request: "GET /images/loading.svg HTTP/1.1", host: "aviary.lan", referrer: "http://aviary.lan/"
So naturally, I logged into the container and did this
bash-5.1# ls /var/www/html/images
ls: /var/www/html/images: No such file or directory
bash-5.1# find / -name "tags.svg"
/var/www/html/assets/images/tags.svg
/usr/src/jumpapp/assets/images/tags.svg
Looks like a path has been changed but not updated somewhere in the code?
I can also provide a full log where I saw the errors if this is of any interest:) Let me know if I can help with it any further:)
I am loving Jump as my new start page. I added all my self hosted applications and noticed that Jump does not handle self signed certificates well. First in the status checker this line:
https://github.com/daledavies/jump/blob/main/jumpapp/classes/Status.php#L46
starts the GuzzleHttp client and needs an option to allow unverified certs. See: https://docs.guzzlephp.org/en/stable/request-options.html#verify
Additionally the get Favicon function also does not respect HTTPS self signed certs.
Line which gets the Favicon: https://github.com/daledavies/jump/blob/main/jumpapp/classes/Site.php#L72
I understand you are using a third part library for this (https://github.com/ArthurHoaro/favicon). I found this area https://github.com/ArthurHoaro/favicon/blob/master/src/Favicon/DataAccess.php#L37 which needs to be changed to allow HTTPS. (See https://www.php.net/manual/en/context.ssl.php)
Thanks!
Issue with daylight savings
The clock in the lower right hand corner shows GMT instead of BST
First of all thank you for creating jump.
I think time is not really required on dashboard because everyone can always see their system time. This is true even on phones. Instead of time something else like temperature can be shown to the user or maybe something else that is useful.
Besides I found that the time that I am seeing on dashboard is different from the time on my desktop clock. I believe it has chosen incorrect time zone as their is difference of almost 7 hours between the time.
I downloaded all the mentioned packages and uploaded them to the vendor directory:
"require": {
"mustache/mustache": "~2.5",
"arthurhoaro/favicon": "~1.0",
"nette/caching": "^3.1",
"nette/routing": "^3.0.2",
"phlak/config": "^7.0",
"nette/http": "^3.1",
"unsplash/unsplash": "^2.5"
}
But I get an error
Fatal error: Uncaught Error: Class "Jump\Main" not found in /PATHONSERVER/jumpapp/index.php:21 Stack trace: #0 {main} thrown in /PATHONSERVER/jumpapp/index.php on line 21
What is the /vendor/autoload.php
file ?
I`ve no experience with composer - sorry
Does the site redirecting for authentication keep jump from being able to pick up that the site is up? I feel like 2XX and 3XX should be considered up, 4XX and 5XX considered down. (Or maybe have the ability to specify which status codes are considered up?)
So I have a weird issue.
If I add a new icon and configure the site.json the icon refuses to load on the website, but If I use any of the old one that were there in the folder it loads fine.
Hi,
At the moment I'm using Jump in a docker container (via Unraid), I really like it. I use it as my homepage.
I checked the css a bit and I saw that the max-width of the page was 650px (for .content), after changing it to 1000px it looks a bit better on a higher resolution (to me at least in 1440P).
But as you probably already know, the changes inside the docker container aren't persistent.
Is it possible to make it so we can set a custom max-width ?
Thanks.
Hello, thanks for this new project
Install is fine through Docker, seems to work, but nothing except the background appears
-------------------------------------------------------------
- Repopulating web root with application files.
- Check if backgrounds or sites volumes have been mounted.
- Backgrounds directory is mapped... symlinking.
- Sites directory is mapped... symlinking.
- All done! Starting nginx/php services now.
-------------------------------------------------------------
[06-Apr-2022 17:09:47] NOTICE: fpm is running, pid 17
[06-Apr-2022 17:09:47] NOTICE: ready to handle connections
192.168.1.82 - - [06/Apr/2022:17:10:03 +0000] "GET / HTTP/1.1" 200 1131 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36" "-" 0.091 0.090 .
Hello, do not judge strictly, I do not understand much, but I set jump to unraid and I can not turn off the background blur effect. Adding a variable BGBLUR with a value of 0 doesn't help either. If possible, can you tell me how it can be done?
Since you are taking requests :)
For me, I cannot switch to this until I have the ability to categorize things (because I have too many for one page to look nice and organized).
I would request the ability to define categories/tags and then place services in them. One service might be a member of more than one category, if possible. If you settle on the tag nomenclature, it could look like:
`
Proxmox Node 1
url: https://pve1.my.domain
tag: #proxmox
Synology
url: https://syn.my.domain
tag: #nas, #vpn
`
Just a thought. It would build the views based on tags. Maybe you need either #home
to be explicit or blank would assume home page, otherwise it would display each tag as a link/folder which would then open up an aggregated list.
Here is part of my Heimdall dashboard in the "DNS" category, just to give you an idea:
Hey, had another nice idea (at least for me):
It would be great if it would be possible to include the tag in the URL to direct jump to the desired dash.
Like if i go to jump.domain.com i reach the standard "home-tag"-dashboard, but if i go to jump.domain.com/my-tag i jump directly to the desired dashboard.
This bookmark:
{
"name": "Github",
"url" : "https://github.com/notifications?query=is%3Aunread"
},
Results in this error:
GET http://start.ho.me/api/icon.php?siteurl=https://github.com/notifications?query=is%3Aunread 500 (Internal Server Error)
VM33:1 Uncaught (in promise) SyntaxError: Unexpected end of JSON input
Hello
I wanted to know if there are any plans to support arm platform? I want to run Jump over the Raspberry Pi so that I can access my dashboard on both mobile and laptop.
I previously had generated ARM images successfully but I am no longer able to do so. The error I am getting is below
=> ERROR [linux/arm64 builder 3/3] RUN composer install --no-dev --optimize-autoloader --no-interaction --no-progress 0.2s
=> CANCELED [linux/arm/v7 builder 2/3] COPY jumpapp/ /app 0.0s
------
> [linux/arm64 builder 3/3] RUN composer install --no-dev --optimize-autoloader --no-interaction --no-progress:
------
Dockerfile:5
--------------------
4 | COPY jumpapp/ /app
5 | >>> RUN composer install --no-dev \
6 | >>> --optimize-autoloader \
7 | >>> --no-interaction \
8 | >>> --no-progress
9 |
--------------------
error: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c composer install --no-dev --optimize-autoloader --no-interaction --no-progress" did not complete successfully: exit code: 1
I understand that arm images are not officially supported but any help or pointers in this regard would be highly appreciated.
Thanks.
Typically on startup of the container the below error is seen unless there is an environment variable for disabling enabling IPV6. Looking at the documentation README and installation I did not see one. Also looked at the previous closed / opened issues as well.
██ ██ ██ ███ ███ ██████
██ ██ ██ ████ ████ ██ ██
██ ██ ██ ██ ████ ██ ██████
██ ██ ██ ██ ██ ██ ██ ██
█████ ██████ ██ ██ ██
https://github.com/daledavies/jump
Checking if backgrounds, favicon, search or sites volumes have been mounted.
All done! Starting nginx/php services now.
[09-Aug-2022 21:19:10] NOTICE: fpm is running, pid 23
[09-Aug-2022 21:19:10] NOTICE: ready to handle connections
2022/08/09 21:19:10 [emerg] 24#24: socket() [::]:8080 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:8080 failed (97: Address family not supported by protocol)
This is a feature request. I was thinking something like a REST endpoint that supports GET method. Basically we just send the entire url as a GET request to server and it will add that url to the json config. This way users don't have to login to their servers every time they need to add new site. It might work something like this
https://startpage.example.com/?url=http://github.com
I believe the icon part is already implemented in jump, title we might have to think about. We could also use additional query parameters to specify tags for certain url but that can be done in future versions. I myself would have picked this up but I have background in Go and have not worked with PHP.
What do you think?
Hi,
First of all I love Jump and I already started switch from Heimdall. The only issue I have is Jump won't show green status for services on ports other than 80, for example for proxmox running on port 8006 status is unknown. I would love to see all green for my services running on different ports :)
Thank you :)
Mack
Hi there, can you please add environment option to set openweather api lang for descriptions.
Parameter is there on the API (https://openweathermap.org/current)
It might be great to have the option for this awesome app.
Thanks.
I have set this up on unraid and no matter what i try i cannot get the time correct or the weather to show.
EDIT: Weather is corrected by correcting the key spelling, please update dockerhub and github to correct this as you have different spelling for the key fields OWMAPIKEY & OWPAPIKEY should be OWMAPIKEY on both sites.
Time is still incorrect and goes to NaN:NaN
I've deployed Jump on my Docker server using Portainer. Everything is mapped to a shared folder on my server so I can easily manage things.
When I go to the Jump dashboard, the backgrounds load, but I get no icons.
Looking at the source code shows me that the first div after the body tag has this class: content fixed hidden status
The "hidden" class has an opacity of 0, which is why I'm not seeing anything. I've tried other browsers and have made sure there are no ad blockers or other things that might interfere.
I've even checked on my phone, but am not getting different results.
I've added my own weather API key and have updated my lat/long info just as toubleshooting ideas.
When looking at the browser console, I get the following errors:
The container logs seem unremarkable...
_jump_web_1_logs.txt
I'm happy to provide more information as needed.
Thanks!
Hi All
I managed to setup my Jump dashboard. Got it up and running and working 100%
I am able to add new sites, add icons and make any changes, but as soon as I add a tag the site gives me a error 500.
Example below:
"sites": [
{
"name": "My Name,
"url" : "My Url",
"description": "My Description",
"icon": "ms_form.png",
"nofollow": true,
"newtab": true
"tags": ["forms"]
}
If I save it as above then I get the Error 500, If I remove the ( "tags": ["forms"] ) then everything works correctly and the site loads.
Regards
Paths like the following are defined in Config() but not used here...
Line 33 in 0ba2537
Is it possible to add an open in new tab function? I have attempted to use the Homer way (target: "_blank") but it doesn't work
Nice work!
I have a request, how about having a searchbar (with optional custom search-engine address)?
Having Jump as a default newtab homepage, that would save quite a few steps.
First of all: Great tool. Switched from Dashy to Jump, as it is beatiful, and just enough to do the job.
Is is possible to add a feature to have more than one tag showed on the front page ? Maybe let us choose wich ones are the additional tags ?
Like the picture below (i´m a verry talented paint-artist ;)
I usually pin my dashboard so that I do not accidentally close it. In Firefox once we have pinned the tab it is reduced to favicon as shown below. But because jump does not have favicon at the moment it shows the default icon which is not aesthetically pleasing.
A nice favicon would also fit well with rest of jump dashboard.
This is unfortunately inconsistent, but at times images aren't loaded correctly, resulting in a broken image.
The value corresponding to "image"-key matches the name of the image stored in the icons directory.
I've checked the source and when following the link to the icon HTTP error 500 is returned.
Like the title notes, it would be a nice feature to be able to choose between 12 and 24 hour time.
Originally posted by Tataukee October 3, 2022
Can you add weatherapi ? The openweather has never been working for me ?
I saw a weird behavior with my setup. The time on startpage keeps changing by 12 hours and sometimes NaN. This changes greetings from Good Morning to Good Night and then Good undefined. I am using arm image by @just5ky. Both time on my system and server are properly set. Also I see half hour delay with the time when it is close to my actual time.
Great work with this, it's exactly what I was looking for to get a static homepage running.
I was wondering if it would be possible to add a description to the sites, perhaps on hover?
My non-technical users might not know what some of the sites are for so having a brief description would be ideal.
When switching to the Jump tab on Mac OS with Vivaldi,
CPU load start to reach 20% and more and fans start to be quite noisy. Switching to another tab will reduce CPU and fan noise.
Grammar Error
startpage -> start page
hi, thanks for this great homepage!
i have set it up with unsplash api and love random background from the internet.
However, i download a lot, so sometimes the home page takes a while to load when internet traffic is busy.
So, i was wondering if you could set a timeout for unsplash, so that if it times out, jump gets a random background from the /background folder.
and kindly let us customize/config the timeout period plz.
thanks!
Remembering to edit the source version of templates is confusing.
Can you please add nofollow as a global option?
Would it be possible to add a "Marquee Effect" for names of links?
Basically so the name text bounces left to right so you're able to see all the text.
Hey!
Any chance of a variable to have our custom favicons for the main jump website? At the moment I had to fork the build to change the favicon.png and rebuild lol.
I'm running the unraid docker container and it refuses to change the site name, keeps saying jump
I use a reverse proxy in my DMZ to forward pages from my internal net to WWW.
If I want to put this page onto domain.tld/start and have it proxy to jump:8123/ it requests the underlying sources wrong with "/" being the webroot.
So instead of domain.tld/start/background.php
it requests domain.tld/background.php
Which of course fails
If I omit the "icon" field in sites.json for a site that I'm hosting myself, where the URL points to a site that is reverse-proxied through NGINX, the favicon doesn't show up in Jump.
/api/icon?
does show up in the docker logs and looks right to me. It returns a 200.Hi, I've been able to install Jump without issue on my MacBook, but when I install to my Synology NAS using the same .yml file, I receive the error below. The error only appears after trying to navigate to the startpage in the browser on port 8123. Additionally, when installing to my Synology, Docker kept erroring out saying that each folder (backgrounds, favicon, search, sites) did not exist. I manually created them, and while it seemed to install correctly after that, the below error was logged when trying to actually use the tool. Thanks in advance for any insight!
NOTICE: PHP message: PHP Warning: file_get_contents(/var/www/html/sites/sites.json): Failed to open stream: No such file or directory in /var/www/html/classes/Sites.php on line 75
172.22.0.1 - - [29/Jul/2022:18:28:47 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" "-" 0.164 0.164 . -
NOTICE: PHP message: PHP Fatal error: Uncaught Jump\Exceptions\ConfigException: There was a problem loading the sites.json file in /var/www/html/classes/Sites.php:77
Stack trace:
#0 /var/www/html/classes/Sites.php(48): Jump\Sites->load_sites_from_json()
#1 /var/www/html/classes/Cache.php(141): Jump\Sites->Jump{closure}()
#2 /var/www/html/vendor/nette/caching/src/Caching/Cache.php(105): Jump\Cache->Jump{closure}()
#3 /var/www/html/classes/Cache.php(142): Nette\Caching\Cache->load()
#4 /var/www/html/classes/Sites.php(49): Jump\Cache->load()
#5 /var/www/html/classes/Pages/HomePage.php(42): Jump\Sites->__construct()
#6 /var/www/html/classes/Pages/AbstractPage.php(60): Jump\Pages\HomePage->render_header()
#7 /var/www/html/classes/Pages/AbstractPage.php(67): Jump\Pages\AbstractPage->build_page()
#8 /var/www/html/classes/Main.php(69): Jump\Pages\AbstractPage->get_output()
#9 /var/www/html/index.php(22): Jump\Main->init()
#10 {main}
thrown in /var/www/html/classes/Sites.php on line 77
Hello, I know thats probably a newbie question, but since i couldnt find something about it in the readme, but does this load on mobile browsers? Since i have the default setup, but the sites arent displaying, only the background and menu are.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.