🎉Celebrating 100k lines of Rust code 🎉 #537
Byron
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Of course, less is more and the line count doesn't really mean anything 😁. The real reason this milestone exists is to show off a little work created with the help of
codevis
. What makes it interesting is that the images laid on top of thegit
codebase are actually to scale! So yes, we can say that all notable (did I forget one?) implementations ofgit
far less in size thangit
itself even if put together.It also gives an idea of 'how much code is needed' to be suitable for most use-cases, and
gitoxide
doesn't seem too far away fromlibgit2
while hopefully remaining far smaller thanjgit
forever (I'd hope to do the same with way less).Lastly, for those who feel adventurous, why not download the full-size image to see each character of code as one pixel 😅.
How?
All codebases have been visualized with the following base settings:
codevis -i . --line-height-pixels 1 --column-width-pixels 120
. From there, some use a different theme for 'dramatic effect'.gitoxide
wants to look particularly fancy for the occasion and uses this commandline instead:codevis -i . --line-height-pixels 1 --column-width-pixels 120 --ignore-extension md --theme base16-eighties.dark --open --bg-pixel-color helix-editor --ignore-files-without-syntax
. (Yes, I added thehelix-editor
background color style because I like it so much!).From there it's all just basic image editing of a rather slow and bloated 17160x9608 pixels image using Krita.
Downloads
Find all files related to the picture in the v0.16 release of
gitoxide
. Release binaries are missing unfortunately.Beta Was this translation helpful? Give feedback.
All reactions