渲染TMUX窗口为HTML tmux2html

码农软件 · 软件分类 · 其他开发相关 · 2019-10-18 11:43:58

软件介绍

tmux2htm 渲染TMUX全窗口或单个窗格为HTML。

通过捕捉TMUX全窗口或单个窗格,对它们的内容进行分析,并在实时色彩中转换成HTML。输出可以是快照或动画序列。包含一个使用gzip压缩的Web服务,因为合理大小的窗口或窗格,所以通过网络的大小是可以忽略不计的。

要求:

  • tmux 1.8

  • Python 2.7 or 3.4 (could be wrong since it's not tested in lower versions)

安装:

pip install tmux2html

用法:

tmux2html 4 -o window_5_in_current_session.html
tmux2html .0 -o first_pane_in_current_window.html
tmux2html other:1.2 -o second_window_third_pane_in_other_session.html

命令行选项

  • target (positional) - Target window or pane. Uses tmux's target syntax, but always 0-indexed. (e.g. sess:1.2 - Session - sess, Window 2, Pane 3. Default target is window.)

  • -o, --output - Output file. Prints to stdout if omitted.

  • -m, --mode - Output file permissions. Default - 644

  • --light - Light background.

  • --interval - Number of seconds between captures.

  • --duration - Number of seconds to capture. 0 for indefinite recording, -1 to disable.

  • --stream - Continuously renders until stopped and adds a script to auto refresh based on --interval. See the notes below for more info.

  • --fg - Foreground color. Can be a color index or R,G,B

  • --bg - Background color. Can be a color index or R,G,B

  • --full - Renders the full history of a single pane

本文地址:https://www.codercto.com/soft/d/17019.html

網絡社會之崛起

網絡社會之崛起

曼威·柯司特 / 夏鑄九、王志弘 等 / 唐山 / 2000-11 / NT$550

本書解釋了今日重塑世界的兩股強大但相互衝突的潮流:全球化與認同。資訊科技的革命以及資本主義的再結構已經引動了網絡社會,並帶來了策略,除經濟行為的全球化、工作的彈性化與不穩定,以及真實的虛擬文化。但是,伴隨著資本主義的轉化與國家主義的消亡而來的,是集體認同的表達以火力十足的方式竄起。它們挑戰了全球化中的文化單一性以及對於生活、環境的控制。曼威.柯司特在本書中描繪了社會運動的根源、目標以及效果,包括了......一起来看看 《網絡社會之崛起》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具