Re:Song of GitHub
by ajacksified on Friday February 22, 2013 @12:28PM
(#5265381)
Author here. Thanks for the wonderful comments! I also fixed the https issues.
This was really taken to the next level thanks to a couple of pull requests from some really talented developers; rpflorence, phuu, and everyone else with issues and pull requests. This is what makes open source so cool. https://github.com/ajacksified/song-of-github/contributors
Re:Song of GitHub
by glitchdout on Friday February 22, 2013 @09:43AM
(#5264360)
It works if you use http instead of https. I don't know why RyanMcGreal linked it that way. jQuery isn't getting loaded over https so that's why it's not working.
Re:Song of GitHub
by calebegg on Friday February 22, 2013 @10:22AM
(#5264578)
You're (probably) either not on Chrome (which blocks mixed content by default), or HTTPSEverywhere changes that feature (since blocking mixed content breaks a lot of websites' https version)
Re:Song of GitHub
by ajacksified on Friday February 22, 2013 @12:43PM
(#5265462)
Great idea; I've heard it a few times. I actually built this against an undocumented API call; if you watch the network tab when you open up GitHub, it makes an ajax request for JSON. I replicated that request with https.get on the server, then dump that json out on the page (to get around CORS problems.)
I think they're using sessions to determine if you're logged in / authenticated; so I'd need to either see if I can just pass in an oauth token and see what happens, wait for them to build an API around it, or just do the work of combing the repositories and build the data manually.
Re:Song of GitHub
by Mahn on Friday February 22, 2013 @07:31AM
(#5263907)
Also, it's just me or does MIDI.js have the potential to lead the renaissance of midi music on the internet? I had almost forgotten midi files existed if it weren't for this lib.
Re:Song of GitHub
by wyuenho on Friday February 22, 2013 @11:47AM
(#5265153)
I like how mind sounds. Sounds like a lone explorer searching for programming nirvana for a year, got disappointed for a little bit, and then eventually rediscovered the joy of programming again.
I would suggest that for those people who don't contribute quite as often as big contributors, to change the pace inbetween large gaps so the song isn't just a note followed by 30s of nothing. But this is great!
This was really taken to the next level thanks to a couple of pull requests from some really talented developers; rpflorence, phuu, and everyone else with issues and pull requests. This is what makes open source so cool. https://github.com/ajacksified/song-of-github/contributors
Also, Midi.js is really fun to play with. http://mudcu.be/midi-js/
Obligatory song link: http://song-of-github.herokuapp.com/?username=ajacksified
How fitting that it ends on a discordant note.
Here's the correct link: http://song-of-github.herokuapp.com/?username=aaronsw
Hell yeah!, I love open source!
edit: aaand fixed. also, had to switch to google; code.jquery.com doesn't provide https :(
Funny - the https link works for me.
I would love to be able to authorize it with my Github account so it can read my contributions to my private repository. All around great work.
I think they're using sessions to determine if you're logged in / authenticated; so I'd need to either see if I can just pass in an oauth token and see what happens, wait for them to build an API around it, or just do the work of combing the repositories and build the data manually.
Very nice :)
http://song-of-github.herokuapp.com/?username=charonn0
http://song-of-github.herokuapp.com/?username=wyuenho
This is really really nicely done. Thanks for this. This made my day.
http://song-of-github.herokuapp.com/?username=jashkenas