mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[PR #669] [CLOSED] Add option to include custom HTML into <head> when streaming with --serve #1181
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#1181
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/669
Author: @lubosmato
Created: 2/1/2025
Status: ❌ Closed
Base:
develop← Head:develop📝 Commits (1)
7882f56feat(stream): add option to include custom HTML into <head> for stream --serve📊 Changes
5 files changed (+39 additions, -4 deletions)
View changed files
📝
assets/index.html(+3 -0)📝
src/cli.rs(+5 -0)📝
src/cmd/stream.rs(+1 -0)📝
src/streamer/mod.rs(+4 -0)📝
src/streamer/server.rs(+26 -4)📄 Description
This adds a CLI arg into
asciinema stream:Use-case is to allow quickly add customizations. For example adding custom fonts (e.g. Nerd Fonts):
Results in:
https://asciinema.org/a/2vUX3OJVwCjpNEgArf0IhQnj8
Resolve #670
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.