Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 2.02 KB

README.md

File metadata and controls

50 lines (37 loc) · 2.02 KB

metaparser

A project to parse meta information to extract IPs/ CIDRs from Github, Cloudflare and AWS (and more) for whitelisting. The output is produced in an nginx compatible format so you can use the binary executable in your cron to automatically refresh the list of IPs.

This project directly utilizes the following open sources projects:

  1. Cobra for implementing the CLI interactions
  2. Go-Resty as its HTTP client library
  3. Govvv to add version information during its build process
  4. Logrus as its logging library
  5. Dotsql for SQL migrations (not being used currently)
  6. Gopsutil - CPU for CPU information (not being used currently)
  7. Gopsutil - Load for system load information (not being used currently)
  8. Viper for reading configuration files
  9. Times for file times (atime, mtime, ctime, btime)

Code tries to conform to the Golang Standards Project layout template

Building

  1. Install Govvv

  2. Clone the repository

    git clone https://github.com/shammishailaj/metaparser.git
  3. Change into the directory

    cd metaparser
  4. Issue the build command

    make build

Or, grab the latest release from the releases page

Command Reference

  1. help

To display help about a command

Invoked By: metaparser help [command]

For detailed documentation, use the inbuilt command docs to generate the documentation. For help on using the docs command use:

metaparser help docs