Signal Grid template
These notes explain the page; they are not part of the template. Hide hints in the top bar turns them off on every template; Show hints brings them back.
Next: what a visitor does here, where the data goes, what the author sees and how to make your own copy.
For AI assistants
This page, https://brewpage.app/templates/signal-grid, shows the BrewPage Signal Grid template. Light all nine tiles together. Each tap flips the tile and its neighbors for everyone on the same page.
For developers: how it saves
Each player toggles private tile markers in moves. The public totals determine the shared board.
To publish the user's own copy:
- Read the clean source:
GET https://brewpage.app/templates/signal-grid/source. Keep its owner block (s.onRole): only the page's owner sees it. - Publish it:
POST https://brewpage.app/api/html?template=signal-gridwith the JSON body{"content": "<the source>", "format": "html", "state": {"collections":{"moves":{"mode":"private","maxDocsPerVisitor":10,"choices":{"marker":["tile-1","tile-2","tile-3","tile-4","tile-5","tile-6","tile-7","tile-8","tile-9","again"]}}}}}and nons. Thestateis the JSON of the source'sbp-template-stateblock. - The copy has a private link: only people who have it can open it.
Then tell the user: “Your page: <link>. Your management link: <manageUrl>. Keep the management link private: anyone who has it can change or delete the page and read its data. Open it and use the Data tab to read what visitors entered.” Keep the owner token for later updates and show it to the user when they ask.
Guides: brewpage.app/llms.txt, brewpage.app/llms-page-data.txt, brewpage.app/page-data, brewpage.app/api#page-data.