A terminal UI for managing Secret Party events.
curl -sSL https://raw.githubusercontent.com/wevans997-dev/secretparty-cli/main/install.sh | shIf you have Go installed:
go install github.com/wevans997-dev/secretparty-cli/cli/cmd/secretparty@latestNote: The binary will be named secretparty. Rename it to sp if you prefer:
mv $(go env GOPATH)/bin/secretparty $(go env GOPATH)/bin/spDownload the latest release for your platform from the Releases page.
| Platform | Download |
|---|---|
| macOS (Apple Silicon) | sp_*_darwin_arm64.tar.gz |
| macOS (Intel) | sp_*_darwin_amd64.tar.gz |
| Linux (x64) | sp_*_linux_amd64.tar.gz |
| Linux (ARM64) | sp_*_linux_arm64.tar.gz |
| Windows | sp_*_windows_amd64.zip |
git clone https://github.com/wevans997-dev/secretparty-cli.git
cd secretparty-cli/cli
go build -o sp ./cmd/secretparty
./sp- Authentication: Login with email/password, credentials stored securely in system keychain
- Event Management: View all your events with status, ticket counts, and revenue
- Event Details: See ticket type breakdown, sales stats, and attendee lists
- Attendee Management: View attendees sorted alphabetically, paginated display
- CSV Export: Export attendee lists to CSV files
- Event Creation: Step-by-step wizard to create new events with ticket types
Run the CLI:
sp| Key | Action |
|---|---|
↑/↓ |
Navigate lists, move between wizard steps |
←/→ |
Page through attendees, select options |
Enter |
Select, confirm, advance to next step |
Esc |
Go back |
e |
Export to CSV (on event detail screen) |
Ctrl+C |
Quit |
The wizard guides you through creating an event:
- Event Name - Required
- URL Slug - Auto-generated from name, editable
- Description - Optional
- Start Date & Time - Required, must be in future (format:
YYYY-MM-DD HH:MM) - End Date & Time - Required, must be after start time
- Venue - Optional
- Location - Optional (address, city, state)
- Capacity - Optional
- Privacy - Choose: private, semi-private, or public
- Ticket Types - Add one or more ticket types with name, price, and quantity
- Review - Confirm and create
Use ↑ to go back and edit previous steps.
- Credentials are stored in your system's secure keychain (macOS Keychain, Windows Credential Manager, or Linux Secret Service)
- If keychain is unavailable, falls back to
~/.config/secretparty/credentials.jsonwith restrictive permissions (0600) - Auth tokens are JWT format and expire; re-login if you see authentication errors
For quick command-line access without the TUI.
Get your auth token from the browser:
- Login at https://www.secretparty.io
- Open DevTools (F12) → Console
- Run:
localStorage.getItem("token") - Export:
export SP_TOKEN="your-token"
Fetch invitations for an event:
./get_invitations.sh [event_id]Export ticket purchasers to CSV:
./export_purchasers.sh [event_id]See AGENTS.md for detailed API reverse-engineering notes.
MIT