Giter Club home page Giter Club logo

lindaikeji-cli's Introduction

lindaikeji-cli npm version npm

Linda Ikeji for Men, HR Managers and Associates, Even Husbands that don't want to be caught opening the website on their browsers. - A CLI for reading Linda Ikeji's Blog Stories.

It helps you read awesome Linda Ikeji articles right in your terminal.

Installation


$ npm install -g lindaikeji

Docs


Usage: lindaikeji [options] [command]

Commands:

top [options]         List Linda Ikeji Top Stories
read <url>            Read the story right in your terminal
open [options] <url>  Opens it in your browser

Options:

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

top [options]
n, --number <int>", "specify number of stories

open [options] <url>
-a, --app <application>  specify app to open the url. Eg: firefox

Usage


There are three commands available: lindaikeji top, lindaikeji read, lindaikeji open.

top command

$ lindaikeji top

List Linda Ikeji Top Stories

$ lindaikeji top 5

List only top 5 Linda Ikeji Stories

read command

$ lindaikeji read <url>

Read the story right in your terminal

open command

$ lindaikeji open <url>

Opens it in your browser

$ lindaikeji open -a firefox <url>

Opens it in the given application, like it opens the url using firefox in above example.

Contributing


Please feel free to fork this package and contribute by submitting a pull request to add more features or fix bugs. Read more on contributing.

How can I thank you?

Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!

Don't forget to follow me on twitter!

Thanks! Prosper Otemuyiwa.

License


The source code is open-sourced software licensed under the MIT License.

lindaikeji-cli's People

Contributors

dfasoro avatar unicodeveloper avatar xkizer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lindaikeji-cli's Issues

Cannot read property $t of undefined

Please i tried using this on a windows laptop. Got this error.
Tried on both cmd and powershell.

C:\Windows\System32>lindaikeji top 10
List top 10 Linda Ikeji Stories
C:\Users\OZONE\AppData\Roaming\npm\node_modules\lindaikeji\factory\post.js:27
        content   = item.content.$t,
                                ^

TypeError: Cannot read property '$t' of undefined
    at processContent (C:\Users\OZONE\AppData\Roaming\npm\node_modules\lindaikej
i\factory\post.js:27:33)
    at C:\Users\OZONE\AppData\Roaming\npm\node_modules\lindaikeji\factory\post.j
s:57:22
    at Request._callback (C:\Users\OZONE\AppData\Roaming\npm\node_modules\lindai
keji\factory\post.js:14:7)
    at Request.self.callback (C:\Users\OZONE\AppData\Roaming\npm\node_modules\li
ndaikeji\node_modules\request\request.js:188:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (C:\Users\OZONE\AppData\Roaming\npm\node_modules\lind
aikeji\node_modules\request\request.js:1171:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (C:\Users\OZONE\AppData\Roaming\npm\node_modu
les\lindaikeji\node_modules\request\request.js:1091:12)
    at IncomingMessage.g (events.js:291:16)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

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.