winterbe / github-matrix-screensaver

The GitHub Matrix Screensaver for Mac OSX
http://winterbe.github.io/github-matrix-screensaver/
Other
571 stars 335 forks source link

Code stopped to be displayed #11

Open neonsamurai opened 6 years ago

neonsamurai commented 6 years ago

A couple of days ago the screen saver stopped displaying Github code. It will still show the 'initialisation' animation with the numbers, but after that will turn black and not display anything anymore.

Has something changed on the Github side, so that the screen saver can't pull in data anymore?

winterbe commented 6 years ago

Unfortunately I had to turn of the backend server because Heroku has changed their free plans and I don’t wanna risk to get into payment range. So the screensaver does no longer work out of the box. However you could host your own server and use the screensaver with your host. The server code is freely available on my profile.

Cheers.

Tim Jagodzinski notifications@github.com schrieb am Do. 7. Dez. 2017 um 10:26:

A couple of days ago the screen saver stopped displaying Github code. It will still show the 'initialisation' animation with the numbers, but after that will turn black and not display anything anymore.

Has something changed on the Github side, so that the screen saver can't pull in data anymore?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/winterbe/github-matrix-screensaver/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdmqVvD-alsPP4QicSKWBD0iCujzA4Sks5s969CgaJpZM4Q5PHg .

emmiaxent commented 6 years ago

However you could host your own server and use the screensaver with your host.

Could you please tell me how you do that? I really like your screen saver :)

OctavioBR commented 6 years ago

@emmiaxent just build your own server from this code https://github.com/winterbe/github-matrix and replace the url https://github-matrix.herokuapp.com/fetch by your own. It could run locally I believe.

emmiaxent commented 6 years ago

@OctavioBR i don't know really know what i'm doing but i managed to run the app on the built-in mac web server, i think. I cd'd into the project directory and run the mentioned commands, no errors. At the last command it was doing something, fetching is the word i think, until it maxed out at 1000 cache size and was going so i shut the terminal at that point. But i still can't make it work. What do i change the url change to? I used "localhost", "localhost/fetch", "localhost/github-matrix-master/fetch". Which all don't seem to work when i start the screensaver. The web server is running.

What could it be? Could you help me please?

OctavioBR commented 6 years ago

Sorry, I haven't got the time to run it myself. Will do it asap... Meanwhile, some tips that you may have to check:

  1. Did you generated your apiToken wrote it into application.properties? (as described in the README.md)
  2. Yes, the url must be localhost. But you must provide http://, and check if your server is running on port 80. Otherwise you should change it to the proper port, let's say 5000... http://localhost:5000

When I manage to configure myself I'll post better instructions here. Also, I may fork winterbe's github-matrix and rewrite it in Go 😁

emmiaxent commented 6 years ago

@OctavioBR

  1. Yea, api token is written there.
  2. Updated the url with the port. Does still not work sadly :(
winterbe commented 6 years ago

Please follow the steps described here: https://github.com/winterbe/github-matrix#be-your-own-operator

You don't need any third-party webserver, it's all built-in. Just build and start the Java process as described after adding your personal Github API token and you're good to go. Default port should be 8080, so after running the java command without errors, open the url http://localhost:8080 in your browser.

Make sure that no exceptions are thrown when executing the commands.

emmiaxent commented 6 years ago

@winterbe Ok, so you were right. When i type in http://localhost:8080 in the browser, it works. But when i change the url in matrix.js in the screensaver folder to http://localhost:8080 and start the screensaver it doesn't work. Am i doing something wrong?

winterbe commented 6 years ago

Change url in this line to http://localhost:8080/fetch. If that doesn't work try http://127.0.0.1:8080/fetch. If that also doesn't work than I don't know. :)

Attention: It's http, not https!

emmiaxent commented 6 years ago

@winterbe so, i did that and it is still not working :(

seguri commented 6 years ago

@winterbe can't you open a free account, verify it and dedicate it to be the backend for this screensaver? you get enough dynos/month to run it freely. what are your concerns?

ivanorotondo commented 5 years ago

now it's working again. thank you so much! 💯 :)

yrsswerve commented 1 year ago

Hey @winterbe can you please follow me on instagram @yrsswerve or text me 9292043755 so I can ask you more In depth how can I help you pay for this screen saver to continue to run? How much does it even cost. Please get back to me asap email yrsswerve@gmil.com