Skip to content

AdamBien/zeeds

Repository files navigation

zeeds logo

zeeds (Zero dEpendency sEEDS)

Too small for their own repository. Too useful to not exist.

Zero-dependency Java 25+ source files designed as starting points for your projects. Run directly with java filename.java — no compilation step needed. Each zeed is self-contained, using only JDK APIs. Copy, customize, extend.

Zeeds

  • zcpdir — Copy a directory recursively. Usage: ./zcpdir <source-directory> [target-directory]
  • zcbs — Save clipboard content to a file. Usage: ./zcbs <filename>
  • zecho — Echo text with colored output. Usage: ./zecho <text>
  • zwrap — Wrap a Java script with additional parameters. Usage: ./zwrap <script> [args...]
  • zmkdir — Create year/month directories. Usage: ./zmkdir -f (flat: 2026.01) or ./zmkdir -n (nested: 2026/01)
  • zmenu — Interactive terminal menu with arrow key navigation. Configure menu items, navigate with arrows, confirm with Enter, cancel with Escape.
  • zargs — Idiomatic argument parsing with enum-based options. Usage: ./zargs [options] <files...>
  • ztwins — Find files with identical content. Usage: ./ztwins <file> <directory>
  • zdate — Print and copy today's date to the clipboard. Usage: ./zdate (dd.MM.yyyy) or ./zdate -y (yyyy.MM.dd)
  • zheader — Prepend a copyright / license header from the clipboard to all .java files recursively, skipping files that already contain it. Usage: ./zheader [dir] [-dry]
  • zimginfo — Print image dimensions and file size. Usage: ./zimginfo <image-file>
  • zlaunch — Load environment entries from properties files, then launch an application. Usage: ./zlaunch <command> [args...]
  • zzip — Zip a directory into a .zip file. Usage: ./zzip <directory>

About

Zero-dependency Java 25+ source files designed as starting points for your projects. Run directly with java filename.java—no compilation step needed. Each zeed is self-contained, using only JDK APIs. Copy, customize, extend. Leverage virtual threads, pattern matching, records, and modern APIs. Seeds that grow into production code.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages