Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a MIME type and a desktop file to open recordings #450

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nobodyinperson
Copy link

@nobodyinperson nobodyinperson commented Nov 24, 2021

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

@ku1ik
Copy link
Contributor

ku1ik commented Oct 18, 2023

Hey, thanks! This seems useful.

The tool is named "asciinema" but the actual file format is called "asciicast", so we've been using application/x-asciicast MIME type in asciinema, see here:

Other than that it looks good!

@ku1ik ku1ik changed the base branch from develop to main November 2, 2023 11:10
@nobodyinperson
Copy link
Author

I renamed the mimetype to x-asciicast and for me it works as expected. ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants