Skip to content

πŸ”΄ Receives payloads then sends them to your local server

License

Notifications You must be signed in to change notification settings

probot/smee-client

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d3141e9 Β· Jul 22, 2024
Jul 22, 2024
Feb 3, 2024
Nov 17, 2023
Nov 17, 2023
Oct 25, 2017
Nov 20, 2023
Dec 15, 2018
Jul 22, 2024
Jul 22, 2024
Jul 8, 2024
Jul 22, 2024

Repository files navigation

smee-client

Client and CLI for smee.io, a service that delivers webhooks to your local development environment.

NPM Build Status Codecov

Looking for probot/smee.io?

Installation

Install the client with:

npm install -g smee-client

Usage

CLI

The smee command will forward webhooks from smee.io to your local development environment.

smee

Run smee --help for usage.

Node Client

const SmeeClient = require('smee-client')

const smee = new SmeeClient({
  source: 'https://smee.io/abc123',
  target: 'http://localhost:3000/events',
  logger: console
})

const events = smee.start()

// Stop forwarding events
events.close()