Hacker News

Adamant

by @sieve

Lots of things! - Wanted to start blogging. So built an SSG for that. - Have an ink tank printer that must be used a few times each month or bad things happen. Have been printing Sanskrit stories instead of test pages. Was manually building booklets with typst and then using pdfimpose. Finally, decided to write an app that does MD -> booklet. - Decided that running harnesses directly on my machine is a bad idea. Docker/Podman are too complicated for the task at hand. So I built Adamant. It started out as a basic wrapper around Bubblewrap. Then I added networking via a socat proxy. Now it can do this:[1] # Runs a webserver inside the sandbox that is accessible from outside adamant --profile minimal prepare -- ls sh fish ncdu fastfetch uname mkdir python echo adamant --profile minimal probe -- python 'print("Hello, World!")' adamant --profile minimal run --ingress 45678:45678 -- fish -c "mkdir -p /tmp/www; echo '<p>Hello, World!</p>' >> /tmp/www/ index.html; python -m http.server -b 127.0.0.1 -d /tmp/www 45678" # Runs headless Firefox inside the sandbox and takes a screenshot adamant --profile ff prepare -- ls sh uname mkdir fish firefox adamant --profile ff probe --timeout 60 --host bhashika.org.in -- curl https://bhashika.org.in adamant --profile ff probe --timeout 60 --host bhashika.org.in -- firefox --headless --no-remote --screenshot https://bhashika.org.in # screenshot.png is produced in $PWD adamant --profile ff run --host bhashika.org.in -- firefox --headless --no-remote --screenshot https://bhashika.org.in - Building an actual harness called PonderCode for personal use that uses ideas similar to Adamant as I find TUIs irritating for the text heavy work I do. Copy-pasting is a nightmare as almost everything is space-padded. - Building a language learning product for Indic languages. Monetization is difficult due to the tiny market plus self-imposed restrictions like "only serious learners/readers need to pay." Only time will tell if it works out. - My Python-replacement VM+PL project is on a bit of a hiatus. Will probably revisit it in a couple of months. Had made a lot of progress in April till I decided to expand the scope and got burnt out. Never do that. [1] https://bhashika.org.in/logs/2026/adamant-devlog-3

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app