gitwtfhub

wtf is emdash-plugin-twilio-sms?

full-stack-tech/emdash-plugin-twilio-sms — explained in plain English

Analysis updated 2026-05-18

1TypeScriptAudience · developerComplexity · 2/5LicenseSetup · moderate

TL;DR

A Twilio SMS plugin for EmDash CMS that handles subscriber broadcasts, STOP/START opt-out compliance, delivery tracking, and a form-submission text bridge.

Mindmap

mindmap
  root((emdash-plugin-twilio-sms))
    What it does
      SMS broadcasts
      Opt-out compliance
      Delivery tracking
      Form bridge
    Tech stack
      TypeScript
      Twilio
      Cloudflare Workers
      EmDash CMS
    Use cases
      Parent notifications
      Form approval texts
      Compliant broadcasts
    Audience
      EmDash developers
      Worker or Node projects

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Send SMS broadcasts to tagged subscriber lists like parents or members from an EmDash-powered site.

REASON 2

Automatically honor STOP/START/HELP replies so the site stays compliant with SMS opt-out rules.

REASON 3

Text a subscriber automatically when their form submission is received or approved.

What's in the stack?

TypeScriptTwilioCloudflare WorkersEmDash CMS

How it stacks up

full-stack-tech/emdash-plugin-twilio-sms0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardeasy
Complexity2/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires a Twilio account with account SID, auth token, and a sender number set as Worker secrets.

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

This project is a Twilio SMS plugin for EmDash CMS, a content management system. It lets a site running EmDash send text messages to lists of subscribers, such as parents on a school mailing list, and manage the whole lifecycle of those messages properly. The plugin handles SMS broadcasts to tagged groups of subscribers, so an admin could send a single message to everyone tagged as a parent, for example. It also takes care of opt-out compliance: if someone replies STOP, they are automatically unsubscribed and will never receive another broadcast or one-off message, while START re-subscribes them and HELP gets a canned reply. These inbound replies are verified using Twilio's signature check before anything is changed, so the system can trust that the message really came from Twilio and not a spoofed request. Beyond broadcasts, it logs delivery status through Twilio's callback system, so you can see whether a text actually reached someone. It also estimates how many SMS segments a message will take up, since long messages get split and billed differently depending on whether they use standard characters or characters outside the basic GSM alphabet. There is also a bridge to a forms plugin, so when someone submits or has a form approved, they can automatically receive a text with a template message. While it is built specifically for EmDash, the author also exposed a framework agnostic core: phone number formatting, SMS segment counting, sending through Twilio's API, and webhook signature verification, which only depend on standard web APIs. That means these pieces can be reused directly in any Worker or Node project, without needing EmDash at all. The project was pulled out of a real production site for a school parent-teacher association, so the compliance and delivery-tracking logic reflects what that site actually needed. It is licensed under MIT.

Yoink these prompts

Prompt 1
Show me how to register the emdash-plugin-twilio-sms plugin in my EmDash config and set the required Twilio secrets.
Prompt 2
Write example code using the framework-agnostic core to send a Twilio SMS from a Cloudflare Worker without EmDash.
Prompt 3
Explain how STOP/START/HELP opt-out compliance works in this plugin and how signature verification protects it.
Prompt 4
Help me set up the form-submission bridge so a subscriber gets a text when their form is approved.

Frequently asked questions

wtf is emdash-plugin-twilio-sms?

A Twilio SMS plugin for EmDash CMS that handles subscriber broadcasts, STOP/START opt-out compliance, delivery tracking, and a form-submission text bridge.

What language is emdash-plugin-twilio-sms written in?

Mainly TypeScript. The stack also includes TypeScript, Twilio, Cloudflare Workers.

What license does emdash-plugin-twilio-sms use?

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is emdash-plugin-twilio-sms to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is emdash-plugin-twilio-sms for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.