https://github.com/gamote/alfred-cointmarketcap
Alfred Workflow to find the price of a coin in a specific currency
https://github.com/gamote/alfred-cointmarketcap
Last synced: 7 months ago
JSON representation
Alfred Workflow to find the price of a coin in a specific currency
- Host: GitHub
- URL: https://github.com/gamote/alfred-cointmarketcap
- Owner: Gamote
- Created: 2022-02-26T17:39:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-26T18:19:56.000Z (over 4 years ago)
- Last Synced: 2024-12-29T07:42:46.315Z (over 1 year ago)
- Language: TypeScript
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alfred CoinMarketCap
Alfred workflow for quick currencies conversion using [CoinMarketCap API](https://coinmarketcap.com/api).

## Pre-Requisites
- The [Deno](https://deno.land) runtime installed (`brew install deno`)
- The [CoinMarketCap API Key](https://coinmarketcap.com/api) (the free plan should be more than enough)
## Instalation
1. Download the `CoinMarketCap.alfredworkflow` file found on the [Releases](https://github.com/Gamote/alfred-cointmarketcap/releases) page.
2. Double click on the file and adjust the environment variables with your details
```
API_KEY="YOUR_KEY"
DEFAULT_CURRENCY="YOUR_USD"
```
3. Press `Import` and your good to go.
## How to use
- `cmc btc` - Convert 1 Bitcoin to the default currency. If no default currency was specified `USD` will be used
- `cmc btc eur` - Convert 1 Bitcoin to specified currency (`Euro` in this case)
- `cmc 1.5 btc eur` - Specify a specific amount to convert
For all the variants you can:
- Hit `↵` to copy the result to clipboard
- Hold `⌘` key and hit `↵` to open CoinMarketCap website on selected coin
## Credits
This repo is a [pawelgrzybek/alfred-cointmarketcap](https://github.com/pawelgrzybek/alfred-cointmarketcap) fork.