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

Bytespeicher/twitterstatus

Repository files navigation

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

About

Twitter bot that posts the current status of our hackerspace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages