Giter Site home page Giter Site logo

sidmishraw / brood Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 458 KB

A small Node.js based CLI application for searching OpenGenus/cosmos from the terminal using GitHub's search APIs.

License: MIT License

JavaScript 100.00%
brood-crawler cosmos-search cosmos brood cli

brood's Introduction

brood

brood is a small Node.js based CLI application. brood allows you to search for algorithms and their implementations from the OpenGenus/cosmos repository.

Note: Since brood is a CLI application, I've limited the search results to just 10.

Points to be noted:

  • Brood is optimized for Mac OS system (I don't have access to a Windows or Linux at the moment :D). To follow the links, just press and hold Command key over the links and double click it.

  • If you have the tapback feature enabled, Mac OS does allow you to Quick Look by opening a small safari window at the point of click - IMHO that's one pretty cool feature :D

Requirements:

  • Node.js

Installation instructions:

  • Download the brood.js from the bin directory.

  • Make it executable:

chmod +x brood.js
  • Symlink it to /usr/local/bin/brood.

  • Search by specifying the search string. For example:

brood dfs

Sample output:

Usage

sidmishraw@Sidharths-MBP ~/G/j/brood-crawler> ./bin/brood.js

  Usage: brood [options]

  Search OpenGenus/cosmos from your command-line.


  Options:

    -V, --version  output the version number
    -h, --help     output usage information

    Usage Example
    ~~~~~~~~~~~

    brood [search-string]


sidmishraw@Sidharths-MBP ~/G/j/brood-crawler> 

Search

sidmishraw@Sidharths-MBP ~/G/j/brood-crawler> ./bin/brood.js bloom filter
Quick 10 Search Results:
~~~~~~~~~~~~~~~~~~~~~~~

Double click while holding "Command" key to follow the link.

  
  1. "bloom_filter.cpp" is located at "cosmos/code/data_structures/bloom_filter/bloom_filter.cpp".
  URL: https://github.com/OpenGenus/cosmos/blob/bb678bba755969715ed2e9d0199389ea29f1cfb6/code/data_structures/bloom_filter/bloom_filter.cpp

  

  
  2. "bloom_filter.c" is located at "cosmos/code/data_structures/bloom_filter/bloom_filter.c".
  URL: https://github.com/OpenGenus/cosmos/blob/bb678bba755969715ed2e9d0199389ea29f1cfb6/code/data_structures/bloom_filter/bloom_filter.c

  

  
  3. "BloomFilter.scala" is located at "cosmos/code/data_structures/bloom_filter/BloomFilter.scala".
  URL: https://github.com/OpenGenus/cosmos/blob/bb678bba755969715ed2e9d0199389ea29f1cfb6/code/data_structures/bloom_filter/BloomFilter.scala

  

  
  4. "bloom_filter.js" is located at "cosmos/code/data_structures/bloom_filter/bloom_filter.js".
  URL: https://github.com/OpenGenus/cosmos/blob/bb678bba755969715ed2e9d0199389ea29f1cfb6/code/data_structures/bloom_filter/bloom_filter.js

  

  
  5. "BloomFilter.java" is located at "cosmos/code/data_structures/bloom_filter/BloomFilter.java".
  URL: https://github.com/OpenGenus/cosmos/blob/bb678bba755969715ed2e9d0199389ea29f1cfb6/code/data_structures/bloom_filter/BloomFilter.java

  

  
  6. "bloom_filter.py" is located at "cosmos/code/data_structures/bloom_filter/bloom_filter.py".
  URL: https://github.com/OpenGenus/cosmos/blob/0c6311590566e799b432d514620f848259da2276/code/data_structures/bloom_filter/bloom_filter.py

  

  
  7. "bloom_filter.swift" is located at "cosmos/code/data_structures/bloom_filter/bloom_filter.swift".
  URL: https://github.com/OpenGenus/cosmos/blob/bb678bba755969715ed2e9d0199389ea29f1cfb6/code/data_structures/bloom_filter/bloom_filter.swift

  

  
  8. "README.md" is located at "cosmos/guides/coding_style/javascript/README.md".
  URL: https://github.com/OpenGenus/cosmos/blob/895c448b70ba3e9bafdc982b43e8cacce794a409/guides/coding_style/javascript/README.md

sidmishraw@Sidharths-MBP ~/G/j/brood-crawler> 

-Sid

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.