Skip to content

feat: Use Asciinema to display interactive demo #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MacFJA
Copy link
Contributor

@MacFJA MacFJA commented Apr 9, 2025

Use Asciinema instead of static rendering.
It allows viewing the different possible state of a prompt

The cast files are easy to create (by hand or with the CLI tool) and edit (re-timing, add marker)

Tip

The two example cast have been recorded with the asciinema CLI.
They have been retimed, to be more realist and manageable (easier to handle 0.1s increments than 0.0000001s).

Note

The component is written with Svelte (because I'm more fluent with it), but can be translated with no difficulty into another framework (the component don't do much)

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant