Code Monkey home page Code Monkey logo

tinyticker's Introduction

๐Ÿš€ tinyticker ๐Ÿš€


tinyticker uses a Raspberry Pi zero W and a small ePaper display to periodically display a stock or crypto chart.

A flask web interface is created to set the ticker options and control the Raspberry Pi.

tinyticker uses the cryptocompare API to query the crypto price information, you'll need to get yourself a free API key. As well as the yfinance package to get the stock financial data.

๐Ÿ›’ Hardware

Shopping list:

๐Ÿ“ฆ Installation

Recommended setup

Flash the tinyticker image onto a SD card and you should be good to go.

Note: to build your own image, see the pi-gen repo.

Manual setup

I highly recommend using comitup to setup the networking on your RPi.

  • Write the comitup image to your sd card
  • Boot up the RPi and setup the networking
  • ssh into your RPi, you'll probably want to change the password while you're at it
  • Enable the SPI interface
  • (Optional) rename the hostname of your RPi by editing the /etc/hostname and /etc/hosts file
  • (Optional) rename the Wifi AP name by editing the /etc/comitup.conf file
  • Install the BCM2835 driver:
    curl http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz | tar xzv
    cd bcm2835-1.60/
    ./configure
    make
    make install
  • Install pip:
    sudo apt install python3-pip
  • Install dependency requirements:
    sudo apt install libatlas-base-dev libopenjp2-7 libtiff5 libxml2-dev libxslt1-dev
  • Install tinyticker:
    pip install tinyticker
  • To setup tinyticker to start on boot, copy over the systemd unit files and enable them.
  • On boot, a qrcode linking to the flask app will be flashed on the display
  • Leave a star, reboot and HODL !

Note: the Raspberry Pi zero isn't very fast so be patient :)

tinyticker's People

Contributors

loiccoyle avatar ph-ill 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.