Giter Site home page Giter Site logo

signal-reminder's Introduction

Signal Reminder

Small application to send reminders to a Signal group chat using the Signal CLI

How to run

Yes this is going to be a terrible how to run because I'm lazy rn.

  • Push the Signal API docker image to ECR
  • Create a PEM KeyPair in the EC2 console
  • Either manually pull the image on your EC2 instance or uncomment and edit the 2 lines in the startup script under UserData in the CloudFormation template
  • Go through the Getting Started section OR...
  • ...start the Signal API $ sudo docker run -d --name signal-api --restart=always -p 8080:8080 \ -v $HOME/.local/share/signal-cli:/home/.local/share/signal-cli \ -e 'MODE=native' bbernhard/signal-cli-rest-api and register your phone number
  • Deploy the CloudFormation template in the CloudFormation console. This will provision an EC2 instance with the minimum set of required IAM permissions,
  • SSH into your EC2 instance, e.g. ssh -i "myPrivateKey.pem" [email protected]
  • Run crontab -e and edit with 0 1 * * * /home/ec2-user/reminder.sh 0 0 * * Fri [ $(expr $(date +%W) % 2) -eq 1 ] && /home/ec2-user/reminder.sh
    • NOTE: default crontab behavior is Vim. If you don't like Vim you can also nano into it by setting
      • nano ~/.bash_profile
      • export VISUAL="nano"
      • source ~/.bash_profile
      • .. and then running crontab -e should open it with nano

signal-reminder's People

Contributors

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