home.social

#asciinema — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #asciinema, aggregated by home.social.

  1. Asciinema : Un outil pour enregistrer son terminal en "video".

    C'est un peu comme OBS mais ça enregistre uniquement ce qu'il se passe dans le terminal.

    Plutôt que de faire des .mp4, ça fait des .cast.
    Et donc ça fait des fichiers super légers.

    - "asciinema rec" pour lancer un enregistremenr

    - "asciinema play" pour le lire en local

    - "asciinema upload" pour l'envoyer sur un serveur en ligne (qu'on héberge) ou sur le saas officiel.
     
    Usage que je vois :
    - Tutos
    - Debug (clients ou collègues)
    - Demo / reviews

    En vrac :
    - Player auto hebergeable
    - Couper les moments de blanc
    - Réglage de la vitesse
    - Live streaming (local ou web)
    - et plein de petites choses

    Exemple d'un cast que j'ai fait :
    https://asciinema.org/a/1035235

    Projet :
    https://github.com/asciinema/asciinema

    #tui #cli #asciinema #cast #foss

  2. #asciinema is at #ElixirConfEU !

    Thanks Marcin for your work over a decade on many different versions, that keep on getting better!

    @asciinema

  3. Cool. Article by @lwn

    "The asciinema project provides a set of tools to [...] let users record, edit, and share terminal sessions in a text-based format that has quite a few advantages compared to making and sharing videos of terminal sessions. For example, it is easy to use, offers the ability to search text from recorded sessions, and allows users to copy and paste directly from the recording.""

    lwn.net/Articles/1053355/

    #Tools #CLI #Recordings #Presentations #Asciinema

  4. Learn how to record terminal sessions on Linux using Asciinema and convert them into clean animated GIFs.

    Step-by-Step Guide: ostechnix.com/create-animated-

    #asciinema #agg #gif #terminal #linux

  5. @board
    如何优雅的录制终端?
    看到蜗牛哥的教程 eallion.com/mastodon-backup/ 看到终端录制突然想到,很多时候直接录制终端导致:需要启动主机上的录制软件、文件过大、不够清晰...

    asciinema 和 agg 可以很好解决这个问题

    相关链接:
    asciinema 官网:asciinema.org/
    asciinema 文档: docs.asciinema.org/getting-sta
    agg 文档:docs.asciinema.org/manual/agg/
    快速安装rust环境: rustup.rs/
    agg github文档: github.com/asciinema/agg?tab=r

    安装使用(环境为debian12):
    sudo apt install asciinema 安装asciinema
    asciinema rec mastodon_backup.cast 录制
    ctrl+d停止录制
    asciinema play mastodon_backup.cast 播放
    ctrl+c停止播放
    curl --proto '=https' --tlsv1.2 -sSf sh.rustup.rs | sh 为编译agg安装rust环境
    source $HOME/.cargo/env 启用cargo
    sudo apt install build-essential pkg-config libssl-dev安装必要编译器
    git clone github.com/asciinema/agg 克隆仓库
    cd agg
    cargo build --release 编译agg
    sudo mv target/releaseagg /usr/local/bin/ 移动agg二进制文件到用户bin目录
    agg --version 确认、查看版本
    sudo apt install fonts-noto-cjk 安装支持中文等宽字体
    agg --font-dir /usr/share/fonts/truetype/noto/ mastodon_backup.cast mastodon_backup.gif 指定字体目录,.cast导出为gif

    #asciinema #agg #rust #cargo #gif #录制 #终端 #terminal #debian #cjk

  6. @board
    如何优雅的录制终端?
    看到蜗牛哥的教程 eallion.com/mastodon-backup/ 看到终端录制突然想到,很多时候直接录制终端导致:需要启动主机上的录制软件、文件过大、不够清晰...

    asciinema 和 agg 可以很好解决这个问题

    相关链接:
    asciinema 官网:asciinema.org/
    asciinema 文档: docs.asciinema.org/getting-sta
    agg 文档:docs.asciinema.org/manual/agg/
    快速安装rust环境: rustup.rs/
    agg github文档: github.com/asciinema/agg?tab=r

    安装使用(环境为debian12):
    sudo apt install asciinema 安装asciinema
    asciinema rec mastodon_backup.cast 录制
    ctrl+d停止录制
    asciinema play mastodon_backup.cast 播放
    ctrl+c停止播放
    curl --proto '=https' --tlsv1.2 -sSf sh.rustup.rs | sh 为编译agg安装rust环境
    source $HOME/.cargo/env 启用cargo
    sudo apt install build-essential pkg-config libssl-dev安装必要编译器
    git clone github.com/asciinema/agg 克隆仓库
    cd agg
    cargo build --release 编译agg
    sudo mv target/releaseagg /usr/local/bin/ 移动agg二进制文件到用户bin目录
    agg --version 确认、查看版本
    sudo apt install fonts-noto-cjk 安装支持中文等宽字体
    agg --font-dir /usr/share/fonts/truetype/noto/ mastodon_backup.cast mastodon_backup.gif 指定字体目录,.cast导出为gif

    #asciinema #agg #rust #cargo #gif #录制 #终端 #terminal #debian #cjk

  7. #asciiNema asciinema.org/ is a tiny little terminal-only screencasting tool that produces tiny recordings.

    It's the same one used on the #NixOS homepage nixos.org

    I'm hoping I can use it with github.com/marionebl/svg-term- to embed my terminal demonstrations into #Sozi presentations:
    * yes, I know this just plays a continuous loop without a pause option, but it is an intriguing embedded solution that doesn't require stepping out of the presentation.

    #bookmark @asciinema

  8. #asciiNema asciinema.org/ is a tiny little terminal-only screencasting tool that produces tiny recordings.

    It's the same one used on the #NixOS homepage nixos.org

    I'm hoping I can use it with github.com/marionebl/svg-term- to embed my terminal demonstrations into #Sozi presentations:
    * yes, I know this just plays a continuous loop without a pause option, but it is an intriguing embedded solution that doesn't require stepping out of the presentation.

    #bookmark @asciinema

  9. I've recorded a screencast for my old bash script alltests — test runner for competitive programming. It runs an executable against set of static tests (sample inputs and outputs).

    #asciinema #competitiveProgramming #bash #ShellScripting #utility #testing

  10. asciinema.org/
    Record compactly and efficiently with e.g. automatic elimination of parts / times where nothing is happening (compare ) can run in windows on ( ) easy copy commands from recording