ScriptDeck Conversation Script Runner Development by Hatim El HassakScriptDeck Conversation Script Runner Development by Hatim El Hassak

ScriptDeck Conversation Script Runner Development

Portfolio project
Hatim El Hassak

๐Ÿ“‹ ScriptDeck

Configurable step-by-step conversation script runner with response cards
A fast, keyboard-driven terminal for managing call scripts, rebuttals, session analytics, and checklists โ€” all in the browser, all offline.

โœจ Features

๐Ÿ“ Script Steps

8-step conversation flow โ€” walk through scripted steps sequentially
Rich-text editing โ€” bold, italic, highlights, blockquotes
Step tracking โ€” time spent on each step logged automatically
Arrow keys / number keys to navigate steps

๐Ÿ›ก๏ธ Response Cards

Categorized rebuttals โ€” Trust, Objection, Value, Pricing, Competitor
Expand/collapse โ€” click to reveal full response text
Quick copy โ€” one-click copy response to clipboard
Search & filter โ€” find the right response instantly
Editable โ€” add, edit, and delete cards in edit mode

๐Ÿ“Š Session Analytics

Call duration, steps reached, checklist completion
Per-step time tracking with visual bar chart
Session history log โ€” saved across sessions

โฑ๏ธ Call Timer

Auto-starts on first interaction
Tracks total call time and time per step
Reset button saves session to history

โœ… Call Checklist

Pre-configured checklist items (fully customizable)
Check off items as you progress through the call

๐ŸŽจ Design

Clean blue theme (light) / deep navy (dark)
Glassmorphism modals with backdrop blur
Keyboard-first โ€” arrow keys to navigate, E to edit

๐Ÿš€ Quick Start

git clone https://github.com/hatimhtm/ScriptDeck.git
cd ScriptDeck
npm install
npm run dev

Production Build

npm run build
npm run preview

โŒจ๏ธ Keyboard Shortcuts

Key Action 1โ€“8 Jump to script step โ†’ โ†“ Next step โ† โ†‘ Previous step E Toggle edit mode โŒ˜Z / Ctrl+Z Undo โŒ˜โ‡งZ / Ctrl+Shift+Z Redo โŒ˜S / Ctrl+S Export script Esc Close modals

๐Ÿ“ Project Structure

ScriptDeck/
โ”œโ”€โ”€ index.html # App entry point
โ”œโ”€โ”€ package.json # Dependencies & scripts
โ”œโ”€โ”€ vite.config.js # Build config
โ””โ”€โ”€ src/
โ”œโ”€โ”€ main.js # App controller
โ”œโ”€โ”€ state.js # State manager (localStorage, undo/redo, sessions)
โ”œโ”€โ”€ data.js # Demo script & rebuttals
โ””โ”€โ”€ styles/
โ”œโ”€โ”€ variables.css # Design tokens & themes
โ”œโ”€โ”€ layout.css # Grid layout & modals
โ”œโ”€โ”€ toolbar.css # Toolbar, step nav, timer
โ”œโ”€โ”€ script.css # Script card panels
โ”œโ”€โ”€ rebuttals.css # Rebuttal cards, analytics, history
โ””โ”€โ”€ sidebar.css # Checklist

๐Ÿ”ง Customization

Loading Your Own Script

Click Edit Script to enter edit mode
Modify step content, add/remove rebuttals
Click Export to save as JSON
Share with your team โ€” they Import the JSON to load it

Custom Categories

Edit src/data.js to add new rebuttal categories and adjust the color palette in variables.css.

๐Ÿ“„ License

MIT โ€” free for personal and commercial use.
Built for anyone who works with scripts โ€” sales, support, onboarding, or training.

0 likes ยท 3 views ยท Feb 13, 2026

Developed a configurable conversation script runner for ScriptDeck.

Tags