frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Lich, start a dev stack per coding agent in parallel

https://github.com/RPate97/lich
1•patethegreat•42m ago
Hey HN, Lich is a worktree aware local dev stack orchestrator. Simply put, it allows you to run multiple copies of your development stack from different worktrees with different code in parallel without going insane. I built Lich because I’ve found myself increasingly using multiple parallel coding agents for development work. I wanted my coding agents to each have independent copies of my development stack to be able to test and validate their own work well. I found that trying to do this totally broke the way I have normally setup tooling for local development. Ports conflict, the UI from one worktree connects to the backend or DB from another one, logs are hard to track down because agents start stacks in the background, any reliability problem sends agents down a rabbithole trying to fix it.

I originally built around 5k lines of bash scripts to solve this problem for a single relatively complex application was able to do it, but I realized that for any future thing I might work on I would have to build that whole setup again even though it’s not really that coupled to the specific application I’m working on. I realized I could build a clean, re-usable abstraction to solve this problem robustly and comprehensively for practically any repo through a standard lich.yaml definition and a simple CLI that manages the stack lifecycle, port allocation, log management, and garbage collection. That is what lich is.

You might wonder: why can’t I use docker compose to solve this problem? (or insert other existing tools here). The simple answer is you totally can, but it has two issues: 1. These tools really weren’t built for this use case, they might be able to support it but you’ll end up building a lot of custom tooling to make it possible. Though some tools make it easier than others. 2. If you find a tool that happens to be pretty good at solving this problem, you typically end up needing to adopt its conventions and opinions for your entire stack. Simply put, I don’t want to dockerize all of my services just to be able to run multiple copies of my stack in parallel.

Lich is intentionally designed to be un-opinionated. It sits on top of and drives whatever tooling you already have.

If you have a simple app (just a nextjs app with a development workflow that uses only a hosted testing db for example), you might find that you don’t need lich. That’s probably right. Lich is most useful when you have a relatively complex repo with multiple different services and you also want to run a copy of the DB locally. If you’re thinking about dynamically allocating ports in your startup scripts or managing state and logs, you probably need lich.

I use lich daily to run 3-5 independent stacks in parallel from different worktrees for a complex application with 5+ services and multiple docker containers per stack.

I’ve released Lich as open source with the MIT license. There’s a demo video in the GitHub readme showing me using Lich to start a dev stack in the main workspace of the lich t3 starter repo and then spawn 5 parallel subagents through Claude Code that each make an edit to the template homepage and then spawn a separate copy of the stack with it’s own DB in parallel.

The easiest way to try out lich is to use that t3 starter repo. You’ll find instructions in the GitHub readme: https://github.com/RPate97/lich

Jolt: Clojure Interpreter on Janet

https://github.com/yogthos/jolt/
3•veqq•3m ago•0 comments

Show HN: A Simplistic UI for Rich Hickey's Design in Practice

https://github.com/bmillare/design_in_practice_ui
2•bmillare•3m ago•0 comments

Show HN: DSA Trainer, LeetCode practice with a hint ladder instead of spoilers

https://dsatrainer.com/
1•dsatrainer•4m ago•0 comments

U.S. Military Turned GPS into a Global "Numbers Station"

https://www.404media.co/the-u-s-military-quietly-turned-gps-into-a-global-numbers-station-evidenc...
1•awkwardpotato•6m ago•0 comments

Vibe Justice System – AI Courts convened in pursuit of correctness

https://github.com/wlilley93/vibe-justice-system
2•wlilley93•7m ago•0 comments

Alien hunters update guidance on sharing news of possible intelligent life

https://www.theguardian.com/science/2026/jun/05/alien-hunters-seti-guidance-signals-intelligent-life
3•root-parent•7m ago•0 comments

10k Lines Later: When a Tool Became a Compiler [video]

https://www.youtube.com/watch?v=wVQLEAHrwrI
2•robspairpears•7m ago•0 comments

Suppression of the integrated stress response extends lifespan in the fly

https://www.pnas.org/doi/10.1073/pnas.2518812123
2•PaulHoule•8m ago•0 comments

Software Engineering is the new Manufacturing Engineering

https://halecraft.org/software-engineering-is-the-new-manufacturing-engineering/
4•canadaduane•10m ago•0 comments

Building Xbox Games with Godot: A New Sample to Get You Started Faster

https://developer.microsoft.com/en-us/games/articles/2026/06/building-xbox-games-with-godot/
3•HelloUsername•10m ago•0 comments

AI must foster 'maternal instincts' or we risk extinction, warns Geoffrey Hinton

https://www.cbc.ca/radio/ideas/geoffrey-hinton-maternal-instincts-9.7094116
4•geox•10m ago•1 comments

U.S. attorney says election fraud probes are underway in California

https://ktla.com/news/local-news/u-s-attorney-says-election-fraud-probes-are-underway-in-california/
3•Bender•11m ago•2 comments

A healthier gut may be key to cancer care

https://www.cnn.com/2026/06/05/health/gut-microbiome-immunity-cancer-ghrc
3•Bender•12m ago•0 comments

The largest cannabis study ever: It may make anxiety, depression and PTSD worse

https://thesciverse.org/the-largest-cannabis-study-ever-conducted-found-no-evidence-it-helps-anxi...
3•RickJWagner•13m ago•0 comments

pg_durable: Microsoft open sources in-database durable execution

https://github.com/microsoft/pg_durable
12•coffeemug•13m ago•0 comments

Machine-verified proof that M3P ∈ P and P = NP via Pedigree Polytopes

https://github.com/TiruArt/Pedigree-Polytopes-Lean4
3•carlsverre•13m ago•2 comments

Public transport network partially shut–down bosses forgot to pay internet bill

https://www.dailymail.com/news/article-15876799/san-francisco-bart-shutdown-clipper-internet-bill...
2•Bender•14m ago•1 comments

Here's why I created a travel website for robots

https://alexpanetta.substack.com/p/heres-why-i-created-a-travel-website
1•throw0101a•16m ago•0 comments

Tips to get the most out of OpenCode

https://byandrev.dev/en/blog/10-best-practices-for-opencode
2•mcormik•17m ago•0 comments

Flood of AI 'garbage' is pushing open-source developers to the limit

https://www.newscientist.com/article/2527761-flood-of-ai-garbage-is-pushing-open-source-developer...
2•mattsparkes•19m ago•1 comments

Configuration flags are where software goes to rot

https://00f.net/2026/04/11/config-flags/
2•birdculture•20m ago•0 comments

CrankGPT: A human-powered local and private AI solution

https://crankgpt.com/
3•_ihaque•21m ago•0 comments

Show HN: Group of Death – WorldCup bracket predictor with shareable URLs

https://groupofdeath.gg/
4•sparc24•21m ago•1 comments

FeOS: A 16-Bit OS Written in ASM (and a custom language)

https://github.com/anhumandev/feos
1•anhuman•22m ago•1 comments

Neural-somatic simulations of history's greatest minds

https://www.opendria.com/
1•opendria•23m ago•0 comments

Understanding why autism symptoms sometimes improve amid fever

https://news.mit.edu/2024/understanding-why-autism-symptoms-sometimes-improve-amid-fever-0523
3•thunderbong•23m ago•0 comments

</> Htmx – Code is Cheap(er)

https://htmx.org/essays/code-is-cheap/
5•leephillips•26m ago•0 comments

The circus freaks of open source

https://drewdevault.com/blog/Circus-freaks-of-FOSS/
2•Tomte•27m ago•0 comments

The round-the-world escape from Pearl Harbor

https://signoregalilei.com/2026/05/17/the-round-the-world-escape-from-pearl-harbor/
1•surprisetalk•27m ago•0 comments

SignalScout

https://signalscout.be
2•AIGENIZE•28m ago•0 comments