mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[GH-ISSUE #670] Add option to add custom HTML into <head> when streaming with built-in HTTP server #952
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#952
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?
Originally created by @lubosmato on GitHub (Feb 2, 2025).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/670
Feature request
Add possibility to include custom HTML into
<head>when streaming with built-in HTTP serverasciinema stream --serve ....Motivation
The primary use case is to enable quick and easy customization, such as adding custom fonts or styles. This is particularly useful for adding custom fonts like Nerd Fonts when e.g. streaming a terminal editor that uses Nerd Fonts to render icons.
(Browser: Squares are rendered instead of icons)
(Terminal)
Possible "how"
Adding a CLI arg that adds custom HTML into
<head>of index.html page that is served when runningasciinema stream --serve ....@moritzdietz commented on GitHub (Jan 12, 2026):
As of
github.com/asciinema/asciinema@5e2cd61caaSymbols Nerd Font are included. Perhaps this already solves your problem?@lubosmato commented on GitHub (Jan 13, 2026):
Indeed. Amazing!