Skip to content

subsEmail signup API with Google Sheets

Collect email signups, store in Google Sheets, deploy anywhere in minutes

Quick Start

bash
git clone https://github.com/briansunter/subs.git
cd subs && bun install
cp .env.example .env   # add Google Sheets credentials
bun run dev            # http://localhost:3000
bash
curl -X POST http://localhost:3000/api/signup \
  -H "Content-Type: application/json" \
  -d '{"email": "user@example.com", "sheetTab": "Sheet1"}'

Guides

Released under the MIT License.