mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[PR #611] [MERGED] stream command #539
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#539
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/asciinema/asciinema/pull/611
Author: @ku1ik
Created: 2/7/2024
Status: ✅ Merged
Merged: 2/7/2024
Merged by: @ku1ik
Base:
develop← Head:stream📝 Commits (5)
e742183Initial version ofstreamcommandaebd177cargo fmt81f8ad6Add--listen-addr/-loption tostreamcommand, listen on 127.0.0.1:8080 by defaulte5cc3fbDisplay full HTTP URL on streaming session start90dd08bAdd comment about ALiS protocol📊 Changes
13 files changed (+4053 additions, -25 deletions)
View changed files
📝
Cargo.lock(+501 -25)📝
Cargo.toml(+7 -0)➕
assets/asciinema-player.css(+2835 -0)➕
assets/asciinema-player.min.js(+1 -0)➕
assets/index.html(+67 -0)📝
src/cmd/mod.rs(+1 -0)➕
src/cmd/stream.rs(+93 -0)📝
src/config.rs(+38 -0)📝
src/main.rs(+5 -0)➕
src/streamer/alis.rs(+76 -0)➕
src/streamer/mod.rs(+221 -0)➕
src/streamer/server.rs(+104 -0)➕
src/streamer/session.rs(+104 -0)📄 Description
This adds
asciinema streamcommand, which allows viewing a live stream of a terminal session in a browser.Start the stream with:
View the stream at http://127.0.0.1:8080
This a an improved version of the live terminal streaming initially implemented in https://github.com/asciinema/tst (which was a prototype of this functionality). This PR includes the "local server" mode. The "forward to remote asciinema server" mode (available in tst) will be implemented in a future PR.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.