[PR #232] [CLOSED] asciinema 2.0 #418

Closed
opened 2026-02-25 20:33:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/asciinema/asciinema/pull/232
Author: @ku1ik
Created: 9/17/2017
Status: Closed

Base: masterHead: v2


📝 Commits (10+)

  • 083cdaa Example of asciicast v2
  • 3ad8fa3 First incomplete draft of v2 doc
  • a0b52ce Described event types
  • cab32f3 Mention recorder versions using asciicast v1 format
  • 7ee7c4a Better structure of v2 doc
  • 69898ee Tweak
  • aa32fe2 Describe main theme behind v2
  • 1c74035 Remove duration from meta-data of complete example
  • 88e8a49 Reword time description
  • a518ec7 Add duration to optional meta-data

📊 Changes

19 files changed (+447 additions, -251 deletions)

View changed files

📝 README.md (+1 -0)
📝 asciinema/__main__.py (+2 -1)
asciinema/asciicast.py (+0 -125)
asciinema/asciicast/__init__.py (+104 -0)
asciinema/asciicast/v1.py (+13 -0)
asciinema/asciicast/v2.py (+112 -0)
📝 asciinema/commands/play.py (+2 -1)
📝 asciinema/commands/record.py (+5 -3)
📝 asciinema/config.py (+5 -0)
📝 asciinema/player.py (+19 -4)
📝 asciinema/pty_recorder.py (+0 -1)
asciinema/recorder.py (+0 -37)
asciinema/stdout.py (+0 -42)
📝 doc/asciicast-v1.md (+2 -0)
doc/asciicast-v2.md (+171 -0)
📝 setup.py (+1 -1)
📝 tests/config_test.py (+10 -0)
📝 tests/pty_recorder_test.py (+0 -1)
tests/stdout_test.py (+0 -35)

📄 Description

Highlights:

See 2.0 milestone for all the things we plan to include.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/asciinema/asciinema/pull/232 **Author:** [@ku1ik](https://github.com/ku1ik) **Created:** 9/17/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `v2` --- ### 📝 Commits (10+) - [`083cdaa`](https://github.com/asciinema/asciinema/commit/083cdaacad8765cf0cd263a0f2f47f750191cf5e) Example of asciicast v2 - [`3ad8fa3`](https://github.com/asciinema/asciinema/commit/3ad8fa3dae05a92f3dd5c2f6858976fc3366fee9) First incomplete draft of v2 doc - [`a0b52ce`](https://github.com/asciinema/asciinema/commit/a0b52cea0320b3ea5401eafcb9c5036c90059af3) Described event types - [`cab32f3`](https://github.com/asciinema/asciinema/commit/cab32f3c422280f0695fdb54f6a4a3f37b65906f) Mention recorder versions using asciicast v1 format - [`7ee7c4a`](https://github.com/asciinema/asciinema/commit/7ee7c4ac552cc5268a885cb42d1d8168b38536d7) Better structure of v2 doc - [`69898ee`](https://github.com/asciinema/asciinema/commit/69898ee3775899df6883b406279ae672a35d3474) Tweak - [`aa32fe2`](https://github.com/asciinema/asciinema/commit/aa32fe258a5412d8c1bfe11e0a0c8c1c3447eaab) Describe main theme behind v2 - [`1c74035`](https://github.com/asciinema/asciinema/commit/1c7403585c014bdcc89ab60644127e0f9ab04add) Remove duration from meta-data of complete example - [`88e8a49`](https://github.com/asciinema/asciinema/commit/88e8a49c419ac575962972c5486217fe0a0133a6) Reword time description - [`a518ec7`](https://github.com/asciinema/asciinema/commit/a518ec7515fcc6163157aff67dab4d995bf9c548) Add duration to optional meta-data ### 📊 Changes **19 files changed** (+447 additions, -251 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `asciinema/__main__.py` (+2 -1) ➖ `asciinema/asciicast.py` (+0 -125) ➕ `asciinema/asciicast/__init__.py` (+104 -0) ➕ `asciinema/asciicast/v1.py` (+13 -0) ➕ `asciinema/asciicast/v2.py` (+112 -0) 📝 `asciinema/commands/play.py` (+2 -1) 📝 `asciinema/commands/record.py` (+5 -3) 📝 `asciinema/config.py` (+5 -0) 📝 `asciinema/player.py` (+19 -4) 📝 `asciinema/pty_recorder.py` (+0 -1) ➖ `asciinema/recorder.py` (+0 -37) ➖ `asciinema/stdout.py` (+0 -42) 📝 `doc/asciicast-v1.md` (+2 -0) ➕ `doc/asciicast-v2.md` (+171 -0) 📝 `setup.py` (+1 -1) 📝 `tests/config_test.py` (+10 -0) 📝 `tests/pty_recorder_test.py` (+0 -1) ➖ `tests/stdout_test.py` (+0 -35) </details> ### 📄 Description Highlights: - recording and playback of new asciicast v2 format - asciinema/asciinema#196 asciinema/asciinema#227 asciinema/asciinema#228 - draft of v2 format spec: https://github.com/asciinema/asciinema/blob/v2/doc/asciicast-v2.md - writing to disk in real-time, preventing losing sessions on crashes/reboots - enabling recording and playing of very long asciicasts without involving lots of RAM - storing current terminal color theme in the recording - asciinema/asciinema#221 asciinema/asciinema#233 (specific technique to be figured out, see asciinema/discussions#8) - ability to capture extra environment variables - asciinema/asciinema#222 asciinema/asciinema#230 - saving timestamp of recording session - asciinema/asciinema#229 See [2.0 milestone](https://github.com/asciinema/asciinema/milestone/5) for all the things we plan to include. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 20:33:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#418
No description provided.