Skip to content
项目

关于

Turns your code into one large image

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

codevis

codevis takes all source code / UTF-8 encodable files in a folder and renders them to one image, syntax highlighting any file it knows how to. These images show the shape and size of files, but not the exact characters inside the files.

Notes

Looking for a video instead of an image? Check out this repo's sister project codemov

Also check out codevis-gui

Renders

This repo's render of sloganking/My-Own-OS:

A readable render of this repo. Zoom in to see the text!

Exact command used: codevis -i ./ -o /home/username/Pictures/output.png --bg-pixel-color style-checkerboard-darken --readable --line-nums --show-filenames codevis

CLI Installation

  • Install the Rust programming language.
  • Run cargo install codevis
  • You may have to add cargo's binary installation folder (/home/username/.cargo/bin/ on Linux) to your system's path, if it is not there already.

CLI Usage

To visualize all files in the current directory and subdirectories. Run codevis -i ./. This will store the visualization in a new file called ./output.png. If you wish to generate an output file with a different name, You can use the -o flag like so codevis -i ./ -o ./different_name.png.

For a list of more commands run codevis --help.

探索相关项目

加载中…