• Stars
    star
    324
  • Rank 129,708 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

☁️📦 Webhook payload delivery service

smee.io

Webhook payload delivery service
UsageHow it worksDeploying your own Smee.ioFAQ

GitHub Actions status Codecov

Looking for probot/smee-client?

Usage

Smee is a webhook payload delivery service - it receives webhook payloads, and sends them to listening clients. You can generate a new channel by visiting https://smee.io, and get a unique URL to send payloads to.

Heads up! Smee.io is intended for use in development, not for production. It's a way to inspect payloads through a UI and receive them on a local machine, not as a proxy for production applications.

How it works

Smee works with two components: the public website smee.io and the smee-client. They talk to each other via Server-Sent Events, a type of connection that allows for messages to be sent from a source to any clients listening.

This means that channels are just an abstraction - all Smee does is get a payload and sends it to any actively connected clients.

Deploying your own Smee.io

Smee.io is a simple Node.js application. You can deploy it any way you would deploy any other Node app. The easier solution is probably Heroku, or you can use Docker:

docker run -p 3000:3000 ghcr.io/probot/smee.io

Don't forget to point smee-client to your instance of smee.io:

smee --url https://your-smee.io/channel

Running multiple instances of Smee.io

If you need to run multiple instances of the web app, you need a way to share events across those instances. A client may be connected to instance A, so if a relevant event is sent to instance B, instance A needs to know about it too.

For that reason, Smee.io has built-in support for Redis as a message bus. To enable it, just set a REDIS_URL environment variable. That will tell the app to use Redis when receiving payloads, and to publish them from each instance of the app.

FAQ

How long do channels live for?

Channels are always active - once a client is connected, Smee will send any payloads it gets at /:channel to those clients.

Should I use this in production?

No! Smee is not designed for production use - it is a development and testing tool. Note that channels are not authenticated, so if someone has your channel ID they can see the payloads being sent, so it is not secure for production use.

Are payloads ever stored?

Webhook payloads are never stored on the server, or in any database; the Smee.io server is simply a pass-through. However, we do store payloads in localStorage in your browser, so that revisiting https://smee.io/:channel will persist the payloads you saw there last.

More Repositories

1

probot

🤖 A framework for building GitHub Apps to automate and improve your workflow
TypeScript
8,883
star
2

stale

A GitHub App built with Probot that closes abandoned Issues and Pull Requests after a period of inactivity.
JavaScript
1,249
star
3

smee-client

🔴 Receives payloads then sends them to your local server
TypeScript
419
star
4

create-probot-app

🤖📦 Create a new probot app
JavaScript
235
star
5

dco

GitHub App that enforces the Developer Certificate of Origin (DCO) on Pull Requests
JavaScript
219
star
6

reminders

set reminders on Issues and Pull Requests
JavaScript
162
star
7

probot.github.io

This is the home of probot documentation, apps, how-to guides and more.
HTML
114
star
8

unfurl

a GitHub App built with Probot that unfurls links on Issues and Pull Request discussions
JavaScript
109
star
9

no-response

a GitHub App that closes issues where the author hasn't responded to a request for more information
JavaScript
107
star
10

ideas

Share ideas for new GitHub Apps built with Probot
96
star
11

adapter-aws-lambda-serverless

An extension for running Probot on Lambda
JavaScript
93
star
12

adapter-github-actions

🔌 An adapter that takes a Probot app and makes it compatible with GitHub Actions
JavaScript
83
star
13

commands

A Probot extension that adds slash commands to GitHub
JavaScript
64
star
14

probot-config

A Probot extension to easily share configs between repositories.
JavaScript
63
star
15

linter

a GitHub App that lints and fixes code in Pull Requests
JavaScript
59
star
16

metadata

A Probot extension to store metadata on Issues and Pull Requests
JavaScript
52
star
17

github-app

node module to handle authentication for the GitHub Apps API
JavaScript
51
star
18

template

Template for new Probot apps
JavaScript
50
star
19

scheduler

⚠️ Archived
JavaScript
46
star
20

autoresponder

reply to opened GitHub issues with the contents of `.github/ISSUE_REPLY_TEMPLATE.md`
JavaScript
46
star
21

octokit-plugin-config

🛠️ Get/set persisted configuration using YAML/JSON files in repositories
TypeScript
35
star
22

example-github-action

Probot & GitHub Action example
JavaScript
32
star
23

invite

a GitHub App built with Probot for inviting users to an organization
JavaScript
24
star
24

stale-action

Just like the Stale app, but for Actions!
JavaScript
18
star
25

example-vercel

Example Probot Application that is deployed to Vercel
JavaScript
18
star
26

attachments

A Probot extension to add message attachments to comments on GitHub
JavaScript
16
star
27

serverless-gcf

An extension for running Probot on Google Cloud Functions
JavaScript
14
star
28

template-typescript

TypeScript Template for new Probot apps
TypeScript
14
star
29

example-aws-lambda-serverless

Probot & AWS Lamda example using Serverless
JavaScript
13
star
30

auth-routes

🔀🔒 Helpful authentication routes for Node.js GitHub integrations
TypeScript
13
star
31

octokit-auth-probot

🛠️ Octokit authentication strategy for token, app (JWT), and event-based installation authentication
TypeScript
11
star
32

get-private-key

🛠️ Get private key from a path, environment variables, or a `*.pem` file in the current working directory
TypeScript
10
star
33

probot-ui

Browser extension to show custom events from your Probot App in the GitHub timeline
JavaScript
9
star
34

example-google-cloud-function

Probot & Google Cloud Functions example
JavaScript
8
star
35

pino

🛠️ formatting and error captioning for probot logs
JavaScript
8
star
36

friction

a place to talk about any friction experienced using Probot.
8
star
37

mistaken-pull-closer

A GitHub app built with Probot that automatically closes pull requests that are commonly mistakes.
JavaScript
8
star
38

twitter

A repository to compose tweets together for @ProbotTheRobot
6
star
39

hello-world

Probot Hello World on Glitch
JavaScript
6
star
40

adapter-azure-functions

Adapter to run a probot application function in Azure Functions
JavaScript
5
star
41

talks

A collection of conference/lightning talks and presentations about Probot
4
star
42

probot-now-starter

Template for deploying Probot Apps to now.sh
JavaScript
4
star
43

example-nitro

Use Probot with Nitro to deploy it anywhere
CSS
2
star
44

example-azure-function

Probot & Azure Functions example
JavaScript
1
star
45

.github

Org-wide settings
1
star
46

example-begin

Probot & Begin.com example
JavaScript
1
star
47

test

a playground to test probot
1
star
48

eslint-config-probot

JavaScript
1
star
49

example-aws-lambda-sam

JavaScript
1
star