Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

knightpp/modupdate-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modupdate-zig

https://codeberg.org/knightpp/modupdate-zig

Why?

I wanted to rewrite https://github.com/knightpp/modupdate in Zig and I was bored.

What does it do?

It uses the gomod.zig parser to parse go.mod files and then shows TUI to select/filter dependency names, which will be passed to go get to update the deps.

How is it compared to Go?

Decent. I caught only one segfault during development. And another while adding TUI.

$ zig build --release=small
$ ls -l ./zig-out/bin/
.rwxrwxr-x 128k user 18 жов 16:55 -I modupdate

What can be improved?

  • Replace gum with some native zig TUI lib, there are a few, but it's not enough.
  • Add fuzzy search

Install

nix profile install github:knightpp/modupdate-zig

About

go modupdate in zig :)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors