The Currency Converter is a TUI (Text User Interface) application that allows you to select a currency and amount to convert. It can handle multiple currencies at once. The application uses the Open Exchange Rates API to fetch currency values and perform conversions and for the interface uses Huh? from Charm. Built in Go, the app also allows you to copy the conversion result to your clipboard for easy access.
- GoLang
1 - Clone the repository:
git clone [email protected]:DilkerWinter/currency-generator.git
2 - Change directory to the project
cd currency-generator
5 - Configure your API KEY on the cmd/service/apiRequest.go to yours
const appID = "Your API Key"
6 - Build the project
go build -o currencygenerator main.go
7 - Now you can run the app
./currencygenerator
if you want to create a command line to use the app
sudo mv currencygenerator /usr/local/bin/
and verify if you have in your ~/.bashrc or ~/.zshrc the following line
export PATH="/usr/local/bin:$PATH"