{"id":21658465,"url":"https://github.com/openware/postmaster","last_synced_at":"2025-08-20T05:31:56.801Z","repository":{"id":90546046,"uuid":"166836609","full_name":"openware/postmaster","owner":"openware","description":"Notification Hub for openware stack","archived":false,"fork":false,"pushed_at":"2019-11-13T13:00:33.000Z","size":134,"stargazers_count":14,"open_issues_count":2,"forks_count":18,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-12-15T19:06:18.806Z","etag":null,"topics":["amqp-client","consumer","micro-service"],"latest_commit_sha":null,"homepage":"https://www.openware.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-21T15:28:13.000Z","updated_at":"2023-09-29T04:28:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"f89ba042-e89b-47cd-a763-f183aa31c64c","html_url":"https://github.com/openware/postmaster","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fpostmaster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fpostmaster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fpostmaster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fpostmaster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openware","download_url":"https://codeload.github.com/openware/postmaster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230394175,"owners_count":18218707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amqp-client","consumer","micro-service"],"created_at":"2024-11-25T09:29:17.524Z","updated_at":"2024-12-19T07:15:11.623Z","avatar_url":"https://github.com/openware.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# postmaster\n\n[![Build Status](https://ci.openware.work/api/badges/openware/postmaster/status.svg)](https://ci.openware.work/openware/postmaster)\n\n\u003e :incoming_envelope: Notification Hub for openware stack.\n\nEvent API client for\n\n* [Barong](https://www.github.com/rubykube/barong)\n* [Peatio](https://www.github.com/rubykube/peatio)\n\n## Overview\n\nConsume mail events from RabbitMQ and send emails over SMTP.\n\n![Overview](./resources/overview.png)\n\n## Usage\n\nStart worker by running command below\n\n```sh\n$ go run ./cmd/postmaster/main.go\n```\n\n### Environment variables\n\n| Variable               | Description                          | Required | Default              |\n|------------------------|--------------------------------------|----------|----------------------|\n| `POSTMASTER_ENV`       | Environment, reacts on \"production\"  | *no*     |                      |\n| `POSTMASTER_LOG_LEVEL` | Level of logging                     | *no*     | `debug`              |\n| `RABBITMQ_HOST`        | Host of RabbitMQ daemon              | *no*     | `localhost`          |\n| `RABBITMQ_PORT`        | Port of RabbitMQ daemon              | *no*     | `5672`               |\n| `RABBITMQ_USERNAME`    | RabbitMQ username                    | *no*     | `guest`              |\n| `RABBITMQ_PASSWORD`    | RabbitMQ password                    | *no*     | `guest`              |\n| `SMTP_PASSWORD`        | Password used for auth to SMTP       | *yes*    |                      |\n| `SMTP_PORT`            | Post of SMTP server                  | *no*     | `25`                 |\n| `SMTP_HOST`            | Host of SMTP server                  | *no*     | `smtp.sendgrid.net`  |\n| `SMTP_USER`            | User used for auth to SMTP           | *no*     | `apikey`             |\n| `SENDER_EMAIL`         | Email address of mail sender         | *yes*    |                      |\n| `SENDER_NAME `         | Name of mail sender                  | *no*     | `Postmaster`         |\n\n## License\n\nProject released under the terms of the MIT [license](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenware%2Fpostmaster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenware%2Fpostmaster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenware%2Fpostmaster/lists"}