A fully local RAG service with Kotlin, Ktor, Ollama and pgvector

Upload PDFs, ask questions, keep everything on your machine: a small retrieval-augmented generation service with query expansion and no external API calls.

December 3, 2025 · 3 min · Hamidreza Mohaqeq

Ray Tracing in One Weekend, in Kotlin

Working through Peter Shirley’s ray tracing book in Kotlin: small classes, a PPM file as output, and a thread pool to make the final render bearable.

September 27, 2023 · 2 min · Hamidreza Mohaqeq