{"id":27375122,"url":"https://github.com/katharostech/cast2gif","last_synced_at":"2025-04-13T12:14:31.993Z","repository":{"id":40348941,"uuid":"247324543","full_name":"katharostech/cast2gif","owner":"katharostech","description":"Tool to render Asciinema cast files to GIFs, *without* using Electron or a web browser. Written in Rust.","archived":false,"fork":false,"pushed_at":"2023-07-08T03:32:08.000Z","size":3208,"stargazers_count":30,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T12:14:25.634Z","etag":null,"topics":["asciinema","asciinema-player","cast","gif","gif-animation","gif-creator","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/katharostech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-03-14T17:43:28.000Z","updated_at":"2025-02-22T08:37:18.000Z","dependencies_parsed_at":"2022-08-09T17:50:48.302Z","dependency_job_id":null,"html_url":"https://github.com/katharostech/cast2gif","commit_stats":{"total_commits":36,"total_committers":6,"mean_commits":6.0,"dds":"0.13888888888888884","last_synced_commit":"73731612440e10f63cf634c5c506160e9509ab30"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katharostech%2Fcast2gif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katharostech%2Fcast2gif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katharostech%2Fcast2gif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katharostech%2Fcast2gif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katharostech","download_url":"https://codeload.github.com/katharostech/cast2gif/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710448,"owners_count":21149191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asciinema","asciinema-player","cast","gif","gif-animation","gif-creator","rust"],"created_at":"2025-04-13T12:14:31.145Z","updated_at":"2025-04-13T12:14:31.986Z","avatar_url":"https://github.com/katharostech.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cast2Gif\n\nA tool to convert [Asciinema](https://github.com/asciinema/asciinema) cast files to Gifs *without* using Electron or a web browser.\n\n## Installing\n\nWe have yet to get CI setup for automated builds, but there is a musl Linux build that should run on any distro in our [pre-release].\n\n[pre-release]: https://github.com/katharostech/cast2gif/releases/tag/pre-release\n\n## Example Recording\n\nHere is an example of a GIF created with `cast2gif`:\n\n![example](./doc/example1.gif)\n\n## Full Example\n\nHere is a recording showing how to record a clip with [Asciinema](https://github.com/asciinema/asciinema) and render it with `cast2gif`:\n\n![tutorial](./doc/tutorial.gif)\n\n## Features to Add\n\nHere are some features to get in as time permits, ordered by importance:\n\n- Support for changing the output resolution/font-size\n- Add a slight bit of padding around the terminal window.\n- Automated builds for Windows, Mac, and Linux so users don't have to build it themselves\n- Support for custom SVG templates to allow you to style the output\n- Support for rendering animated PNGs\n- Support for rendering animated SVGs\n\n\n## Building and Running\n\nTo build you must have at least Rust 1.42+ installed. You can install it with [Rustup](https://rustup.rs/). Then Run\n\n    cargo build --release\n\nAfter that the `cast2gif` program will be in the `target/release` folder.\n\nRun `cast2gif --help` to get the usage instructions:\n\n    cast2gif 0.1.0\n    Zicklag \u003czicklag@katharostech.com\u003e\n    Renders Asciinema .cast files as gif, svg, or animated png.\n\n    USAGE:\n        cast2gif [FLAGS] [OPTIONS] \u003ccast_file\u003e \u003cout_file\u003e\n\n    FLAGS:\n        -f, --force      Overwrite existing output file\n        -h, --help       Prints help information\n        -V, --version    Prints version information\n\n    OPTIONS:\n        -c, --crop \u003ccrop\u003e    crop the recording while rendering. Specify crop in terminal cells as\n                            `top=[int],left=[int],width=[int],height=[int]`.\n\n    ARGS:\n        \u003ccast_file\u003e    The asciinema .cast file to render\n        \u003cout_file\u003e     The file to render to\n        \n## History\n\nThis project started after a [discussion](https://users.rust-lang.org/t/writing-an-asciinema-to-gif-tool/39450/15?u=zicklag) on the Rust forum.\n\n## Alternatives\n\n- [cast2gif](https://github.com/foubian/cast2gif) by @foubian\n    - A more polished alternative that runs in a web browser and has options for font-size and theme\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatharostech%2Fcast2gif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatharostech%2Fcast2gif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatharostech%2Fcast2gif/lists"}