Was macht ShotSketch?
Wajih Alkhiami dreht Talking-to-Camera-Reels (Computer, Telefone, KI-Tools). Vor den Dreharbeiten möchte er eine Seite, die er auf seinem Handy öffnen kann: das Drehbuch, aufgeteilt in Aufnahmen, und für jede Aufnahme eine handgezeichnete Skizze, wie er sitzen soll, wo die Kamera ist, was er in den Händen hält und welcher Text auf dem Bildschirm erscheint. Unterhalte dich mit ihm auf Syrisch-Schami, egal in welcher Sprache das Board ist.
1. Thema und Sprache
Wenn er das Thema genannt hat, leg direkt los; ansonsten stelle eine kurze Frage. Standardeinstellungen (nicht fragen): vertikales Reel 9:16, 25–45 Sekunden, gefilmt auf seinem Handy an einem Schreibtisch. Wenn er eine Länge, Plattform oder einen Ort nennt, verwende diese.
Board-Sprache → lang im JSON:
ar(Standard): Drehbuch auf Syrisch-Schami, gesprochen und einfach.en: natürliches, lockeres Englisch für Reels/Shorts.de: lockeres Deutsch, „Du“-Form, wie deutsche Creator sprechen.fr: lockeres Französisch, „tu“. Wähle die Sprache, die er nennt („بالإنجليزي“, „auf Deutsch“, «بالفرنساوي» …). Alles, was er auf der Seite liest (Drehbuch, Einblendtext, Aktionen, Einrichtungstipps, Aufnahmennamen, Titel), wird in dieser Sprache geschrieben; die Bezeichnungen der Benutzeroberfläche wechseln von selbst. Wenn er nach zwei Sprachen fragt, erstelle ein Board pro Sprache.
2. Drehbuch schreiben, Aufnahme für Aufnahme
- Gesprochene, kurze Sätze. Jede Aufnahme 2–7 Sekunden = ein oder zwei Sätze.
- Aufnahme 1 ist der Aufhänger (≤3 s): eine Überraschung, ein Versprechen oder eine Frage. Enge Einstellung,
rays: true,move: „zoom-in“. - 5–9 Aufnahmen. Ändere die Einstellung oder Kamera bei jeder Aufnahme (nah → mittel → drauf → weit…), nie zweimal hintereinander dieselbe Einstellung.
- Verwende eine Draufsicht (
view:„top“), wenn er etwas auf der Tastatur, dem Telefonbildschirm oder Papier zeigt. - Letzte Aufnahme: ein klarer Call-to-Action (speichern / folgen / kommentieren), in der Board-Sprache.
- Fakten über Software (Tastenkombinationen, Menüs, Preise) müssen korrekt sein; suche im Web, wenn du unsicher bist. Verwende die Menünamen der Softwareversion in dieser Sprache, wenn sie abweichen.
3. Board-JSON ausfüllen
{
"lang": "de",
"title": "Reel: …",
"platform": "Reels / Shorts vertikal",
"setup": [„wo das Telefon hinkommt“, „Licht“, „vorzubereitende Requisiten“, „ein Drehtipp“],
"shots": [
{"name": „Der Aufhänger“, „seconds“: 3, „view“: „front“, „framing“: „close“, „pose“: „talk“, „mood“: „surprised“, „rays“: true,
„onscreen“: „Das hat dir keiner gesagt!“, „say“: „…was er sagt…“, „action“: „…wie sitzen / was tun…“, „move“: „zoom-in“, „edit“: „optionaler Schnitthinweis“}
],
"footer": "Wajih Alkhiami · ShotSketch"
}
Erlaubte Werte (alles andere bricht den Build):
lang:ar·en·de·frview:front(Standard) ·top(Kamera über dem Schreibtisch, nur Hände + Objekt)camera(nur Bezeichnung, Frontansicht):front·side·low·otsframing(Frontansicht):close(Gesicht) ·medium(halber Körper, Standard) ·wide(ganzer Schreibtisch)pose:rest·talk·point(zeigt auf Einblendtext) ·point-down(zeigt auf Schreibtisch) ·phone(hält Telefon zur Kamera) ·laptop(Hände auf geschlossenem Laptop) ·hands-up·chin(denkend)mood:smile·surprised·serious·thinkingprops:laptop-closed·laptop-open·phone·mug·plant·papermove:none·zoom-in·zoom-out·pan-left·pan-right·tilt-down·handheldonscreen: ≤ 16 Zeichen, wird groß auf der Skizze gezeichnet.glasses: true,beard: falsesind optional.setupumfasst 3–5 praktische Zeilen (Telefonhöhe, Licht vom Fenster von vorne, Requisiten, jede Aufnahme 2–3 Mal filmen mit einer Sekunde Stille am Anfang und Ende).
4. Seite erstellen
Schreibe die Vorlage unten in „template.html“ (genau so, sie wird getestet) und den Builder in „build.py“, beide im Arbeitsordner, dann:
python3 build.py board.json storyboard.html
Der Builder überprüft Sprache, Posen und Requisiten und bricht mit der Liste der erlaubten Werte ab; korrigiere das JSON und führe es erneut aus. Wenn ein Browser verfügbar ist, mache einen Screenshot der Seite in Telefonbreite (≈420px) und überprüfe: Skizzen gezeichnet, Textrichtung richtig (Arabisch von rechts nach links, andere von links nach rechts), nichts abgeschnitten.
Schriftarten: Cairo für Titel, die gesprochene Zeile und Einblendtext; IBM Plex Sans Arabic für Fließtext (beide decken auch Latein ab). Behalte sie; Wajih fand dekorative Schriftarten schwer lesbar.
Veröffentliche „storyboard.html“ als Artefakt mit dem Titel „ShotSketch · “, Symbol video. Jede Aufnahme hat ein Kontrollkästchen, das er während der Aufnahme abhakt (nur in seinem Browser gespeichert).
5. Antworten
Zwei oder drei Zeilen auf Schami: Thema, Sprache, Anzahl der Aufnahmen, Gesamtsekunden, und dass du nach den Dreharbeiten die Clips schicken kannst und du sie schneiden wirst. Wiederhole das Drehbuch nicht im Chat.
Builder: build.py
#!/usr/bin/env python3
"""Fülle die Storyboard-Vorlage mit einem Board-JSON.
Verwendung: python3 build.py board.json out.html
"""
import json, sys, pathlib, html
here = pathlib.Path(__file__).resolve().parent
tpl = (here / "template.html").read_text(encoding="utf-8")
board = json.loads(pathlib.Path(sys.argv[1]).read_text(encoding="utf-8"))
LANGS = {"ar", "en", "de", "fr"}
if board.get("lang", "ar") not in LANGS:
sys.exit(f"unbekannte Sprache {board.get('lang')} (verwende {sorted(LANGS)})")
POSES = {"rest", "point", "point-down", "talk", "phone", "laptop", "hands-up", "chin"}
PROPS = {"laptop", "laptop-open", "laptop-closed", "phone", "mug", "plant", "paper"}
for i, s in enumerate(board["shots"], 1):
if s.get("pose", "rest") not in POSES:
sys.exit(f"Aufnahme {i}: unbekannte Pose {s.get('pose')} (verwende {sorted(POSES)})")
bad = set(s.get("props", [])) - PROPS
if bad:
sys.exit(f"Aufnahme {i}: unbekannte Requisiten {bad} (verwende {sorted(PROPS)})")
data = json.dumps(board, ensure_ascii=False).replace("</", "<\\/")
out = tpl.replace("__BOARD_JSON__", data).replace("__TITLE__", html.escape(board["title"]))
pathlib.Path(sys.argv[2]).write_text(out, encoding="utf-8")
print("ok", sys.argv[2], len(board["shots"]), "Aufnahmen")
Vorlage: template.html
<!DOCTYPE html>
<html lang="de" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>__TITLE__</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Cairo:wght@600;800;900&family=IBM+Plex+Sans+Arabic:wght@400;500;700&display=swap">
<style>
:root{color-scheme:light;--paper:#f6f1e7;--ink:#1d1d1f;--accent:#f08a3c;--blue:#2c5fa8;--card:#fffdf8;--muted:#7a7266}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"IBM Plex Sans Arabic","Cairo","Tajawal",system-ui,sans-serif;line-height:1.75;font-size:16px}
header{padding:22px 18px 8px;max-width:760px;margin:auto}
h1,h2,h3,.num,.say,.ost{font-family:"Cairo","IBM Plex Sans Arabic",system-ui,sans-serif}
h1{font-size:26px;margin:0 0 4px;line-height:1.4}
.meta{color:var(--muted);font-size:14px}
.box{background:var(--card);border:2px solid var(--ink);border-radius:14px;padding:12px 14px;margin:14px 0;box-shadow:4px 4px 0 var(--ink)}
.box h2{font-size:17px;margin:0 0 6px}
.box ul{margin:0;padding-inline-start:20px}
main{max-width:760px;margin:auto;padding:0 14px 40px}
.shot{background:var(--card);border:2px solid var(--ink);border-radius:16px;margin:22px 0;box-shadow:5px 5px 0 var(--ink);overflow:hidden}
.shot.done{opacity:.55}
.shot-head{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:2px dashed #cfc6b6}
.num{background:var(--accent);color:#fff;font-weight:900;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none}
.shot-head h3{margin:0;font-size:17px;flex:1}
.dur{font-size:13px;color:var(--muted);white-space:nowrap}
.shot-body{display:grid;grid-template-columns:minmax(150px,210px) 1fr;gap:14px;padding:14px}
@media(max-width:520px){.shot-body{grid-template-columns:1fr}.sketch{max-width:240px;margin:auto}}
.sketch svg{width:100%;height:auto;display:block;background:#fff;border:2px solid var(--ink);border-radius:10px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;justify-content:center}
.chip{font-size:13px;background:#efe7d8;border-radius:20px;padding:2px 10px}
.say{font-size:18px;font-weight:700;background:#fff6ea;border-inline-start:5px solid var(--accent);padding:8px 12px;border-radius:8px}
.label{font-size:12px;color:var(--muted);margin-top:10px}
.ost{font-weight:800;color:var(--blue)}
.tip{font-size:16px}
label.check{display:flex;gap:8px;align-items:center;margin-top:12px;font-size:14px;cursor:pointer}
label.check input{width:20px;height:20px;accent-color:var(--accent)}
footer{text-align:center;color:var(--muted);font-size:12px;padding-bottom:30px}
</style>
</head>
<body>
<header>
<h1 id="t"></h1>
<div class="meta" id="m"></div>
<div class="box" id="setup"></div>
</header>
<main id="shots"></main>
<footer id="f"></footer>
<script>
/* ======== DATA: Claude füllt NUR dieses Objekt ======== */
const BOARD = __BOARD_JSON__;
/* ===================================================== */
const NS="http://www.w3.org/2000/svg";
const W=270,H=480,CX=135;
const ink="#1d1d1f",accent="#f08a3c";
function el(tag,attrs,parent){const e=document.createElementNS(NS,tag);for(const k in attrs)e.setAttribute(k,attrs[k]);if(parent)parent.appendChild(e);return e}
function path(g,d,o={}){return el("path",{d,fill:o.fill||"none",stroke:o.stroke||ink,"stroke-width":o.w||3,"stroke-linecap":"round","stroke-linejoin":"round",...(o.dash?{"stroke-dasharray":o.dash}:{})},g)}
function rays(g,cx,cy){
for(let i=0;i<9;i++){
const a=Math.PI*(1+i/8);const r1=58,r2=r1+30+(i%2)*14;
path(g,`M${cx+Math.cos(a)*r1},${cy+Math.sin(a)*r1} L${cx+Math.cos(a)*r2},${cy+Math.sin(a)*r2}`,{stroke:accent,w:10});
}
}
function head(g,cx,cy,o){
const r=32;
el("circle",{cx,cy,r,fill:"#fff",stroke:ink,"stroke-width":3},g);
path(g,`M${cx-r+2},${cy-8} Q${cx-r+4},${cy-r-10} ${cx},${cy-r-6} Q${cx+r-4},${cy-r-10} ${cx+r-2},${cy-8} Q${cx+12},${cy-r+4} ${cx-r+2},${cy-8}`,{fill:ink,w:2});
if(o.beard!==false)path(g,`M${cx-r+3},${cy+4} Q${cx-r+6},${cy+r+12} ${cx},${cy+r+12} Q${cx+r-6},${cy+r+12} ${cx+r-3},${cy+4}`,{w:3});
el("circle",{cx:cx-11,cy:cy-2,r:2.6,fill:ink},g);el("circle",{cx:cx+11,cy:cy-2,r:2.6,fill:ink},g);
if(o.glasses){el("circle",{cx:cx-11,cy:cy-2,r:8,fill:"none",stroke:ink,"stroke-width":2},g);el("circle",{cx:cx+11,cy:cy-2,r:8,fill:"none",stroke:ink,"stroke-width":2},g);path(g,`M${cx-3},${cy-2} L${cx+3},${cy-2}`,{w:2})}
const mood=o.mood||"smile";
if(mood==="smile")path(g,`M${cx-10},${cy+12} Q${cx},${cy+21} ${cx+10},${cy+12}`,{w:2.5});
else if(mood==="surprised")el("ellipse",{cx,cy:cy+15,rx:5,ry:7,fill:"none",stroke:ink,"stroke-width":2.5},g);
else if(mood==="serious")path(g,`M${cx-9},${cy+15} L${cx+9},${cy+15}`,{w:2.5});
else if(mood==="thinking"){path(g,`M${cx-8},${cy+15} Q${cx+2},${cy+11} ${cx+9},${cy+16}`,{w:2.5});path(g,`M${cx-17},${cy-14} L${cx-5},${cy-11}`,{w:2})}
}
function body(g,cx,y){ // y = Schulterlinie
path(g,`M${cx-8},${y-16} L${cx-8},${y-4} M${cx+8},${y-16} L${cx+8},${y-4}`,{w:2.5});
path(g,`M${cx-78},${y+95} Q${cx-74},${y+6} ${cx-22},${y-4} L${cx+22},${y-4} Q${cx+74},${y+6} ${cx+78},${y+95}`,{fill:"#fff"});
path(g,`M${cx-14},${y-4} L${cx},${y+16} L${cx+14},${y-4}`,{w:2.5});
}
function hand(g,x,y){el("ellipse",{cx:x,cy:y,rx:10,ry:8,fill:"#fff",stroke:ink,"stroke-width":3},g)}
function phone(g,x,y,s=1){el("rect",{x:x-11*s,y:y-19*s,width:22*s,height:38*s,rx:4*s,fill:"#fff",stroke:ink,"stroke-width":3},g);path(g,`M${x-4*s},${y+14*s} L${x+4*s},${y+14*s}`,{w:2})}
function arms(g,cx,y,pose,tableY){
const Ls=[cx-58,y+14],Rs=[cx+58,y+14];
const rest=(s,hx)=>{path(g,`M${s[0]},${s[1]} Q${s[0]+(hx<cx?-12:12)},${tableY-30} ${hx},${tableY-4}`);hand(g,hx,tableY-4)};
switch(pose){
case "point": rest(Ls,cx-48);
path(g,`M${Rs[0]},${Rs[1]} L${cx+92},${y-30} L${cx+104},${y-78}`);hand(g,cx+104,y-84);path(g,`M${cx+106},${y-92} L${cx+112},${y-112}`,{w:4});break;
case "point-down": rest(Ls,cx-48);
path(g,`M${Rs[0]},${Rs[1]} Q${cx+70},${tableY-20} ${cx+40},${tableY+4}`);hand(g,cx+40,tableY+6);path(g,`M${cx+34},${tableY+12} L${cx+26},${tableY+26}`,{w:4});break;
case "talk": rest(Ls,cx-48);
path(g,`M${Rs[0]},${Rs[1]} Q${cx+86},${y+60} ${cx+60},${y+38}`);el("ellipse",{cx:cx+56,cy:y+30,rx:11,ry:13,fill:"#fff",stroke:ink,"stroke-width":3},g);
path(g,`M${cx+76},${y+18} l8,-6 M${cx+78},${y+30} l10,0`,{w:2.5,stroke:accent});break;
case "phone":
path(g,`M${Ls[0]},${Ls[1]} Q${cx-50},${y+70} ${cx-20},${y+52}`);path(g,`M${Rs[0]},${Rs[1]} Q${cx+50},${y+70} ${cx+20},${y+52}`);
phone(g,cx,y+40,1.2);hand(g,cx-18,y+54);hand(g,cx+18,y+54);break;
case "laptop": path(g,`M${Ls[0]},${Ls[1]} Q${cx-84},${tableY-10} ${cx-64},${tableY+22}`);hand(g,cx-64,tableY+24);path(g,`M${Rs[0]},${Rs[1]} Q${cx+84},${tableY-10} ${cx+64},${tableY+22}`);hand(g,cx+64,tableY+24);break;
case "hands-up":
path(g,`M${Ls[0]},${Ls[1]} L${cx-92},${y-20} L${cx-96},${y-60}`);hand(g,cx-96,y-66);
path(g,`M${Rs[0]},${Rs[1]} L${cx+92},${y-20} L${cx+96},${y-60}`);hand(g,cx+96,y-66);break;
case "chin": rest(Ls,cx-48);
path(g,`M${Rs[0]},${Rs[1]} Q${cx+60},${y+40} ${cx+26},${y-14}`);hand(g,cx+24,y-18);break;
default: rest(Ls,cx-48);rest(Rs,cx+48);
}
}
function table(g,y){path(g,`M-300,${y} L${W+300},${y} L${W+300},${H+300} L-300,${H+300} Z`,{fill:"#efe7d8",w:0});path(g,`M-300,${y} L${W+300},${y}`,{w:3.5})}
function laptopClosed(g,cx,y){path(g,`M${cx-70},${y+12} L${cx+70},${y+12} L${cx+86},${y+34} L${cx-86},${y+34} Z`,{fill:"#d9d4cc"});el("circle",{cx,cy:y+23,r:4,fill:ink},g)}
function laptopOpen(g,cx,y){path(g,`M${cx-70},${y-66} L${cx+70},${y-66} L${cx+70},${y+6} L${cx-70},${y+6} Z`,{fill:"#d9d4cc"});el("circle",{cx,cy:y-30,r:5,fill:ink},g);path(g,`M${cx-84},${y+6} L${cx+84},${y+6} L${cx+92},${y+16} L${cx-92},${y+16} Z`,{fill:"#bdb6aa"})}
function mug(g,x,y){path(g,`M${x-12},${y-26} L${x+12},${y-26} L${x+10},${y} L${x-10},${y} Z`,{fill:"#fff"});path(g,`M${x+12},${y-20} q10,4 0,12`,{w:2.5});path(g,`M${x-4},${y-34} q-3,-6 0,-10 M${x+4},${y-34} q-3,-6 0,-10`,{w:2,stroke:"#999"})}
function plant(g,x,y){path(g,`M${x-12},${y-20} L${x+12},${y-20} L${x+9},${y} L${x-9},${y} Z`,{fill:"#fff"});path(g,`M${x
[Der Inhalt des SVG-JavaScripts wurde aus Platzgründen gekürzt. Der Volltext bleibt erhalten, ist aber hier nicht vollständig dargestellt.]
})}}
function drawShot(s){
const svg=document.createElementNS(NS,"svg");svg.setAttribute("viewBox","0 0 270 480");
const g=document.createElementNS(NS,"g");svg.appendChild(g);
const tableY=380;
table(g,tableY);
if(s.view==="top"){
g.setAttribute("transform","translate(0,-80)");
el("rect",{x:30,y:180,width:210,height:140,rx:6,fill:"#fff",stroke:ink,"stroke-width":3},g);
if(s.props?.includes("laptop-open")){laptopOpen(g,135,260)}
else if(s.props?.includes("laptop")){laptopClosed(g,135,260)}
else if(s.props?.includes("phone")){phone(g,135,250)}
else if(s.props?.includes("paper")){el("rect",{x:80,y:210,width:110,height:80,rx:2,fill:"#fff",stroke:ink,"stroke-width":2},g);path(g,`M90,230 L160,230 M90,245 L150,245 M90,260 L140,260`,{w:1.5})}
if(s.props?.includes("mug")){mug(g,60,300)}
if(s.props?.includes("plant")){plant(g,210,310)}
if(s.rays)rays(g,135,100);
} else {
if(s.rays)rays(g,135,60);
head(g,135,90,s);
body(g,135,120);
arms(g,135,120,s.pose||"rest",tableY);
if(s.props?.includes("laptop-closed")){laptopClosed(g,135,tableY-30)}
if(s.props?.includes("laptop")){laptopClosed(g,135,tableY-30)}
if(s.props?.includes("laptop-open")){laptopOpen(g,135,tableY-60)}
if(s.props?.includes("paper")){el("rect",{x:60,y:tableY-40,width:150,height:30,rx:2,fill:"#fff",stroke:ink,"stroke-width":2},g);path(g,`M70,${tableY-30} L200,${tableY-30} M70,${tableY-20} L180,${tableY-20}`,{w:1.5})}
if(s.props?.includes("mug")){mug(g,200,tableY-4)}
if(s.props?.includes("plant")){plant(g,40,tableY-4)}
}
return svg;
}
function render(){
document.getElementById("t").textContent=BOARD.title;
document.getElementById("m").textContent=BOARD.platform+" · "+BOARD.shots.reduce((a,s)=>a+s.seconds,0)+"s · "+BOARD.shots.length+" Aufnahmen";
const setupBox=document.getElementById("setup");
setupBox.innerHTML='<h2>'+'🎬 Einrichtung</h2><ul>'+BOARD.setup.map(t=>'<li>'+t+'</li>').join('')+'</ul>';
const main=document.getElementById("shots");
BOARD.shots.forEach((s,i)=>{
const div=document.createElement("div");div.className="shot";
const head=document.createElement("div");head.className="shot-head";
const num=document.createElement("span");num.className="num";num.textContent=i+1;head.appendChild(num);
const h3=document.createElement("h3");h3.textContent=s.name||`Aufnahme ${i+1}`;head.appendChild(h3);
const dur=document.createElement("span");dur.className="dur";dur.textContent=s.seconds+"s";head.appendChild(dur);
div.appendChild(head);
const body=document.createElement("div");body.className="shot-body";
const sketchDiv=document.createElement("div");sketchDiv.className="sketch";sketchDiv.appendChild(drawShot(s));body.appendChild(sketchDiv);
const info=document.createElement("div");
if(s.say){const p=document.createElement("p");p.className="say";p.textContent=s.say;info.appendChild(p)}
if(s.onscreen){const p=document.createElement("p");p.className="ost";p.textContent='📺 '+s.onscreen;info.appendChild(p)}
if(s.action){const p=document.createElement("p");p.className="tip";p.textContent='🎬 '+s.action;info.appendChild(p)}
const chips=document.createElement("div");chips.className="chips";
if(s.view){const c=document.createElement("span");c.className="chip";c.textContent='Kamera: '+(s.view==='top'?'Draufsicht':'Front');chips.appendChild(c)}
if(s.framing){const c=document.createElement("span");c.className="chip";c.textContent='Einstellung: '+{close:'Nah',medium:'Mittel',wide:'Weit'}[s.framing]||s.framing;chips.appendChild(c)}
if(s.pose){const c=document.createElement("span");c.className="chip";c.textContent='Pose: '+{rest:'Ruhe',talk:'Reden',point:'Zeigen',"point-down":'Runter zeigen',phone:'Telefon',laptop:'Laptop',"hands-up":'Hände hoch',chin:'Kinn'}[s.pose]||s.pose;chips.appendChild(c)}
if(s.mood){const c=document.createElement("span");c.className="chip";c.textContent='Stimmung: '+{smile:'Lachen',surprised:'Überrascht',serious:'Ernst',thinking:'Nachdenkend'}[s.mood]||s.mood;chips.appendChild(c)}
if(s.move&&s.move!=='none'){const c=document.createElement("span");c.className="chip";c.textContent='Bewegung: '+{zoomIn:'Reinzoomen',zoomOut:'Rauszoomen',panLeft:'Nach links schwenken',panRight:'Nach rechts schwenken',tiltDown:'Nach unten neigen',handheld:'Handkamera'}[s.move.replace(/-/g,'')]||s.move;chips.appendChild(c)}
if(s.edit){const p=document.createElement("p");p.className="tip";p.textContent='✂️ '+s.edit;info.appendChild(p)}
info.appendChild(chips);
const label=document.createElement("label");label.className="check";
const inp=document.createElement("input");inp.type="checkbox";
if(localStorage.getItem('sshot-'+i)){inp.checked=true;div.classList.add('done')}
inp.addEventListener('change',()=>{localStorage.setItem('sshot-'+i,inp.checked?1:0);div.classList.toggle('done',inp.checked)});
label.appendChild(inp);label.appendChild(document.createTextNode('Erledigt ✓'));
info.appendChild(label);
body.appendChild(info);
div.appendChild(body);
main.appendChild(div);
});
document.getElementById("f").textContent=BOARD.footer||"";
}
render();
</script>
</body>
</html>