Giter Club home page Giter Club logo

srom's Introduction

Sucks-Rules-O-Meter

srom is a command line tool, and accompanying library, that programmatically queries search engines to determine wether the internet thinks a given term sucks or rules.

Install

srom requires a working Go installation.

$ go install github.com/jmcvetta/srom

Usage

The first time you run srom it will create a configuration file and prompt you to populate it with Google and Azure API credentials. You must provide credentials for at least one search engine. If you only want to use one engine, remove the other engine's section from the config file.

$ srom 'johnny cash'
16:31:41 srom.go:92:              Azure Data Market        435  3030   0.143564
16:31:41 srom.go:92:           Google Custom Search         92  5540   0.016606

The term 'johnny cash' has a sucks/rules ratio of 0.0800854273152947
The internet thinks 'johnny cash' ROCKS HARD.

Documentation

See GoDoc for automatic documentation.

Supported Search Engines

Currently srom supports Google's crappy "Custom Search" API and Microsoft's likewise crappy Bing API. Alas, both of these APIs returns hit counts orders of magnitude fewer than searches on their respective websites.

I would be happy to add support for other - perhaps less craptastic - search APIs. Please alert me if you know of one. Alas, Duck-Duck-Go's API is even more crippled, as it does not return hit count for a query.

Status

Build Status

Credits

Don Marti first introduced me to - and perhaps invented? - the concept of a Sucks-Rules-O-Meter. For the historically curious, his site hosts a defunct Operating System SROM.

srom's People

Contributors

jmcvetta avatar

Watchers

 avatar James Cloos 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.