Artsy Public Radio notifications in Slack.
Aprb is a fairly generic consumer of RabbitMQ events (see Service.AmqEventService that uses amqp_client), producer of Slack messages (see Aprb.Service.EventService that uses elixir-slack) and a command-and-control Slack slash command API endpoint (see Aprb.Service.SlackCommandService and Aprb.Api.Root that uses maru). Users can subscribe to topics from Slack with /apr subscribe
. Subscriptions are backed by a PostgreSQL database (see Aprb.Subscription that uses ecto). Aprb was written in Elixir during the Artsy Hackathon 2016.
- State: production
- Production: http://aprb-production-http-1702133716.us-east-1.elb.amazonaws.com/slack
- GitHub: https://github.com/artsy/aprb
- CI/Deploys: CircleCi; merged PRs to
artsy/aprb#master
are automatically deployed to staging; PRs fromstaging
torelease
are automatically deployed to production. Start a deploy... - Point People: @ashkan18
See CONTRIBUTING for instructions on bootstrapping and running the project.
If you work at Artsy, you can add events to Gravity (eg. #10292) and then receive and dispatch these in Aprb (eg. #17). See CONTRIBUTING for how to run this project. If you don't work at Artsy, we hope this is a useful demo, feel free to build on top of it.
Don't know what Artsy is? Check out this overview and more. Want to know more about Artsy tech? Read the Artsy Engineering Blog.
Copyright (c) 2017 Artsy Inc.
MIT License, see LICENSE.