Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Karlsruher Twitter Robot

Project description


  • is a robot on Twitter (Link)
  • retweets mentions from its followers when they apply some rules

Setup instructions


  • Python 3 environment (tested with 3.5 on Linux, 3.8.5 MacOS)
  • The Robot needs a home directory for its work
  • You need Twitter API credentials for your Robot

Install the latest release into your Python 3 library:

$ python3 -m pip install -U --user --pre karlsruher

Still in Beta mode: --pre and expect a moving target!

Create a home directory

You might want to use a different path here:

export ROBOT_HOME=$HOME/karlsruher
mkdir -p $ROBOT_HOME

Create auth.yaml credentials file

You want to enter your own credentials here:

export ROBOT_HOME=$HOME/karlsruher
cat >$ROBOT_HOME/auth.yaml <<EOF
# You must enter real credentials here:
    key: 'YOUR-ACCESS-KEY'
    secret: 'YOUR-ACCESS-SECRET'

Setup complete

First run

The Robot needs to fetch its followers and friends from Twitter regularly, run this initially and once per day:

export ROBOT_HOME=$HOME/karlsruher
karlsruher --home=$ROBOT_HOME -housekeeping

To just perfom the desired retweet feature, run this at any interval:

export ROBOT_HOME=$HOME/karlsruher
karlsruher --home=$ROBOT_HOME

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Karlsruher, version 2.1b7
Filename, size File type Python version Upload date Hashes
Filename, size karlsruher-2.1b7.tar.gz (15.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page