Giter Site home page Giter Site logo

chris-hmmr / terminal-howlongtobeat Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 79 KB

terminal-howlongtobeat is a terminal based application to get the game length data from https://howlongtobeat.com

License: GNU General Public License v3.0

JavaScript 99.51% Procfile 0.49%
games terminal howlongtobeat video-games terminal-howlongtobeat terminal-application

terminal-howlongtobeat's Introduction

terminal-howlongtobeat

terminal-howlongtobeat is a terminal based application providing game length information from howlongtobeat.com for your favorite video-games!

How to use

CLI usage without npm package installation

$ curl https://terminal-howlongtobeat.herokuapp.com/<Name+of+Game>

Example

$ curl https://terminal-howlongtobeat.herokuapp.com/Baldurs+Gate

image

CLI usage with npm package

You can also install terminal-howlongtobeat package from npm and run the built-in commands from command line interface (cli)

  1. install cli globally
npm i terminal-howlongtobeat -g
  1. run the commands to get information
Available commands
terminal-howlongtobeat --help // to get help
terminal-howlongtobeat --version  // to see the version
terminal-howlongtobeat -g [name of game] // to fetch data for provided name

Example

terminal-howlongtobeat -g Dishonored

image

Tech

  • [node.js] - evented I/O for the backend
  • [Express] - fast node.js network app framework
  • [howlongtobeat] - npm package providing game data [@ckatzorke]
  • [cli-table3] - allows to compose cli-optimized tables

Installation

Requires Node.js v8+ to run. Install the dependencies and devDependencies and start the server.

$ git clone "https://github.com/chris-hmmr/terminal-howlongtobeat"
$ npm install
$ npm run serve

Development

Want to contribute? Great! Feel free to open a PR

Support

If you like what you see, feel free to buy me a โ˜•๏ธ.

Buy Me A Coffee

Enjoy! :)

terminal-howlongtobeat's People

Contributors

chris-hmmr avatar

Stargazers

 avatar  avatar

Watchers

 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.