tobe / qgh

Console curses browser for github repo contents
MIT License
2 stars 1 forks source link

Add requirements.txt and instructions in README #1

Closed johnmaguire closed 9 years ago

johnmaguire commented 9 years ago

infy! :D

qgh looks like it's gonna be an awesome project. :+1: I downloaded it cuz it sounded cool, figured it wasn't finished. :)

I figured I'd at least toss you a requirements.txt and installation instructions. :)

tobe commented 9 years ago

Heyyy! Thanks :D

It was added more as a proof of concept, but it's not that far from its basic functionality, and that is to pass a username/repo and view the contents. I'll remove the hardcoded data.txt which was used for testing and not spamming the API itself and actually implement the httplib part which fetches data from the API.

Also I'm not that very good at python haha, so I'm just improvizing as I go along. I use it more as a hobby language rather than a language I'm focusing on (such as PHP :unamused: )

But yeah, what was annoying for me at least was the need to switch to firefox and open the repository manually and then check some file out. Cloning could take a long time, depending on the size of the repository. This way you can simple not ever leave your terminal and view files in your favorite editor, such as vim. For someone using sublime for example, with popen stuff I think you can make sublime open the current file in its existing window.

Furthermore, I'd like to add an ability to quickly jump to any file by using some sort of "search" and things like that, just to make it a bit more easier to navigate, all in all.

Thanks for the request, didn't know you could do the pip thing from the file :smile: