Coder Social home page Coder Social logo

compliments's Introduction

Compliments

This is the server part of the Wikimedia Deutschland compliments button. Together with a button connected to a NodeMCU/ESP8266 board, it is meant to run on a Raspberry PI.

Showing appreciation for your colleagues is important! On the press of a button, a random compliment is sent to a random colleague via e-mail.

Of course you can still give compliments to colleagues directly in the old-fashioned analogue way, but it's also important to keep up with the cyber.

Getting Started

Install the project from GitHub on you RaspberryPi. You need Python3.

Prerequisites

Make sure you have the necessary libraries installed. Enter the compliments directory.

Run this:

pip3 install -r requirements.txt

Configuration

Generate a configuration file:

cp config.py.example config.py

Edit config.py to your needs. You must fill in the appropriate values for the usernames and passwords marked with editme.

Create a wiki page on a MediaWiki installation of your choice for the compliments. The page should only contain lines of compliments like so:

*   You have very smooth hair.
*   I’ve never met someone like you before.
*   You have inspired me and changed my life.
*   I want to be you when I grow up.
*   You deserve a promotion.
*   You are always happy, even when you are sad. And that’s admirable.
*   Good effort!
*   What a fine sweater!
*   I appreciate all of your opinions.
*   I like your style.
*   Your T-shirt smells fresh.

Running the service

Run it with python3 compliments.py.

Hardware

You can find the necessary files for the compliments button client based on the NodeMCU ESP8266 at this GitHub repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

compliments's People

Contributors

dependabot[bot] avatar johl avatar lucaswerkmeister avatar

Stargazers

 avatar

Watchers

 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.