smsplugin

command
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

smsplugin is an example courier plugin: an SMS "gateway" that logs what it would send. A real one calls its provider's API in Send. Run it next to courier and name it in courier's configuration:

plugins:  {sms: {address: "unix:///run/courier/sms.sock"}}
channels: {sms: {provider: {name: sms, settings: {sender: Shop}, secrets: {token: ${SMS_TOKEN}}}}}

Courier then offers courier.SendSms with this plugin's message schema.

Jump to

Keyboard shortcuts

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