Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code stopped to be displayed #11

Open
neonsamurai opened this issue Dec 7, 2017 · 13 comments
Open

Code stopped to be displayed #11

neonsamurai opened this issue Dec 7, 2017 · 13 comments

Comments

@neonsamurai
Copy link

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
Copy link
Owner

winterbe commented Dec 7, 2017 via email

@emmiaxent
Copy link

emmiaxent commented Jan 25, 2018

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
Copy link

@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
Copy link

@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
Copy link

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
Copy link

@OctavioBR

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

@winterbe
Copy link
Owner

winterbe commented Jan 31, 2018

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
Copy link

@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
Copy link
Owner

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
Copy link

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

@seguri
Copy link

seguri commented Jul 11, 2018

@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
Copy link

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

@yrsswerve
Copy link

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 [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants