top | item 5263277

Song of GitHub

197 points| goddabuzz | 13 years ago |song-of-github.herokuapp.com | reply

46 comments

order
[+] ajacksified|13 years ago|reply
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

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

[+] leftnode|13 years ago|reply
This is great, I love small hacks like these!

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.

[+] ajacksified|13 years ago|reply
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.

[+] Mahn|13 years ago|reply
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.
[+] pavel_lishin|13 years ago|reply
It's going to lead to someone writing a MIDIBlock extension for Chrome, which I will happily install alongside FlashBlock and AdBlock.
[+] wyuenho|13 years ago|reply
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.

http://song-of-github.herokuapp.com/?username=wyuenho

This is really really nicely done. Thanks for this. This made my day.

[+] seleucia|13 years ago|reply
Congratulations, Just a musician can think that :)
[+] joeblau|13 years ago|reply
LOL, my song is the saddest song I've ever heard. It sounds like the score to a point a play where the protagonist loses everything.
[+] sdoering|13 years ago|reply
Great idea, great thing to have fun with. And a great motivation, to contribute more in the future... ;-)