Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Hero is a map-based history quiz built as a static site with Firebase and EdgeOne serverless functions.
CONFIG.md for the configuration map, deployment variables, and project layout.js/00-site-config.js for the site name, version, data namespace, tagline, intro, and feature flags.js/02-firebase-config.js for the public Firebase web app configuration.firestore.rules into the matching Firebase project's Firestore Rules page and publish it.content/BOUNDARIES.md to export the quiz catalog and build the bundled 10m map boundaries.| Path | Contents |
|---|---|
index.html | Site markup and script loading order |
js/ | Browser code, split by feature |
css/ | Site styles and generated Tailwind CSS |
edge-functions/api/ | EdgeOne server endpoints; private keys are read from environment variables |
scripts/ | Versioning and maintenance scripts |
firestore.rules | Firestore access rules |
Deploy through EdgeOne Pages. Put admin passwords, Firebase service-account private keys, GitHub tokens, webhook URLs, and the Gemini key in EdgeOne environment variables. Do not commit them or include them in browser JavaScript. The Firebase web config is public by design; Firestore rules and Firebase project settings enforce access.
See CONFIG.md for the full environment variable list, including the GitHub token required by the Steward redeploy feature.
npm run release:patch, npm run release:minor, or npm run release:major updates the site and package version.npm run setup:git-hooks once per clone. VS Code commits then get a v<version>: prefix from SITE.version in js/00-site-config.js; any message you type is kept after the prefix.npm run build:css rebuilds css/tailwind.css from tailwind.input.css and tailwind.config.js.Hero has no usernames or email sign-in. Firebase Anonymous Authentication creates a random guest session in each browser so Firestore can save that browser's scores, streak, settings, and push preferences. On its own that guest session is device-bound: clearing browser site data or switching devices starts a new one.
Students can optionally set a password profile on the Profile page. The password is never stored; only a SHA-256 hash of it is used as the Firestore profile document ID. Entering the same password on another device loads that person's display name and score history, so the profile follows them across devices. There is no recovery if the password is lost. The class survey records answers in the profile, so each person answers a given survey run only once, even across devices; visitors without a profile are deduplicated per guest session.
Enable Anonymous under Firebase Console > Authentication > Sign-in method, keep student credential providers disabled, and publish firestore.rules. Steward access remains separate and password protected.
/api/chat verifies a Firebase guest or steward ID token server-side before it will spend Gemini quota. Because anyone can start a guest session, set EdgeOne rate limits for /api/chat if the public endpoint receives abuse. In addition to GEMINI_API_KEY, set:
FIREBASE_API_KEY = the same "apiKey" value already in js/02-firebase-config.js
It isn't a secret (Firebase web API keys are public by design), but the edge function needs its own copy since environment variables aren't readable from the browser bundle.
The construction-page message can be customized in the admin panel's Dev Mode card. Leave the field blank to restore its default.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (crwcln/heroapp) — no native marketplace selected
npx claudepluginhub p/crwcln-unslopPlugins from other owners that cover similar ground