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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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