Skip to content

Tools to perform basic search on GitHub.

Notifications You must be signed in to change notification settings

bc-venkata/github-search

 
 

Repository files navigation

github-search

PHP tool to perform basic search on GitHub.
Cookie session is mandatory if you don't provide organization name (GitHub requirement).
Note that the search engine is case insensitive.

Usage: php github-search.php [OPTIONS]

Options:
	-c	set cookie session
	-e	file extension filter
	-f	looking for file
	-h	print this help
	-l	language filter
	-m	look for commit, -o and -p are required
	-n	no color
	-p	provide repository name
	-o	provide organization name
	-r	maximum number of results, default 100
	-s	search string
	-t	set authorization token (overwrite cookie, best option)

Examples:
	php github-search.php -o myorganization -s db_password
	php github-search.php -o myorganization -f wp-config.php -s db_password
	php github-search.php -c "user_session=B0KqycP8LlYORc-s3WFZoH71TG" -f wp-config -e php -r 1000
	php github-search.php -t 32a11e6f340c2fe1a6071795a3b1a8c876b3cf29 -l php -s DB_USERNAME

GitHub search example



I don't believe in license.
You can do want you want with this program.

About

Tools to perform basic search on GitHub.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.2%
  • PHP 36.2%
  • Shell 5.6%