plex2slack-lambda

command module
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2019 License: MIT Imports: 17 Imported by: 0

README

plex2slack-lambda CircleCI

Golang based AWS Lambda handler for sending plex webhook messages to a slack channel. For a standalone service, see plex2slack

Quick start

AWS Lambda setup
  • Download the latest release and setup a new Go based lambda function in AWS. The handler name is plex2slack-lambda
  • Add the environment variable PLEX2SLACK_WEBHOOK_URL to your lambda handler. Set this to your Slack incoming webhook url. It should look something like https://hooks.slack.com/services/SOMETHING/SOMEID/SOMETHINGELSEHERE
AWS API Gateway setup
  • Create a new AWS API Gateway API.
  • In the 'Settings' section for the AWS API Gateway for the new API, make sure to add multipart/form-data under Binary Media Types
  • Create a resource (call it something like 'plex') and create a POST method on the resource. Wire up the lambda handler on the method. Make sure to select Use Lambda Proxy integration
  • Deploy the API

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL