[PR #450] Add a MIME type and a desktop file to open recordings #1071

Open
opened 2026-03-15 11:17:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/asciinema/asciinema/pull/450
Author: @nobodyinperson
Created: 11/24/2021
Status: 🔄 Open

Base: mainHead: add-mimetype


📝 Commits (3)

  • 2c8af02 Create pull_request_template.md
  • bfd97ff Add a MIME type and a desktop file to open recordings
  • 73cad77 🚚 Rename x-asciinema MimeType to x-asciicast

📊 Changes

5 files changed (+38 additions, -0 deletions)

View changed files

.github/pull_request_template.md (+7 -0)
asciinema/data/application-x-asciicast.png (+1 -0)
mime/asciinema.desktop (+12 -0)
mime/x-asciicast.xml (+12 -0)
📝 setup.cfg (+6 -0)

📄 Description

This Merge Request introduces an application/x-asciicast MIME-Type. This enables adding a .desktop-file to open asciinema .cast-files from within a file manager. By double-clicking a .cast-file, the default terminal will open and play the recording.

grafik

The web browser will also allow opening a downloaded .cast-file directly like this:

grafik


🔄 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/450 **Author:** [@nobodyinperson](https://github.com/nobodyinperson) **Created:** 11/24/2021 **Status:** 🔄 Open **Base:** `main` ← **Head:** `add-mimetype` --- ### 📝 Commits (3) - [`2c8af02`](https://github.com/asciinema/asciinema/commit/2c8af028dec448bb51ec0a1848e96a08121827b0) Create pull_request_template.md - [`bfd97ff`](https://github.com/asciinema/asciinema/commit/bfd97ff7df9c28a70b46944cb3b527b8efcaddec) Add a MIME type and a desktop file to open recordings - [`73cad77`](https://github.com/asciinema/asciinema/commit/73cad776d4051aac2aad1d605318895e47db86fa) 🚚 Rename x-asciinema MimeType to x-asciicast ### 📊 Changes **5 files changed** (+38 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/pull_request_template.md` (+7 -0) ➕ `asciinema/data/application-x-asciicast.png` (+1 -0) ➕ `mime/asciinema.desktop` (+12 -0) ➕ `mime/x-asciicast.xml` (+12 -0) 📝 `setup.cfg` (+6 -0) </details> ### 📄 Description This Merge Request introduces an `application/x-asciicast` MIME-Type. This enables adding a `.desktop`-file to open asciinema `.cast`-files from within a file manager. By double-clicking a `.cast`-file, the default terminal will open and play the recording. ![grafik](https://user-images.githubusercontent.com/19148271/143203960-56d21967-68a4-47fb-95e1-decacf3b4d84.png) The web browser will also allow opening a downloaded `.cast`-file directly like this: ![grafik](https://user-images.githubusercontent.com/19148271/143204349-2232914a-779d-4f16-b274-37010b757943.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1071
No description provided.