Show HN:代码库海报——将任何 Git 仓库转换为生成式海报艺术
Show HN: Codebase Posters – turn any Git repo into generative poster art

原始链接: https://github.com/unable12/codebase-posters

利用这款轻量且无依赖的工具,将你的 Git 历史记录转化为数字艺术展。只需在任何代码仓库中运行一条命令,即可通过 18 种独特的算法生成海报,直观呈现项目的演变过程。 该软件通过解读你的提交记录——将代码添加视为蓝色笔触,删除视为绿色,并将重大提交处理为重力感应的焦点——来创作确定性的高分辨率视觉作品。无论你是想记录凌晨两点的编码习惯,还是想可视化项目的“心跳”,该工具都能将这些瞬间渲染为 300 dpi 的打印级画布。 在设计上注重隐私保护,整个过程均在本地机器运行,无需数据上传或遥测。它具有良好的扩展性,开发者可通过简单的接口创建自定义的绘图“配方”。无论是作为动画 MP4 查看,还是打印成实体海报,该工具都能将你工作流中的原始数据转化为记录创作过程的精美实物。 **快速开始:** * `npm install && npm run dev` 以探索本地代码仓库。 * `npx node bin/cli.mjs` 以立即运行打包好的程序。 采用 MIT 开源协议,由 Kamil 开发。

Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Show HN: Codebase Posters – 将任何 Git 仓库转换为生成式艺术海报 (github.com/unable12) 4 点,由 unable0 发布于 1 小时前 | 隐藏 | 过往 | 收藏 | 讨论 在任何 git 仓库中运行 `npx codebase-posters` 即可开启一场本地展览:根据你的提交历史实时绘制 18 件艺术作品。 一切内容均由 git 日志渲染,数据不会离开你的电脑。 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

react chrono-grid zod constellations vite heartbeat, painting itself

npm version npm downloads

every repository has a shape. this paints it.

one command, inside any git repo. your browser opens an exhibition: eighteen posters, painted live from your commit history. storms of additions and deletions. your working days as a calendar. the project's heartbeat. the constellations you committed at 2am.

pick one. watch it paint itself. hang it on the wall.

by @unable0_

each image is a real open-source repo at a fixed seed. same inputs, same pixels.

runs entirely on your machine. no uploads. no telemetry. no account. 101 kB, zero dependencies. it reads your git log, paints, and forgets.

print: 3600×4800 px. that's 12×16 inches at 300 dpi. real poster, real wall. video: the painting animation as an mp4, encoded in your browser.

every poster is deterministic: same repo, same seed, same pixels.

blue strokes are code arriving. green is code leaving. the dots with dates are your biggest commits. they bend everything around them. each poster explains itself in the gallery.


npm install && npm run dev    # gallery with repo picker (scans ~/code_base)
npm run build                 # dist/app + dist/server.mjs for npx
node bin/cli.mjs              # run the packaged experience locally

add a poster: drop a file in src/recipes/ exporting a CanvasRecipe (src/core/types.ts). it auto-registers.

inspired by zeh fernandes' gencup. made by kamil. MIT.

联系我们 contact @ memedata.com