pythonbrad / nkap

A real time currency exchance through a CLI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nkap

nkap is an utility to perform currency convertions in real time.

Preview

Preview

About

nkap is a CLI curency converter based on openexchangerates.org.

How to get nkap?

By Installation

cargo install --git https://github.com/pythonbrad/nkap

By Building

nkap is writting in Rust, so you'll need to grab a Rust installation in order to compile it.

To build nkap:

git clone https://github.com/pythonbrad/nkap
cd nkap
cargo build --release

Using Docker

docker build -t nkap-app .

How config nkap?

nkap use the openexchangerates.org API, and to work, we should get an API access from them. You can do it as follow:

  1. Open the openexchangerates.org website and create an account for a free plan or whatever you want.
  2. Login and open your dashboard.
  3. On the sidebar, click on App IDs.
  4. Copy your App ID.
  5. In your environement variable, set your App ID as follow APP_ID=<your_app_id>. Eg. APP_ID=1a13d64adae7488eb9ca39158e28dc8f

Getting Started!

nkap --help

License

MIT

About

A real time currency exchance through a CLI.

License:MIT License


Languages

Language:Rust 97.6%Language:Dockerfile 2.4%