GithubHelp home page GithubHelp logo

bhaggerty / headhunter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adamierymenko/headhunter

0.0 2.0 0.0 148 KB

Pull all GitHub projects from a geographic location

License: BSD 2-Clause "Simplified" License

JavaScript 100.00%

headhunter's Introduction

headhunter: pull every GitHub repo in a geographic area

This utility consists of a small NodeJS program to dump 'git clone' commands to pull every repository in a geographic area or city.

From there you can grep the code, perform analytics on it, anything you want to find potential candidates with relevant coding skills. Note that there are lots of great candidates out there without much on GitHub so this is by no means an exhaustive search, but I wrote this because I thought it was one interesting avenue to pursue.

To use:

npm install

node headhunter.js GitHubAPIToken 'Location'

Examples:

node headhunter.js GitHubAPIToken 'Irvine'
node headhunter.js GitHubAPIToken 'Huntington Beach'
node headhunter.js GitHubAPIToken 'Los Angeles'
node headhunter.js GitHubAPIToken 'Lake Forest'

You get the idea.

Note that some place names might not be unique, so you'll still have to more deeply research anyone who matches to make sure they're actually where you think they are.

The script dumps git commands, and between each is a sleep delay to keep from slamming GitHub too badly. Just redirect output into a file and then 'source' or '/bin/bash' the file to execute it.

Once you have all the repos, you can do stuff like:

find heads -type f -print0 | xargs -0 grep -F SHA512

It takes a while, so click here for a soundtrack:

Front 242: Headhunter

Enjoy!

headhunter's People

Contributors

adamierymenko avatar

Watchers

Blake Haggerty avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.