https://github.com/azavea/coffee-button

An Amazon Lambda function that publishes messages to a Slack channel when an Amazon IoT button is pressed.

https://github.com/azavea/coffee-button

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

An Amazon Lambda function that publishes messages to a Slack channel when an Amazon IoT button is pressed.

Basic Info
  • Host: GitHub
  • Owner: azavea
  • License: apache-2.0
  • Language: Python
  • Default Branch: develop
  • Homepage:
  • Size: 34.2 KB
Statistics
  • Stars: 4
  • Watchers: 20
  • Forks: 3
  • Open Issues: 1
  • Releases: 0
Created almost 10 years ago · Last pushed almost 7 years ago
Metadata Files
Readme Changelog License

README.md

coffee-button

Build Status Apache V2 License

An Amazon Lambda function that publishes messages to a configured Slack channel when an Amazon IoT button is pressed.

Table of Contents

Configuration

The following environment variables can be used to dictate which Slack webhook URL and channel are used:

  • COFFEE_BUTTON_SLACK_WEBHOOK_URL: Slack webhook URL
  • COFFEE_BUTTON_SLACK_CHANNEL: Slack channel to send messages to
  • COFFEE_BUTTON_FUNCTION_ALIAS: When deploying, the alias associated with the Lambda function

Testing

Function testing occurs within a Docker container and is driven by make:

bash $ make test

Deployment

Function deployment occurs automatically via Travis CI. If you choose to execute deployments manually, run through the following steps:

bash $ export COFFEE_BUTTON_SLACK_WEBHOOK_URL="https://hooks.slack.com/..." $ export COFFEE_BUTTON_SLACK_CHANNEL="#general" $ export COFFEE_BUTTON_FUNCTION_ALIAS="staging" $ export AWS_SECRET_ACCESS_KEY="..." $ export AWS_ACCESS_KEY_ID="..." $ make deploy

This deployment process makes use of make and Apex to publish the function to Amazon Lambda.

Owner

  • Name: Azavea
  • Login: azavea
  • Kind: organization
  • Location: Philadelphia, PA

Geospatial software engineering for good

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 5
  • Total pull requests: 6
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 1 month
  • Total issue authors: 4
  • Total pull request authors: 5
  • Average comments per issue: 2.2
  • Average comments per pull request: 1.5
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jmorrison1847 (2)
  • hectcastro (1)
  • rcheetham (1)
  • rbreslow (1)
Pull Request Authors
  • hectcastro (2)
  • jisantuc (1)
  • jmorrison1847 (1)
  • KlaasH (1)
  • rossbernet (1)
Top Labels
Issue Labels
operations (1) size: 1 (1) Task (1)
Pull Request Labels