Coder Social home page Coder Social logo

herald's Introduction

Build Status

forthebadge forthebadge

Herald

Herald is an application that accepts emailed text-message dispatches (TMDs), parses them, and sends them off to Slack with beautiful formatting.

Setup

Setup of Herald involves a few steps, but it isn't very difficult. You'll need to create an app on Slack, load our code onto your server, and set some environment variables.

Slack

  1. Head over to Slack's app portal, and create a new app.
  2. Add the OAuth scope chat:write.
  3. Install the app to your workspace, and take note of the bot user token (it starts with xoxb- and then a ton of random characters). You'll also need the signing secret, which is available on the "basic information" page.

Your server

You can easily deploy this app using Docker Compose. Your docker-compose.yml file should look something like the following (we use Traefik for routing, FYI):

herald:
  build: https://github.com/techinems/herald.git#main
  container_name: herald
  restart: always
  labels:
    - traefik.tcp.routers.herald_smtp.service=herald_smtp
    - traefik.tcp.services.herald_smtp.loadbalancer.server.port=25
    - traefik.tcp.routers.herald_smtp.entrypoints=smtp
    - traefik.tcp.routers.herald_smtp.rule=HostSNI(`*`)

Fill in the environment variables as appropriate, and run a docker-compose up -d herald, or whatever you named your service.

Credits

Developers

License

Herald is provided under the MIT License.

Contact

For any question, comments, or concerns, email [email protected], create an issue, or open up a pull request.

herald's People

Contributors

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