Giter Club home page Giter Club logo

curls.top's Introduction

curls.top

This simple web app allows You to get actual UAH/USD and UAH/EUR exchange rates delivered directly into Your shell via curl or similar command line tools (wget, HTTPie).

Usage

You can access this app from a shell via curl curls.top command:

Shell output screenshot

Some details

  1. App can return weekly history of UAH/USD and UAH/EUR exchange rates as ANSI escaped text on request of shell tools like curls or HTTPie
  2. App uses following sources to get information:
  1. Rates are updated every 15 minutes, Redis is used as a storage

Installation

To deploy this app locally You will need:

  1. Clone project repository
  2. Install Node.js
  3. Install project dependencies via npm install
  4. Request API Key from Minfin
  5. Set environment variable export MINFIN_KEY=[Your_unique_key]
  6. Install and start Redis
  7. Start app via Node (pm2 etc...): node app.js
  8. App will listen to 52190 port on localhost
  9. App will download actual exchange rates in 15 min
  10. You can request data from the app via curl localhost:52190 shell command

ToDo:

  1. FrontEnd :)
  2. Suggestions?

curls.top's People

Contributors

ybod avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

olehs1

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.