|
|
@ -36,7 +36,13 @@ In action
|
|
|
|
- [Installing](#installing)
|
|
|
|
- [Installing](#installing)
|
|
|
|
- [Updating](#updating)
|
|
|
|
- [Updating](#updating)
|
|
|
|
- [Getting started](#getting-started)
|
|
|
|
- [Getting started](#getting-started)
|
|
|
|
|
|
|
|
- [Navigation](#navigation)
|
|
|
|
|
|
|
|
- [Favorites](#favorites)
|
|
|
|
|
|
|
|
- [Portfolio](#portfolio)
|
|
|
|
|
|
|
|
- [Search](#search)
|
|
|
|
|
|
|
|
- [Base Currency](#base-currency)
|
|
|
|
- [Shortcuts](#shortcuts)
|
|
|
|
- [Shortcuts](#shortcuts)
|
|
|
|
|
|
|
|
- [Themes](#themes)
|
|
|
|
- [Config](#config)
|
|
|
|
- [Config](#config)
|
|
|
|
- [FAQ](#faq)
|
|
|
|
- [FAQ](#faq)
|
|
|
|
- [Mentioned in](#mentioned-in)
|
|
|
|
- [Mentioned in](#mentioned-in)
|
|
|
@ -57,6 +63,7 @@ In action
|
|
|
|
- Save and view favorite coins
|
|
|
|
- Save and view favorite coins
|
|
|
|
- Portfolio tracking of holdings
|
|
|
|
- Portfolio tracking of holdings
|
|
|
|
- 256-color support
|
|
|
|
- 256-color support
|
|
|
|
|
|
|
|
- Custom colorschemes
|
|
|
|
- Help menu
|
|
|
|
- Help menu
|
|
|
|
- Offline cache
|
|
|
|
- Offline cache
|
|
|
|
- Supports multiple coin stat APIs
|
|
|
|
- Supports multiple coin stat APIs
|
|
|
@ -266,7 +273,7 @@ $ cointop
|
|
|
|
|
|
|
|
|
|
|
|
- To search for coins, press <kbd>/</kbd> then enter the search query and hit <kbd>Enter</kbd>
|
|
|
|
- To search for coins, press <kbd>/</kbd> then enter the search query and hit <kbd>Enter</kbd>
|
|
|
|
|
|
|
|
|
|
|
|
### Changing currency
|
|
|
|
### Base Currency
|
|
|
|
|
|
|
|
|
|
|
|
- To change the currency, press <kbd>c</kbd> then enter the character next to the desired currency
|
|
|
|
- To change the currency, press <kbd>c</kbd> then enter the character next to the desired currency
|
|
|
|
|
|
|
|
|
|
|
@ -342,6 +349,34 @@ Key|Action
|
|
|
|
<kbd>}</kbd>|Last chart date range|
|
|
|
|
<kbd>}</kbd>|Last chart date range|
|
|
|
|
<kbd>{</kbd>|First chart date range|
|
|
|
|
<kbd>{</kbd>|First chart date range|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Themes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cointop supports custom themes (colorschemes).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<img src="https://user-images.githubusercontent.com/168240/59164231-165b9c80-8abf-11e9-98cf-915ee37407ff.gif" alt="cointop colorschemes" width="880" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To use standard themes, clone the [colors](https://github.com/cointop-sh/colors) repository into config directory:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
$ cd ~/.cointop
|
|
|
|
|
|
|
|
$ git clone git@github.com:cointop-sh/colors.git
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Then edit your config `~/.cointop/config.toml` and set the colorscheme:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```toml
|
|
|
|
|
|
|
|
colorscheme = "<COLORSCHEME_NAME>"
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For example, if you have `matrix.toml` in `colors/` then the `colorscheme` property should be set to:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```toml
|
|
|
|
|
|
|
|
colorscheme = "matrix"
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To create your own colorscheme, simply copy an existing colorscheme, rename it, and customize the colors.
|
|
|
|
|
|
|
|
|
|
|
|
## Config
|
|
|
|
## Config
|
|
|
|
|
|
|
|
|
|
|
|
The first time you run cointop, it'll create a config file in:
|
|
|
|
The first time you run cointop, it'll create a config file in:
|
|
|
@ -525,6 +560,16 @@ Frequently asked questions:
|
|
|
|
|
|
|
|
|
|
|
|
Options are: `coinmarketcap`, `coingecko`
|
|
|
|
Options are: `coinmarketcap`, `coingecko`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Q: How do I change the theme (colorscheme)?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- A: You can use the `--colorscheme` flag, eg. `--colorscheme matrix`. You can also set the colorscheme choice in the config file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```toml
|
|
|
|
|
|
|
|
colorscheme = "<COLORSCHEME_NAME>"
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For more instructions, visit the [colors](https://github.com/cointop-sh/colors) repository.
|
|
|
|
|
|
|
|
|
|
|
|
- Q: Where is the config file located?
|
|
|
|
- Q: Where is the config file located?
|
|
|
|
|
|
|
|
|
|
|
|
- A: The default configuration file is located under `~/.cointop/config.toml`
|
|
|
|
- A: The default configuration file is located under `~/.cointop/config.toml`
|
|
|
@ -611,6 +656,10 @@ Frequently asked questions:
|
|
|
|
|
|
|
|
|
|
|
|
- A: The yellow asterisk or star means that you've selected that coin to be a favorite.
|
|
|
|
- A: The yellow asterisk or star means that you've selected that coin to be a favorite.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Q: My favorites aren't being saved?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- A: Try running cointop with `--clean` flag to clear the cache which might be causing the problem.
|
|
|
|
|
|
|
|
|
|
|
|
- Q: How do I add a coin to my portfolio?
|
|
|
|
- Q: How do I add a coin to my portfolio?
|
|
|
|
|
|
|
|
|
|
|
|
- Press <kbd>e</kbd> on the highlighted coin to enter holdings and add to your portfolio.
|
|
|
|
- Press <kbd>e</kbd> on the highlighted coin to enter holdings and add to your portfolio.
|
|
|
@ -861,4 +910,4 @@ Thank you for tips! 🙏
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
|
|
Released under the [Apache 2.0](./LICENSE.md) license.
|
|
|
|
Released under the [Apache 2.0](./LICENSE) license.
|
|
|
|