1 Star 1 Fork 0

Gitee 极速下载 / acast

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/gvcgo/asciinema
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Go Report Card GitHub License GitHub Release PRs Card Issues Card

中文 | En



What is asciinema?

asciinema [as-kee-nuh-muh] is a free and open source solution for recording terminal sessions and sharing them on the web. To learn about asciinema, you can visit asciinema.org.

And this project is a cross-platform version of asciinema writtern in go with full features. You can use it to create, edit, upload, convert(to gif animation) an asciinema cast on MacOS/Linux/Windows.


Installation

  • Recommanded: Install acast using version manager vm.
vm use asciinema@v0.3.9
  • Install acast using go.
go install github.com/gvcgo/asciinema/cmd/acast@latest
  • Download acast from releases. releases

Subcommands

subcommand args example desc
auth - Authorizes to your asciinema.org account.
convert-to-gif input.cast output.gif Converts a cast to gif animation.
cut --start=0.0 --end=2.9 input.cast output.cast Removes a certain range of a cast.
play input.cast Plays a cast.
quantize --ranges=1.0,5.0 input.cast output.cast Updates the cast delays following quantization ranges.
record xxx.cast Starts recording a cast.
speed --start=0.0 --end=2.9 --factor=0.7 input.cast output.cast Updates the speed of a cast by certain factor.
upload xxx.cast Uploads a cast to asciinema.org.
version - Shows version info of acast.

Demo

  • Normal Speed asciicast

  • Normal Speed Converted to GIF normal

  • Speed x2 asciicast

  • Speed x2 Converted to GIF speedup


Thanks To

MIT License Copyright (c) 2024 gvcgo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

asciinema是跨平台的asciinema终端录制、编辑、分享软件 展开 收起
Go
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/mirrors/acast.git
git@gitee.com:mirrors/acast.git
mirrors
acast
acast
main

搜索帮助