Preview of the new upload behavior in asciinema CLI 3.0

by ku1ik
xterm-256color ◆ fish 462 views

The change from 2.x is that it now requires opt-in / confirmation to use asciinema.org as the default asciinema server.

The server URL configuration step lets you enter your own self-hosted asciinema server URL.

Also, it’s now possible to pass a server URL as the 2nd arg to the asciinema upload, e.g. asciinema upload demo.cast https://asciinema.example.com to override the default target, for each upload.

As before, you’ll be able to set the server URL in the config file as well.

Update: in the latest version in develop branch the custom asciinema server URL is now a global option instead of a positional argument.

Instead of passing it as shown in the demo above it’s now used like this:

asciinema --server-url https://asciinema.example.com upload demo.cast
asciinema --server-url https://asciinema.example.com auth

More by ku1ik

untitled 00:16

by ku1ik

untitled 00:44

by ku1ik

Aker brygge in true color 00:24

by ku1ik

See all