Coder Social home page Coder Social logo

coinprice-indicator's Introduction

Coin Price Indicator

Coin Price logo

Coin Price indicator is a cryptocurrency (such as Bitcoin) price indicator applet for Ubuntu Linux. It shows various price points (depending on what the exchange API provides) in the indicator menu.

It currently supports the following exchanges:

NEW: Since version 0.9 you can easily add your own exchanges (see Extending below).

Screenshot

Installation

Tested and working on Ubuntu Linux 16.04 with Unity. On other systems and desktop managers (e.g. Ubuntu 17.10 with Gnome3), you can get the app working by installing Libappindicator support (see troubleshooting below).

Install python dependencies by running the following command:

 make install

Running

  • To run the indicator with the default settings or with the previous settings, type make to run and the indicator should appear in the notification area.
  • Alternatively, you can run python3 coin/coin.py to start the app

Configuration

I've removed the commandline options to configure the app. Please edit the user.conf YAML file in the project root, or just use the GUI to adjust.

Extending (plug-ins)

Adding your own exchange plug-in is easy. Just create class file with methods for returning a ticker URL, a discovery URL, and parsing the responses from the ticker and discovery APIs. Then add the file to the exchanges folder.

Have a peek at the existing plug-ins for an example and don't forget to contribute your plug-ins here on GitHub!

Troubleshooting

  • If you're getting a SyntaxError: Missing parentheses in call to 'print'., you may be using a Python2 library in there somewhere. Look through the error to identify which package it is. If it is gi, you can install the correct version with sudo apt install python3-gi. Additionally, you may have to uninstall the python2 gi library pip3 uninstall gi for it to work.

  • If you're not on an Ubuntu Linux or if you're not running the Unity desktop manager, you can still get the app running (depending on the system). Here's how to do it for Ubuntu 17.10 with Gnome3:

    • After running make install, run sudo apt install gir1.2-appindicator3-0.1 to install libappindicator support.
    • On Ubuntu, install the KStatusNotifierItem/AppIndicator support shell extension for Gnome from the Ubuntu Software Installer OR
    • On other systems, get the KStatusNotifierItem/AppIndicator support shell extension for Gnome (there's a browser extension to help you; follow the instructions on the page)
    • The Indicators should now show. If they don't, you may have to sudo apt install gnome-tweak-tool to manually activate the extension.

coinprice-indicator's People

Contributors

bluppfisk avatar nilgradisnik avatar tutorgaming avatar sicsim avatar alessiocarrafa avatar taskula avatar arnau-foraster avatar eliezeraquino avatar

Watchers

James Cloos avatar

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.