Skip to content

Add interactive CSV import terminal demo to Scriptella website #84

Open

Description

@ejboy

Goal

Add one polished, interactive Scriptella terminal demo to the website: a short CSV import walkthrough. The user-facing deliverable is the demo, not a general terminal framework or a new standalone product.

Reuse the visual style and relevant scripted terminal behavior from the existing AI Badger demo as a starting point, extracting only what is needed for a reusable, embeddable single-terminal player.

Demo scope

  • Show one representative, technically accurate CSV → database import workflow (prefer PostgreSQL), using Scriptella 1.7.0 and a realistic ETL example.
  • Organize it into a few short, deterministic stages, e.g. prepare / run with progress / verify results.
  • Animate commands (optional typing effect), output and pauses; provide Play/Pause, Back, Next, Restart.
  • Allow users to skip a slow import stage instantly. Changing stages should reconstruct the correct terminal state rather than requiring real-time replay.
  • Use output captured from or validated against a real Scriptella run. Make clear that the browser is replaying a scripted demonstration, not running a database or executing arbitrary terminal commands.
  • Publish one discoverable demo page on scriptella.org, linked naturally from the homepage or tutorial. Keep a copyable command / link to the real runnable example.

Small supporting component

  • Extract just the attractive single-terminal window and basic stage playback logic from AI Badger's existing implementation.
  • Implement in vanilla HTML/CSS/JavaScript, with no new frameworks or build/runtime dependencies.
  • Keep terminal styling self-contained so it can be embedded in existing pages without leaking styles or depending heavily on host-page CSS; responsive and usable with keyboard controls.
  • Keep scripted scenario data separate from the renderer, enough to support future demos without changing the player.
  • Avoid modifying/breaking the existing AI Badger demo during extraction.

Explicit non-goals

No terminal emulator/PTY, backend or live database, recording pipeline, multiple synchronized panels, zoom controls, database visualization, external playback service, or published/general-purpose demo framework.

Done when

A visitor can open the Scriptella website demo, watch the CSV import progress, pause it, skip forward or back between stages, and follow a link to reproduce the example. The player can be embedded in the site's existing layout without style conflicts. Keep the implementation small and focused on this one demo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions