arsam@dev:~$

Small Java utilities.
Intentionally simple.

Computer engineering student building tools that solve specific problems โ€” exception handling, validation, algorithm selection. Nothing more than it needs to be.

Javaprimary language
6projects
experimentalintentionally small
repositories

Projects

Java

Structured and configurable exception handling for Java. Build readable exceptions with context, optional codes and causes, configurable error levels, metadata, and logging โ€” without making the exception itself complicated.

enrichable / Main.java
EnrichableException exception = new EnrichableException.Builder(
  "Database", "Connection failed"
).code("DB-001")
  .level(ErrorLevel.CRITICAL)
  .cause(originalException)
  .build();
exception-handlingbuilder-apimetadatajava
Java

Lightweight annotation-based Java validation library built from scratch. Validate any object using simple annotations โ€” no configuration, no dependencies. Extensible by design: adding a new constraint never requires touching the engine.

guardia / User.java
public class User {
  @NotNull
  @MinLength(value = 3, message = "Name is too short")
  private String name;
  @NotNull
  @Email
  private String email;
  @Range(min = 18, max = 100)
  private int age;
}
Guardia.of(user).validate().throwIfInvalid();
validationannotationsjavazero-dependencies
Java

A sorting algorithm advisor. Give it a list and your priorities โ€” it analyzes the data profile and tells you which sorting algorithm to use and why. Sits between "just use QuickSort" and reading research papers to sort 8 integers.

complexity / Main.java
Complexity<Integer> c = new Complexity.Builder<>(List.of(3, 1, 4, 1, 5, 9, 2, 6))
  .speedOverMemory(true)
  .needsStable(false)
  .memoryConstrained(false)
  .build();
AlgorithmScore result = c.analyze();
System.out.println(result.getAlgorithm().getDisplayName());
System.out.println(result.getReason());
algorithmssortingjavamaven
Java

A tiny command line tool that compiles and runs a Java project with one short command. No build files, no plugins, no ceremony: initialize a project, let Zap find the sources and main class, then compile and run it.

Zap / terminal
$ zap init
$ zap run --input Oreo 4
# compile, verify main, and run
clijavacompilerproject runnerjdk 21+
Java

A lightweight, extensible image processing engine for resizing images and controlling their output format. Morph separates validation, decoding, dimension calculation, rendering, and safe encoding/writing, with provider-based codecs discovered through Java's ServiceLoader.

Morph / Main.java
ImageConfig config = ImageConfig.builder()
  .width(800).height(600)
  .format(ImageFormat.JPEG)
  .quality(0.85f).build();
ImageRequest request = ImageRequest.builder()
  .input(Path.of("input.png"))
  .output(Path.of("output.jpg"))
  .config(config).build();
Path result = new MorphEngine().process(request);
image-processingresizejavajava-nioextensible-codecs
Java

A password-protected vault that encrypts its files when locked and hides itself using Windows hidden and system attributes. Mirosync uses PBKDF2 password hashing, AES-256 streaming file encryption, retry limits, and a built-in CLI while the vault is open.

mirosync / built-in CLI
miro >_ info --size โ†’ total vault size
miro >_ info --count โ†’ number of files
miro >_ info --list โ†’ list all files
miro >_ help โ†’ show all commands
encryptionaes-256pbkdf2vaultclijava