A zero‑dependency JavaScript micro‑framework that turns any block of text into an editable, AI‑aware conversation form.
1 · Why Promptinator?
Traditional forms are rigid; AI‑generated content is often detached from your real‑world data. Promptinator bridges that gap:
-
Dynamic tokens let you sprinkle shortcodes directly in copy, instantly rendering text inputs, radio buttons, check‑boxes, dropdowns, URL pickers and more.
-
Inline editing (✏️) means anyone—non‑coders included—can tweak the underlying prompt in‑place and re‑render with one click.
-
“Think” mode adds one‑click links to ChatGPT, Perplexity and Copilot, seeding those models with the filled‑in prompt so your business context travels with the user.
-
Business autoload pulls profile fields (name, address, services, etc.) from
window.businessData, or falls back to the phone number in the page URL—great for directory sites that serve thousands of microsites from a single JS/CSS pair.
2 · Files in this package
| File | Purpose |
|---|---|
businessPromptinator.js |
The ES‑module containing the Promptinator class and built‑in toolbar/snippet helper. |
promptinator.css |
Scoped dialog / popup styles plus optional button theming and mobile tweaks. |
README.md |
You’re reading it. |
| (optional) assets/… | Any screenshots or GIFs you add. |
Both JS and CSS are completely standalone—no frameworks, no build step.

