ianmclinden / NSFWidget

Nano Stocks 'Folio Widget - Lightweight stock ticker tape for the Raspberry Pi Zero.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NSFW: Nano Stocks 'Folio Widget

.##....##..########..########.##......##
.###...##.##..##..##.##.......##..##..##
.####..##.##..##.....##.......##..##..##
.##.##.##..########..######...##..##..##
.##..####.....##..##.##.......##..##..##
.##...###.##..##..##.##.......##..##..##
.##....##..########..##........###..###.

Lightweight stock ticker tape for the Raspberry Pi Zero W, and Pimoroni's Four Letter pHAT.

About:

NSFWidget Preview Image

Hardware List:

Setup:

  • Solder GPIO Header onto Raspberry Pi Zero W
  • Follow the Pimoroni pHAT Setup Guide to solder pHAT Headers, and attach to Pi.
  • Follow the Raspberry Pi Hardware Guide to set up a Raspberry Pi Zero W with raspbian, connect the Raspberry Pi to your Wifi AP/Router, and log in via SSH.

Installation / Use:

Log into the Raspberry Pi and clone the NSFWidget Repository and enter the directory:

    $ git clone https://github.com/ianmclinden/NSFWidget.git
    $ cd NSFWidget/

An installation script has been provided to install NSFWidget and the required dependencies, and automatically load NSFWidget at boot. Just run

    $ sudo ./install.sh

or run with the --noboot flag to keep from automatically starting NSFWidget at boot.

    $ sudo ./install.sh --noboot

After installation, edit your stock preferences in /etc/nsfw/stocks.conf. Then, run NSFWidget, using

    $ sudo service nsfw start

OR

    $ sudo systemctl start nsfw.service

Manual Installation / Use:

NSFWidget requires the following python libraries:

Then, run using the python environment using

    $ python nsfwidget.py [stocks_file.conf]

Files:

Author

Ian McLinden 2017 https://github.com/ianmclinden

About

Nano Stocks 'Folio Widget - Lightweight stock ticker tape for the Raspberry Pi Zero.


Languages

Language:Python 66.1%Language:Shell 33.9%