[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10342":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":14,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":17,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},10342,"termtosvg","nbedos\u002Ftermtosvg","nbedos","Record terminal sessions as SVG animations","https:\u002F\u002Fnbedos.github.io\u002Ftermtosvg\u002F",null,"Python",9754,438,1,11,0,5,9,38.93,"BSD 3-Clause \"New\" or \"Revised\" License",true,false,"develop",[25,26,27,28,29,30,31,32],"animation","cli","recorder","recording","shell","svg","svg-animations","terminal","2026-06-12 02:02:20","**Note: As of June 2020 I do not have time to maintain termtosvg anymore and this repository is now read-only.**\n\n# termtosvg\ntermtosvg is a Unix terminal recorder written in Python that renders your command\nline sessions as standalone SVG animations.\n\n![Example](.\u002Fdocs\u002Fexamples\u002Fawesome_window_frame_powershell.svg)\n\n* [Gallery of examples](https:\u002F\u002Fnbedos.github.io\u002Ftermtosvg\u002Fpages\u002Fexamples.html)\n* [Gallery of templates](https:\u002F\u002Fnbedos.github.io\u002Ftermtosvg\u002Fpages\u002Ftemplates.html)\n\n## Features\n* Produce lightweight and clean looking animations or still frames embeddable on a project page\n* Custom color themes, terminal UI and animation controls via user-defined [SVG templates](man\u002Ftermtosvg-templates.md)\n* Rendering of recordings in asciicast format made with asciinema\n    \n## Installation\ntermtosvg is compatible with Linux, macOS and BSD OSes, requires Python >= 3.5 and can be installed as follows using pip:\n```shell\n# Create virtualenv named '.venv'\npython3 -m venv .venv\n# Activate virtualenv\nsource .venv\u002Fbin\u002Factivate\npip3 install termtosvg\n```\nThen run termtosvg by calling either `termtosvg` or `python3 -m termtosvg`.\n\nVarious independently maintained, OS specific packages have been made available by the community:\n\n| OS       | Repository  | Installation command  |\n|----------|-------------|---|\n| Archlinux  | [Arch](https:\u002F\u002Fwww.archlinux.org\u002Fpackages\u002Fcommunity\u002Fany\u002Ftermtosvg\u002F)  |`pacman -S termtosvg`   |\n| FreeBSD | [ports](https:\u002F\u002Fwww.freshports.org\u002Fgraphics\u002Fpy-termtosvg) | |\n| Gentoo | [media-gfx\u002Ftermtosvg](https:\u002F\u002Fpackages.gentoo.org\u002Fpackages\u002Fmedia-gfx\u002Ftermtosvg) | `emerge media-gfx\u002Ftermtosvg`|\n| macOS  | [Homebrew](https:\u002F\u002Fformulae.brew.sh\u002Fformula\u002Ftermtosvg)  |`brew install termtosvg`   |\n| OpenBSD  | [ports](https:\u002F\u002Fgithub.com\u002Fopenbsd\u002Fports\u002Ftree\u002Fmaster\u002Fgraphics\u002Ftermtosvg)  |   |\n| NixOS | [nixpkgs](https:\u002F\u002Fgithub.com\u002FNixOS\u002Fnixpkgs\u002Fblob\u002Fmaster\u002Fpkgs\u002Ftools\u002Fmisc\u002Ftermtosvg\u002F) | |\n\n\n## Basic usage\nStart recording with:\n\n```\n$ termtosvg\nRecording started, enter \"exit\" command or Control-D to end\n```\n\nYou are now in a subshell where you can type your commands as usual.\nOnce you are done, exit the shell to end the recording:\n\n```\n$ exit\nRecording ended, file is \u002Ftmp\u002Ftermtosvg_exp5nsr4.svg\n```\nThen, use your favorite web browser to play the animation:\n```\n$ firefox \u002Ftmp\u002Ftermtosvg_exp5nsr4.svg\n```\n\nFinally, embedding the animation in e.g. a [README.md](README.md) file on GitHub can\nbe achieved with a relative link to the animation:\n```markdown\n![Example](.\u002Fdocs\u002Fexamples\u002Fawesome_window_frame.svg)\n```\n\nSee the [manual page](man\u002Ftermtosvg.md) for more details.\n\n## Dependencies\ntermtosvg uses:\n* [pyte](https:\u002F\u002Fgithub.com\u002Fselectel\u002Fpyte) to render the terminal screen\n* [lxml](https:\u002F\u002Fgithub.com\u002Flxml\u002Flxml) to work with SVG data\n","termtosvg 是一个用 Python 编写的 Unix 终端录制工具，能够将命令行会话记录为独立的 SVG 动画。它支持自定义颜色主题、终端 UI 和动画控制，通过用户定义的 SVG 模板实现个性化设置，并且可以渲染 asciinema 格式的录制文件。生成的动画轻量且外观简洁，适合嵌入项目页面中进行展示或教学用途。适用于 Linux、macOS 和 BSD 系统，需要 Python 3.5 或更高版本。尽管该项目自2020年6月起不再维护并设为只读状态，但其功能仍能满足基本需求。",2,"2026-06-11 03:27:53","top_topic"]