Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.

Only Java 25+ is required, no external dependencies.

Zeeds

  • zhello — The simplest possible Java 25 script, ideal as a starting point. Usage: ./zhello
  • 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...]
  • zjdocfind — Find and open javadoc for a type by simple or fully qualified name. Usage: ./zjdocfind String or ./zjdocfind java.lang.String
  • zzip — Zip a directory into a .zip file. Usage: ./zzip <directory>
  • zgitr — List git remotes (fetch and push) from the current repository's .git/config. Usage: ./zgitr
  • zourl — Open a configured URI with the system's default application. Usage: ./zourl or ./zourl -Duri=https://github.com
  • zbump — Bump version.txt using a yyyy.MM.dd.NN per-day sequence, searching the current directory upwards (and src/main/resources). Usage: ./zbump
  • znotes — Append timestamped thoughts to a Markdown notes file (folder configurable via zcfg). Usage: ./znotes <thought>, ./znotes -l (list), or ./znotes -o (open)
  • zf2cb — Load a file into the system clipboard. Usage: ./zf2cb <file>
  • zcbxmlstrip — Strip XML/HTML markup from clipboard text, in place. Usage: ./zcbxmlstrip
  • zlsbc — List all business components (BCs) — directories containing a boundary, control, or entity layer — with colored output. Prints the component name by default, or the path relative to the given directory with -full. Usage: ./zlsbc [directory] (defaults to the current directory) or ./zlsbc [directory] -full
  • zlinediff — Compare two text files line by line and list differing lines with colored output; exits with 1 if the files differ. Usage: ./zlinediff <left> <right>

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

Stars

14 stars

Watchers

0 watching

Forks

Contributors

Languages