fossabot clone for streamplace superbot.mmatt.net
superbot PRODUCT.md
4.7 kB 85 lines
Markdown
at main

Product #

Platform #

web

Stack #

Delegated (the user asked for "the full thing" and left the stack open):

  • Node 24+ and TypeScript, run directly with Node's type stripping.
  • Server: Hono, SQLite via node:sqlite, @atproto/api, @atproto/oauth-client-node.
  • Dashboard: React 19, React Router, TanStack Query and Tailwind CSS v4, built with Vite.

Users #

  • Streamers on Streamplace (stream.place, the AT Protocol livestreaming site). They sign in with their Bluesky/atproto account to set up a chat bot for their channel: commands, timers, moderation and alerts. They configure it between streams and adjust it mid-stream from a second screen.
  • Moderators and editors the streamer trusts. They sign in to the same dashboard with limited permissions to manage commands and filters, or to act during a stream.
  • Viewers only meet the bot in chat, plus the public command list and media queue pages.

Product Purpose #

Superbot is a hosted, feature-complete chat bot for Streamplace, comparable to Fossabot on Twitch:

  • custom and built-in commands, keywords and timers
  • blocked terms, spam filters and nukes
  • chat alerts (go live, follows, teleports), giveaways, loyalty and media requests
  • modules (8-ball, combos, pyramids, vote kick, Bluesky post notifications)
  • roles and permissions, presets, lookalikes, a configuration tester and an audit log

Success means a streamer can move over from a Twitch bot and have chat run itself, while their mod team shares one dashboard.

Positioning #

Built natively on the AT Protocol:

  • Moderation actions are records in the streamer's own repo: blocks for bans and timeouts, chat gates for hidden messages, pins.
  • The bot is a normal atproto account labeled as a bot.
  • Sign-in is atproto OAuth with scopes narrowed to just those records, plus place.stream.chat.message. The dashboard chat box posts from the signed-in person's own account, never the bot's.
  • Follow alerts and post notifications come from Jetstream.

Command variables use Fossabot's $(…) syntax, so commands migrate unchanged.

Operating Context #

  • A streamer signs in, and their channel is created with the bot joined.
  • Day to day: managing commands, terms and filters in modal editors, and watching the dashboard (audit log, live chat, stream controls) while live.
  • Moderators get dashboard access through Streamplace moderator records or custom roles.
  • Viewers type !commands and get a public URL.

Capabilities and Constraints #

  • Moderation depends on the streamer's OAuth session staying valid. The dashboard must surface "reconnect" clearly when it lapses.
  • Streamplace has no native timeout. Timeouts are a block plus a scheduled unblock, and that block is also a real Bluesky block.
  • The bot account's PDS write limits cap how much it can post. Messages are throttled per channel.
  • Twitch-only concepts are omitted or replaced:
    • Channel points, bits and subs don't exist.
    • VIP and moderator come from Streamplace badges.
    • "Game" is Streamplace's activity: a catalog game or a label like Just Chatting.
  • Media request search needs a YouTube API key; links work without one.

Brand Commitments #

  • The name is Superbot.
  • The icon is a white "S" in a dark green speech bubble on a green rounded square (assets/icon.svg).
  • It must not look like Fossabot (whose identity is blue). It is an independent product, not affiliated with Fossabot, Twitch, Bluesky or Streamplace.

Evidence on Hand #

  • Reference screenshots of Fossabot's landing page and dashboard are in research/fossabot/ (structure reference only).
  • Streamplace protocol notes are in research/streamplace/NOTES.md.
  • There are no real users, testimonials, logos or stats yet. Do not fabricate any.

Product Principles #

  1. Chat first. Every feature exists to make the stream's chat better. The dashboard is where you set it up, not the destination.
  2. The streamer stays in control. Every action is logged, reversible where possible, and done through records the streamer owns.
  3. Familiar to migrators. Fossabot users should recognize commands, variables and concepts immediately.
  4. Honest about the platform. Show what Streamplace can and can't do (timeouts are blocks, no subs) instead of pretending.

Design Direction (chosen 2026-11-23) #

The user picked the conventional path: a clean, neutral, modern SaaS dashboard at the craft level of Linear and Vercel.

  • Color: restrained neutral surfaces, with the green of the Superbot icon as the single accent.
  • Light and dark: both themes. Dark by default, for second-monitor use while streaming.
  • Execute it straight: no themed costume, no retro gimmicks.