Giter Site home page Giter Site logo

alarmbot's Introduction

AlarmBot

A telegram bot that serves as an alarm clock, runs best on a RaspberryPi

Requirements

How does it look?

Here is a blog post about this, with even more install and usage instructions.

How to use it?

  1. Install the requirements, in ubuntu:

    sudo ./src/install_deps.sh
    

or:

sudo apt-get install -y python3-pip ffmpeg libavcodec-extra python3-pyaudio pulseaudio
sudo pip3 install -r src/requirements.txt
  1. Set copy config.ini.example to config ini and add there your bot's token. You can get a bot token by sending /newbot to @BotFather

  2. Run:

    src/alarm_bot.py
    
  3. Message /start to your bot to set up alarms.

Set up service on startup

Run src/add_startup_service.sh either as the user you want the service to be run as, or src/add_startup_service.sh <user to run script>

Attribution

alarm.mp3 is by TheZero under CC 1.0

Code contributions are loved!

alarmbot's People

Contributors

guysoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.