Coder Social home page Coder Social logo

loopy's Introduction

Loopy

CBA Loop on CLI

Standard - JavaScript Style Guide

Loopy is an unofficial cli client for CBA Loop. Loopy allows you to

  • Query Account balance
  • See your expenditure
  • Send money to M-Pesa via cli

CBA Loop on CLI

New Features Coming soon!

  • Move money to bank
  • Create investments
  • Global lib so you can just do loopy in your bash

Why?

I wanted to send my mother money without leaving the terminal (talk of being lazy!!), so I setup this. This can be very important in automation of your bill payments :)

Tech

Loopy uses a number of open source projects to work properly:

  • Axios - The Awesome Request lib for browser and node
  • Vorpal - awesome lib for creating cli
  • Dotenv - for testing purposes
  • Mocha && Chai

Installation

Loopy requires Node.js v7+ to run.

Install the dependencies and devDependencies and start the server.

$ git clone <url>
$ cd loopy
$ npm install
$ cp .env.example .env
$ npm start

Actions

Loopy has the following actions

loopy$ help

  Commands:

    help [command...]    Provides help for a given command.
    exit                 Exits application.
    login                Logins to Servers and gets Access Token
    check-balance        Checks Account balance for the logged in user
    check-expenditure    Gives you a log of how you have spent money
    transfer-to-mobile   Send your Bae some money :)

Development

Want to contribute? Great! Just clone this repo, add your changes and then create a PR

Todos

  • Write MORE Tests
  • Add More Endpoints

License

MIT

Free Software, Hell Yeah!

Disclaimer: This library (and repo) is not in way assosiated with CBA or CBA loop and any views expressed are strictly mine. For education purposes only. Cash me outside.

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.