News for hackers. Stuff that matters.

caeser

Show HN: Cumul – Concatenate all files in a directory for LLMs

https://github.com/xcaeser/cm

Cumul is a lightweight CLI tool that concatenates text files in a directory into a single file, optimized for providing context to Large Language Models (LLMs).It respects .gitignore, filters out binaries and non-text files, adds path headers, and generates a summary report.Key features:Exclude patterns via options (e.g., -e .json,.md). Custom output prefix (e.g., -p my). Built in Zig for...

( Read More... | no comments | on HN )
Re:Show HN: A Batteries-Included CLI Framework for Zig on Tuesday June 10, 2025 @06:04PM (#44241970)
yes it's an update
i do link libc because i just copied build.zig from another project i made zig-dotenv and forgot to remove the line

seems like i created a bit of a fuss there, my bad

open a pull request or at least an issue,

im always open to improvement, but i wanna keep it 100% zig.

zig is amazing. i am legit more productive in zig.

as Andrew (zig creator) said, zig makes you understand how computers work.

Show HN: Zli – A Batteries-Included CLI Framework for Zig

https://github.com/xcaeser/zli

I built zli, a batteries-included CLI framework for Zig with a focus on DX and composability.Key features:- Typed flags with default values and help output - Rich formatting, and layout support - Command trees with isolated execution logic - It’s designed to feel good to use, not just to work. - Built for real-world CLI apps, not toy examples.Would love feedback, feature ideas, or thoughts from...

( Read More... | 40 comments | 24 points | on HN )

Show HN: Structured JSON Prompts for AI Image Generation

https://github.com/xcaeser/image-json-gen

I've been experimenting with structured approaches to text-to-image generation with chatgpt and google imagen 3.0 and built two complementary tools:image-json-gen: A simple ts to create structured image prompts as JSON for generative models. generation-schemas: An evolving schema spec to standardize and validate image generation prompts across tools.The goal is to move away from messy natural...

( Read More... | no comments | on HN )
Re: on Wednesday September 25, 2024 @05:59PM (#41652316)
extremely efficient: python.