nkap
is an utility to perform currency convertions in real time.
nkap
is a CLI curency converter based on openexchangerates.org.
cargo install --git https://github.com/pythonbrad/nkap
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
docker build -t nkap-app .
nkap
use the openexchangerates.org API, and to work, we should get an API access from them. You can do it as follow:
- Open the openexchangerates.org website and create an account for a free plan or whatever you want.
- Login and open your dashboard.
- On the sidebar, click on App IDs.
- Copy your App ID.
- In your environement variable, set your App ID as follow
APP_ID=<your_app_id>
. Eg.APP_ID=1a13d64adae7488eb9ca39158e28dc8f
nkap --help