Skip to content

The SCRIPT Group's communication utility - can be used to send emails and whatsapp messages to users in our database.

Notifications You must be signed in to change notification settings

The-SCRIPT-Group/Hermes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hermes - TSG Communication Application

Web application for The SCRIPT Group to use for sending WhatsApp messages and E-Mails to a set of event registrants at once

This requires 5 configuration variables set in a JSON file (data.json) or a YAML file (config.yml) in the home directory :
browser - Browser you want selenium to use. Currently configured only for Google Chrome (chrome) and Mozilla Firefox (firefox)
driver-path - Path to your chromedriver/geckodriver executable
login-api - API URL to verify user login credentials
table-api - API URL to get the list of participants
events-api - API URL to get the list of events
email-api - API URL to send emails to registrants using Sendgrid API from hades
log_channel - Telegram channel ID where activity logs are sent
telebot_api_key - API Key of bot used to send activity logs to Telegram

A basic setup script is included in the repo, that allows the application to function perfectly on Ubuntu 18.04+

To send messages

  • Login with your tsg id
  • Select event from list of events
  • Enter ids to send message to, separated by a space / enter all to send to all registrants
  • Enter subject if sending mail
  • Enter message
    • For E-Mails, the message is to be written as HTML content
    • For WhatsApp, write as you would in mobile app. Write \n whenever you want to send a new message.
  • Select WhatsApp and/or E-Mail options
  • Click on send
  • Scan QR code from WhatsApp mobile if sending WhatsApp messages

About

The SCRIPT Group's communication utility - can be used to send emails and whatsapp messages to users in our database.

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •