Giter Site home page Giter Site logo

jmainguy / survey_hail Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 13 KB

A golang service to send / receive sms messages using the Bandwidth API

License: GNU General Public License v2.0

Makefile 2.82% Go 93.88% Shell 1.77% Dockerfile 1.54%
hacktoberfest

survey_hail's Introduction

Survey Hail

This program utilizes the Bandwidth API to send / receive sms messages. The purpose was to support SMS survey's, ie, you give out a number to an audience, they all text what they think of something, and then later you text the survey number, from a whitelisted admin phone number the command "report" and it will send you back a MMS containing a CSV of all responses.

Catapult info

You need to get a userId, token, and secret from the catapult API. https://catapult.inetwork.com

Config file

See example config file in repo, sqldb is where the sqlite3db will be stored, admin is a list of numbers that are allowed to request a report, surveyNumber is the number you are monitoring, reportFile is where the .csv is saved before sending via mms to the number requesting it.

Running service

I will be running this in docker, so that is what the Makefile and instructions are built for, if there is any interest in an rpm / systemd service files I can add them.

Docker

To use the default run.sh in this repo, you will need to have a /opt/survey_hail directory, and a /opt/survey_hail/etc directory on the host system. Place your config.yaml in /opt/survey_hail/etc, and for ease of use, your run.sh in /opt/survey_hail. Then simply run run.sh (assuming you have Docker installed already).

Install

run the make command, follow instructions

survey_hail's People

Contributors

jmainguy avatar renovate[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

survey_hail's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
Dockerfile

  • Check this box to trigger a request for Renovate to run again on this repository

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.