Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Latest commit

 

History

History
63 lines (45 loc) · 1.87 KB

README.md

File metadata and controls

63 lines (45 loc) · 1.87 KB

Hackerspace status bot

⚠️ ⚠️ ⚠️

This project is in deprecated and no longer maintained.

If you're searching for a hackspace status page with twitter bot, please have a look at our follow-on projects:

⚠️ ⚠️ ⚠️

Introduction

A Twitter Bot that posts the current status of the HackerSpace

Installation

In order to simply run the program, you can simply install dependencies by running

    git clone https://github.com/bytespeicher/twitterstatus.git .
    cp config.py.example config.py
    pip install -r requirements.txt

Building From Source

Before you start, make sure you have Python and virtualenv installed and in your PATH.

Then execute the following commands on the command line:

    ENV_NAME=twitterstatus
    virtualenv $ENV_NAME
    cd $ENV_NAME
    source ./bin/activate
    pip install twitter
    git clone https://github.com/bytespeicher/twitterstatus.git .
    cp config.py.example config.py

After the virtual environment is set up, the Twitter library is installed and the twitterstatus repository is cloned.

You will need to generate Twitter OAuth keys and put them into config.py. Also you might want to check if CURRENT_STATUS is set to the path where your spaceapi status.json resides. When everything is set up just run twitterstatus.py by the following command

python3 twitterstatus.py

Contributions

This is an open source project and contributions are always welcome

In order to contribute, refer to the Contribution Rules/Guidelines here