Crawl GitHub APIs and store the discovered orgs, repos, commits...
Make sure you have installed all of the following prerequisites on your development machine:
- g++ or clang++ - Compile the project, on MacOS you should install clang with
xcode-select --install
. - cmake - open-source, cross-platform family of tools designed to build, test and package software.
- make - build automation tool that automatically builds executable programs and libraries from source code by reading files called Makefiles which specify how to derive the target program.
- ccache - speeds up recompilation by caching previous compilations and detecting when the same compilation is being done.
- jq - jq is like sed for JSON data.
xcode-select --install
brew install jq ccache cmake make
apt-get install build-essential make cmake ccache jq
make # generate the debug mode executable binary
make debug # same as before
make release # generate the release mode executable binary
You can just copy the config.yaml.sample
to config.yaml
, spider
will search the config file in current directory ./etc/config.yaml
by default.
--version
or-v
- Output the spider version, and exit immediately.--version
or-c
- Set the config file path.
Now spider
support MongoDB
. Database settings are in the etc/config.yaml.sample
.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Tosone - @itosone - i@tosone.cn
Project Link: https://github.com/tosone/spider-cplusplus