gitlogue
在終端機中將您的 Git 歷史重現為線性動畫故事。
gitlogue 是什麼?
一套專為終端機設計、能將 Git 提交歷史轉化為動畫故事的工具,讓您的程式碼演進過程宛如電影般生動。
gitlogue 概覽
這是什麼
gitlogue 是一款在終端機中運作的工具,能將 Git 提交歷史重播為動畫序列。它以逼真的打字效果、語法高亮和檔案樹狀轉場來呈現程式碼變更,將儲存庫的提交記錄轉化為視覺故事。此專案以 Rust 開發,採用 ISC 授權。
主要功能
- 提交重播:包含動畫打字、游標移動、刪除與檔案操作 - 工作目錄差異檢視:顯示暫存與未暫存的變更 - 支援 32 種語言的 Tree-sitter 語法高亮 - 專案檔案樹狀圖:附帶變更統計資料 - 螢幕保護模式:隨機無限播放提交記錄 - 9 種內建主題,並可完全自訂 - 以 Rust 打造,效能優異
使用情境
- 工作區的環境編碼展示 - 教育用途:視覺化程式碼隨時間的演變 - 簡報時即時重播真實提交歷史 - 使用 VHS 或 asciinema 錄製示範 - 桌面美化:作為終端機的動態裝飾 - 會議中營造忙碌的假象
快速開始
使用以下任一方式安裝: bash # 使用安裝腳本(建議) curl -fsSL https://raw.githubusercontent.com/unhappychoice/gitlogue/main/install.sh | bash # 使用 Homebrew brew install gitlogue # 使用 Cargo cargo install gitlogue # 在 Arch Linux 上 pacman -S gitlogue # 使用 Nix nix run github:unhappychoice/gitlogue # 或安裝到設定檔 nix profile install github:unhappychoice/gitlogue # 從原始碼編譯 git clone https://github.com/unhappychoice/gitlogue.git cd gitlogue cargo install --path . 安裝後執行 gitlogue 即可啟動電影式螢幕保護。完整使用方式與設定選項請參閱儲存庫的 README。
授權與價格
此專案採用 ISC 授權,為開放原始碼且免費使用。
內容整理自該專案公開的 README 與儲存庫資訊。