Giter VIP home page Giter VIP logo

announcementbot's Introduction

announcementbot

GroupMe announcement system that broadcasts messages to a list of configurable contacts over GroupMe Direct Message.

How it works

A control group set up with an always-listening GroupMe bot makes for easy message broadcasting. Simply type or paste the desired message into the control group and the message is broadcast to all members on the contact list via direct message. NOTE: The direct messages are not sent by the GroupMe bot but by a configured GroupMe user account.

Contact management

Contacts are managed via a web-based interface. Contacts can be viewed under the route /contacts. The entire contacts list can also be reseeded from a selected GroupMe group via the route /reseed.

Set Up:

GroupMe Configuration:

You must register

  1. a GroupMe bot for listening and notifying the control group
  • set the callback url to your host at route /listen
  1. a GroupMe application for authenticating contact reseeding requests
  • set the callback url to your host at route /reseed/authenticate_result
  1. a valid GroupMe user account for sending the direct messages (GroupMe does not allow bots to send DM's).

Environment Variables:

The following env variables are required:

  • BOT_ID (the id provided by GroupMe of the control group bot)
  • ACCESS_TOK (the GroupMe user token of the account to send DM's)
  • APP_REDIRECT (this is the redirect url provided by GroupMe upon registration of your GroupMe application)
  • DATABASE_URL (URL for your postgres database)
  • ADMIN_USER (Username for web-interface)
  • ADMIN_PASS (Password for web-interface)

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.