Giter Club home page Giter Club logo

coin-ticker-mode's Introduction

Melpa Status

Emacs coin-ticker-mode

This is an Emacs minor mode that can display a ticket with the price of Bitcoin, Ethereum, and other cryptocurrencies. Prices are fetched using the CoinMarketCap ticker API, which supports nearly every cryptocurrency.

Screenshot

Installation

You'll need Emacs 25 or later to use coin-ticker-mode.

The recommended way to get coin-ticker is as a package from the MELPA repository. The version of coin-ticker there will always be up-to-date.

Configuration

Your Emacs config should have some code like this:

(require 'coin-ticker)

;; Optional: Set the update interval, in seconds (default 300)
(setq coin-ticker-api-poll-interval 120)

;; Optional: Set the currency list (default is BTC and ETH)
(setq coin-ticker-syms '("BTC" "ETH" "LTC" "XPR"))

;; Optional: Just show prices (and no symbols)
(setq coin-ticker-show-syms nil)

;; Optional: Set the price unit to use (default is "USD")
(setq coin-ticker-price-convert "EUR")

;; Optional: Set the symbol used to display prices (default is "$")
(setq coin-ticker-price-symbol "")

;; Enable coin-ticker-mode
(coin-ticker-mode 1)

License

This Emacs mode is free software, released under the GPLv3, like Emacs itself.

coin-ticker-mode's People

Contributors

eklitzke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

coin-ticker-mode's Issues

Could the coin-ticker round up numbers in mode-line?

Hi there!

Thanks for sharing this useful package! As BTC HODL'er I'm very grateful for it. However, my modeline is gobbled with long strings of numbers, like the BTC-price in modeline: ""€ 2449,781236241229" right now in my mode line.

Is there any way for any setting to strip the decimals in the prices? So it would look like ""€ 2449" which makes more space for other modeline indicators.

API broken/not responsive: request--callback: peculiar error: 429

I think that the API link might be broken or non-responsive for some reason: I am getting this error whenever coin-ticker starts

[error] request--callback: peculiar error: 429
[error] request-default-error-callback: https://api.coinmarketcap.com/v1/ticker/ parse-error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.