You are not logged in.

#1 2015-04-28 16:51:47

cecco4
Member
Registered: 2015-04-28
Posts: 2

new package: github-search

Hi everyone,
a few days ago i thought that having a sort of bash program that search for GitHub repository and output their link can be very useful; especially if you are working at the terminal and you doesn't want to lose time opening the browser.
I searched on the net but i find nothing that do this job, so i made a simple fast written python script:
https://raw.githubusercontent.com/cecco … -search.py

This is how it works:

$ github-search linux

  	Searching for linux 

/torvalds/linux :
  	https://github.com/torvalds/linux.git

/raspberrypi/linux :
  	https://github.com/raspberrypi/linux.git

...

It's so simple that i can't imagine no one have written something similar to this...
Do you guys think that it can become a good package to put on AUR (obliviously not this script, but a better coded and complete version) ?
or there is already a tool that do a better job and I had only lost time reinventing (badly) the wheel?

thanks,
Francesco


edit: sorry, i think i posted in the wrong section

Last edited by cecco4 (2015-04-28 16:57:58)

Offline

#2 2015-04-28 17:09:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: new package: github-search

Check out Surfraw...



Moving to Community Contributions.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-04-28 17:29:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: new package: github-search

Or try duck duck go.  I have DDG as my default search engine in firefox, so I just go to "!github linux" and I see those results on github.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2015-04-28 17:46:31

cecco4
Member
Registered: 2015-04-28
Posts: 2

Re: new package: github-search

I tried surfraw, its good but it's purpose is to open the page on a browser that is slightly different to just list the link you want ready for the clone.
But maybe it's just me and my laziness to browse pages...
Thank you, anyways I think i will continue using the script as is just for me.

Last edited by cecco4 (2015-04-28 17:50:03)

Offline

Board footer

Powered by FluxBB