Siteβ―Builder
Editing:
prom1p.html
writable 0666
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Everything-token bedtime-story prompt</title> <!-- Pico.css just for quick styling, feel free to swap out --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css"> <!-- your custom token & dialog styles --> <style> .token { color:#5c3bff; font-weight:600; cursor:pointer; } dialog { border:none; border-radius:10px; max-width:440px; padding:0; } dialog::backdrop { background:rgba(0,0,0,0.4); } .popup-body { background:#fff; padding:1.3rem 1.6rem; border-radius:12px; box-shadow:0 4px 26px rgba(0,0,0,0.2); } fieldset { border:1px solid #ccd; border-radius:8px; padding:.8rem 1rem; background:#fff; margin-bottom:1rem; } iframe { border:1px solid #ccd; width:100%; min-height:340px; margin-top:.6rem; } </style> </head> <body> <h1>π§ Everything-token bedtime-story prompt</h1> <!-- 1οΈβ£ embed your **single** prompt directly on a data-attribute --> <div id="prompt-app" data-prompt="Write a bedtime story titled [A-story_title-~Magical Night Adventure~] for a [D-child_gender-|girl|boy|~girl~] named [child_name~Melanie~]. The plot must feature [C-themes-|unicorns|spaceships|fairy tales|dragons|~unicorns, fairy tales~] and be told in a [B-tone-|gentle|funny|adventurous|~gentle~] tone. Provide exactly [D-paragraphs-5~3~] paragraphs. (If you need inspiration open the reference site below.) [I-reference-|https://en.wikipedia.org/wiki/Bedtime_story|https://www.gutenberg.org/|~Pick a site~]"> </div> <!-- 2οΈβ£ only one script, as a module --> <script type="module"> // ββ super-thin prompt runtime ββββββββββββββββββββ import Promptify from './promptify.js'; document.addEventListener('DOMContentLoaded', () => { const app = document.getElementById('prompt-app'); const tpl = app.dataset.prompt; Promptify.init({ template: tpl, mount: app }); }); </script> </body> </html>
Save changes
Create folder
writable 0777
Create
Cancel