├── .eslintrc.js ├── .github ├── .npmrc ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ └── config.yml └── workflows │ ├── build.yml │ ├── prerelease.yml │ └── release.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── flake.lock ├── flake.nix ├── justfile ├── package.json ├── playwright.config.js ├── rollup.config.mjs ├── src ├── buffer.js ├── clock.js ├── components │ ├── ControlBar.js │ ├── ErrorOverlay.js │ ├── HelpOverlay.js │ ├── InfoOverlay.js │ ├── Line.js │ ├── LoaderOverlay.js │ ├── Player.js │ ├── Segment.js │ ├── StartOverlay.js │ ├── Terminal.js │ └── icons │ │ ├── ExpandIcon.js │ │ ├── KeyboardIcon.js │ │ ├── PauseIcon.js │ │ ├── PlayIcon.js │ │ ├── ShrinkIcon.js │ │ ├── SpeakerOffIcon.js │ │ └── SpeakerOnIcon.js ├── core.js ├── driver │ ├── benchmark.js │ ├── clock.js │ ├── eventsource.js │ ├── random.js │ ├── recording.js │ ├── websocket.js │ └── websocket │ │ ├── alis.js │ │ ├── asciicast-v2.js │ │ ├── asciicast-v3.js │ │ └── raw.js ├── index.js ├── less │ ├── asciinema-player.less │ ├── modules │ │ └── _font.less │ ├── partials │ │ ├── _256.less │ │ ├── _base.less │ │ ├── _control-bar.less │ │ ├── _overlays.less │ │ ├── _player.less │ │ ├── _terminal.less │ │ └── _tooltip.less │ └── themes │ │ ├── _asciinema.less │ │ ├── _dracula.less │ │ ├── _gruvbox-dark.less │ │ ├── _monokai.less │ │ ├── _nord.less │ │ ├── _seti.less │ │ ├── _solarized-dark.less │ │ ├── _solarized-light.less │ │ └── _tango.less ├── logging.js ├── opts.js ├── parser │ ├── README.md │ ├── asciicast.js │ ├── starwars.txt │ ├── ttyrec.js │ └── typescript.js ├── queue.js ├── stream.js ├── ui.js ├── util.js ├── view.js ├── vt │ ├── .appveyor.yml │ ├── .cargo-ok │ ├── .gitignore │ ├── .travis.yml │ ├── Cargo.lock │ ├── Cargo.toml │ ├── LICENSE_APACHE │ ├── LICENSE_MIT │ ├── README.md │ ├── src │ │ └── lib.rs │ └── tests │ │ └── web.rs └── worker.js └── tests ├── assets ├── asciinema-player.css ├── asciinema-player.js └── simple.cast ├── index.html └── player.spec.js /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/.github/.npmrc -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/.github/ISSUE_TEMPLATE/bug-report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/prerelease.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/.github/workflows/prerelease.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/README.md -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/flake.nix -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/justfile -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/package.json -------------------------------------------------------------------------------- /playwright.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/playwright.config.js -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /src/buffer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/buffer.js -------------------------------------------------------------------------------- /src/clock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/clock.js -------------------------------------------------------------------------------- /src/components/ControlBar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/ControlBar.js -------------------------------------------------------------------------------- /src/components/ErrorOverlay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/ErrorOverlay.js -------------------------------------------------------------------------------- /src/components/HelpOverlay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/HelpOverlay.js -------------------------------------------------------------------------------- /src/components/InfoOverlay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/InfoOverlay.js -------------------------------------------------------------------------------- /src/components/Line.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/Line.js -------------------------------------------------------------------------------- /src/components/LoaderOverlay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/LoaderOverlay.js -------------------------------------------------------------------------------- /src/components/Player.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/Player.js -------------------------------------------------------------------------------- /src/components/Segment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/Segment.js -------------------------------------------------------------------------------- /src/components/StartOverlay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/StartOverlay.js -------------------------------------------------------------------------------- /src/components/Terminal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/Terminal.js -------------------------------------------------------------------------------- /src/components/icons/ExpandIcon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/icons/ExpandIcon.js -------------------------------------------------------------------------------- /src/components/icons/KeyboardIcon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/icons/KeyboardIcon.js -------------------------------------------------------------------------------- /src/components/icons/PauseIcon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/icons/PauseIcon.js -------------------------------------------------------------------------------- /src/components/icons/PlayIcon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/icons/PlayIcon.js -------------------------------------------------------------------------------- /src/components/icons/ShrinkIcon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/icons/ShrinkIcon.js -------------------------------------------------------------------------------- /src/components/icons/SpeakerOffIcon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/icons/SpeakerOffIcon.js -------------------------------------------------------------------------------- /src/components/icons/SpeakerOnIcon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/components/icons/SpeakerOnIcon.js -------------------------------------------------------------------------------- /src/core.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/core.js -------------------------------------------------------------------------------- /src/driver/benchmark.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/driver/benchmark.js -------------------------------------------------------------------------------- /src/driver/clock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/driver/clock.js -------------------------------------------------------------------------------- /src/driver/eventsource.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/driver/eventsource.js -------------------------------------------------------------------------------- /src/driver/random.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/driver/random.js -------------------------------------------------------------------------------- /src/driver/recording.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/driver/recording.js -------------------------------------------------------------------------------- /src/driver/websocket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/driver/websocket.js -------------------------------------------------------------------------------- /src/driver/websocket/alis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/driver/websocket/alis.js -------------------------------------------------------------------------------- /src/driver/websocket/asciicast-v2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/driver/websocket/asciicast-v2.js -------------------------------------------------------------------------------- /src/driver/websocket/asciicast-v3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/driver/websocket/asciicast-v3.js -------------------------------------------------------------------------------- /src/driver/websocket/raw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/driver/websocket/raw.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/index.js -------------------------------------------------------------------------------- /src/less/asciinema-player.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/asciinema-player.less -------------------------------------------------------------------------------- /src/less/modules/_font.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/modules/_font.less -------------------------------------------------------------------------------- /src/less/partials/_256.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/partials/_256.less -------------------------------------------------------------------------------- /src/less/partials/_base.less: -------------------------------------------------------------------------------- 1 | @import "../modules/_font"; 2 | -------------------------------------------------------------------------------- /src/less/partials/_control-bar.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/partials/_control-bar.less -------------------------------------------------------------------------------- /src/less/partials/_overlays.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/partials/_overlays.less -------------------------------------------------------------------------------- /src/less/partials/_player.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/partials/_player.less -------------------------------------------------------------------------------- /src/less/partials/_terminal.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/partials/_terminal.less -------------------------------------------------------------------------------- /src/less/partials/_tooltip.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/partials/_tooltip.less -------------------------------------------------------------------------------- /src/less/themes/_asciinema.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/themes/_asciinema.less -------------------------------------------------------------------------------- /src/less/themes/_dracula.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/themes/_dracula.less -------------------------------------------------------------------------------- /src/less/themes/_gruvbox-dark.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/themes/_gruvbox-dark.less -------------------------------------------------------------------------------- /src/less/themes/_monokai.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/themes/_monokai.less -------------------------------------------------------------------------------- /src/less/themes/_nord.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/themes/_nord.less -------------------------------------------------------------------------------- /src/less/themes/_seti.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/themes/_seti.less -------------------------------------------------------------------------------- /src/less/themes/_solarized-dark.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/themes/_solarized-dark.less -------------------------------------------------------------------------------- /src/less/themes/_solarized-light.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/themes/_solarized-light.less -------------------------------------------------------------------------------- /src/less/themes/_tango.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/less/themes/_tango.less -------------------------------------------------------------------------------- /src/logging.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/logging.js -------------------------------------------------------------------------------- /src/opts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/opts.js -------------------------------------------------------------------------------- /src/parser/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/parser/README.md -------------------------------------------------------------------------------- /src/parser/asciicast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/parser/asciicast.js -------------------------------------------------------------------------------- /src/parser/starwars.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/parser/starwars.txt -------------------------------------------------------------------------------- /src/parser/ttyrec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/parser/ttyrec.js -------------------------------------------------------------------------------- /src/parser/typescript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/parser/typescript.js -------------------------------------------------------------------------------- /src/queue.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/queue.js -------------------------------------------------------------------------------- /src/stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/stream.js -------------------------------------------------------------------------------- /src/ui.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/ui.js -------------------------------------------------------------------------------- /src/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/util.js -------------------------------------------------------------------------------- /src/view.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/view.js -------------------------------------------------------------------------------- /src/vt/.appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/vt/.appveyor.yml -------------------------------------------------------------------------------- /src/vt/.cargo-ok: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vt/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | bin/ 4 | pkg/ 5 | wasm-pack.log 6 | node_modules 7 | -------------------------------------------------------------------------------- /src/vt/.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/vt/.travis.yml -------------------------------------------------------------------------------- /src/vt/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/vt/Cargo.lock -------------------------------------------------------------------------------- /src/vt/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/vt/Cargo.toml -------------------------------------------------------------------------------- /src/vt/LICENSE_APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/vt/LICENSE_APACHE -------------------------------------------------------------------------------- /src/vt/LICENSE_MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/vt/LICENSE_MIT -------------------------------------------------------------------------------- /src/vt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/vt/README.md -------------------------------------------------------------------------------- /src/vt/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/vt/src/lib.rs -------------------------------------------------------------------------------- /src/vt/tests/web.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/vt/tests/web.rs -------------------------------------------------------------------------------- /src/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/src/worker.js -------------------------------------------------------------------------------- /tests/assets/asciinema-player.css: -------------------------------------------------------------------------------- 1 | ../../dist/bundle/asciinema-player.css -------------------------------------------------------------------------------- /tests/assets/asciinema-player.js: -------------------------------------------------------------------------------- 1 | ../../dist/bundle/asciinema-player.js -------------------------------------------------------------------------------- /tests/assets/simple.cast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/tests/assets/simple.cast -------------------------------------------------------------------------------- /tests/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/tests/index.html -------------------------------------------------------------------------------- /tests/player.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asciinema/asciinema-player/HEAD/tests/player.spec.js --------------------------------------------------------------------------------