r/ForgeYourProject • • 20d ago

Discussion Welcome to r/ForgeYourProject, what are you building?

2 Upvotes

hey, I'm the mod here. I started this sub because most "show your project" places turn into link dumps where nobody actually reads anything. I'd like this one to be different.

what fits here:

  • side projects, apps, libraries, tools, content, anything you're building
  • early stuff is welcome. prototypes, half working MVPs, ideas you want to sanity check
  • launches and updates, and what you learned along the way

a few things that help:

  • pick a flair (Launch, WIP, Feedback, Collab, Discussion)
  • if you want feedback, say what kind. UX, code, pricing, landing page, whatever
  • if you post yours, comment on someone else's. that's the whole deal

every Monday there'll be a "what are you building this week" thread for quick updates.

drop a comment below with what you're working on right now, I'll check them all out.


r/ForgeYourProject • • 1d ago

Discussion What are you building this week? (week of Nov 30)

3 Upvotes

Happy Monday! What did you ship or work on this week, or what are you starting?

Half-finished stuff and early ideas are totally welcome here.

And if you have a minute, drop a comment on someone else's project too, it makes a big difference.


r/ForgeYourProject • • 19h ago

WIP kilim update: undo/redo in text fields, and a keystroke in a 750 KB text area went from 7 ms to 0.12 ms

1 Upvotes

Small update on kilim, the retained-mode GUI library I'm writing for the iyi language (a Crystal fork). Two things landed on main this morning. They're not in a tagged release yet, v0.3.0 is still the latest.

Undo and redo

Text fields and the text area now have Ctrl/Cmd+Z to undo, and Ctrl+Y or Ctrl/Cmd+Shift+Z to redo.

I didn't want to copy the whole text on every step, because that gets ugly fast with long notes. So each change is stored as a diff: where it happened, what was removed, what was added, and the caret and selection from before.

Grouping was the part I thought about most:

  • typing merges into one step per word
  • a run of Backspace or Delete is one step
  • moving the caret ends the group
  • typing over a selection is one step, and undo brings the selection back
  • setting the text from code clears the history
  • it keeps at most 200 steps

Rewrapping only what changed

Before this, every keystroke in a TextArea joined, split and hashed the whole text and rewrapped all of it. Fine for a short note, not fine for a big one.

Now TextEdit keeps a version counter and remembers the last edit as {from, old length, new length}. The text area rewraps only the paragraphs around that range and shifts the lines after it. A full rewrap still happens when you set the text, resize, or anything else.

On 10,000 paragraphs (~750 KB), a keystroke went from about 7 ms to 0.12 ms in the release core benchmark.

Repo: https://github.com/Tuntii/kilim

Question for anyone who's built a text widget or editor: how do you decide undo grouping? Word at a time felt natural to me, but I've seen editors that group by time instead (pause for a bit and a new step starts). Which one feels right when you're actually typing?


r/ForgeYourProject • • 1d ago

WIP Kaboom update: my V game engine has an editor now, and it's just another client of the same protocol the agent uses

1 Upvotes

Last week I posted Kaboom here, the small game engine I'm writing in V with no SDL or GLFW, driven by JSON lines over stdin. Since then I've been on milestone 4, which is an editor. Repo: https://github.com/Tuntii/Kaboom

The rule I set for it: the editor gets no back door. vcore editor [scene] is just another client of the protocol. Every change it makes to the world goes through the same command path an agent uses on stdin, only tagged with a different source (editor vs agent). That one decision ended up shaping most of the other work.

What landed:

  • A UI library in V, drawn by the engine's own GL renderer in a single instanced draw call (SDF corners and borders, glyphs, clipping). Two pass auto layout, Inter and JetBrains Mono through stb_truetype, plus a small GPOS kerning reader. Steady state is 0 heap allocations per frame, and tests check that.
  • Undo/redo lives in the engine, not the editor. Inverse commands get captured into fixed size rings when the command queue flushes, so the tick path still doesn't allocate.
  • A .vscene text format that writes deterministically (shortest round trip f32) and saves atomically. Load validates everything in a separate arena first and only then builds the world.
  • Recordings now start with a full binary snapshot of the world, so you can record from any state, not just a fresh one. I threw random bit flips and truncations at snapshot restore and it doesn't panic or accept a broken state.
  • The editor itself: scene view with pan/zoom and a move gizmo (one drag = one undo step, Esc cancels), a hierarchy that's a virtual list (about 0.1 ms per frame at 100k entities), an inspector built from the component schema, save/open with an unsaved changes strip.

The fun part was the agent and the editor touching the same world at the same time. If I'm halfway through a drag and the agent changes something, its change survives, and Esc only rolls back my edits. If the agent loads or resets the scene, the editor drops the selection and the drag and just adopts the new file.

Question for anyone who has built editors: when a human and a script or agent are both editing the same scene, how do you handle undo? Right now each side gets its own undo groups, and I'm not sure that's what people actually expect when they hit Ctrl+Z.


r/ForgeYourProject • • 2d ago

WIP viltrum v1.18.6: my V web framework scored 0 req/s on HttpArena's million TLS connections test, and the garbage collector was why

2 Upvotes

HttpArena has a test called connections-1m-tls: open a million TLS 1.3 connections, then send requests over them. My last run scored 0 req/s. In 900 seconds of warmup only 42 to 79% of the connections came up, the server sat at 118% CPU, and the ones that did connect got no answers in the window.

The cause was Boehm GC, the way V builds it. Pooled connections are all live, so the heap only ever grows, about 2.6 KB per TLS connection. Boehm grows the heap 8 MiB at a time, and when it's full it marks the whole heap before each step. So roughly every 3,000 new connections, every worker stopped for a mark that got longer as the heap grew (230 ms at 245K connections on 4 cores). Around 250K it just aborted with "Too many retries in GC_allocobj".

The fix in v1.18.6 is small: past the worker's pool peak, every 1024th new connection checks the heap, and when it's three quarters full, grows it by half with GC_expand_hp. Collections become logarithmic in the connection count. It's a cold path, never per request.

Reproduced on a 4-core GitHub runner with gcannon:

  • collections to ~250K TLS connections: 87 before (150 to 230 ms each), 8 after
  • before: aborted at ~250-275K. after: up through 430K with no abort (that run was cut by the 600 s warmup on shared cores, not by the server)
  • 500K target window at 125K req/s: 0 requests before, 104.7K req/s after

The day before, v1.18.5 cut memory for idle TLS connections. Every connection kept its own buffer for the TLS 1.3 server flight (cert chain plus about a KB more) for its whole life, even though it's only needed until it's sent, usually in one send. Now it's built in a buffer owned by the worker and only copied if a client's socket is full. With 100K idle TLS connections, RSS per connection went from 5760 to 3630 bytes, about 37% less.

Honest caveat: I develop on Windows, so the Linux tests for the GC fix ran in CI, not on my machine.

Repo: https://github.com/Tuntii/viltrum

Question for anyone who has pushed a GC'd runtime to hundreds of thousands of long-lived connections: did you end up pre-sizing the heap, moving connection state off the GC heap entirely, or something else? I can't tell yet if growing ahead is a patch or the real answer.


r/ForgeYourProject • • 3d ago

Launch vbot: I gave Claude its own Linux desktop, with an MCP server written in V

2 Upvotes

I've been building vbot: a persistent Linux desktop (Ubuntu + XFCE, Chrome, a terminal) in a container, with a small MCP server written in V. Claude Code, Cursor or any MCP client connects to it and uses the machine the way a person would.

It has three tools:

  • bash_exec for shell work
  • computer for screenshots, clicks, typing and scrolling on a fixed 1280x800 screen. It can also return the active window's accessibility tree, so clicks can target elements instead of guessing pixels
  • browser, which drives Chrome over CDP and returns a pruned accessibility tree

The part I care about most is that it keeps its state. Files, logins and open apps survive between sessions, and the desktop and the agent share one Chrome profile, so if I sign in to a site once, the agent can use that account too. I can open the same desktop in my browser at any time, watch what it's doing and take over. When it hits a captcha it's supposed to stop and hand over to me instead of fighting it.

The agent is one V binary built only on the standard library. The bearer token check is part of the binary, and it strips secrets from the environment before starting any child process.

To check it actually works I wrote an eval suite that runs real tasks through Claude Code with only the vbot tools available. Editing an xlsx, entering a formula in the LibreOffice Calc UI, creating a customer in Odoo through the UI, turning an Odoo quotation into an order, and stopping at a captcha all came out 5/5. Odoo turned out to be too well built to be a real test, so I made a deliberately bad ERP for it called Zahmet: look-alike customers, swapped dialog buttons, masked date fields, a non-US number format.

Still in progress: a web panel for multiple users, and a bridge that connects the panel's chat to a local Claude Code.

Repo (MIT): https://github.com/Tuntii/vbot

What task would you throw at an agent with its own computer to see where it breaks? I'm looking for more nasty eval ideas.


r/ForgeYourProject • • 4d ago

Launch Judge My UI: I got tired of review skills that score every page against one taste

1 Upvotes

I just listed a skill on Agensi called Judge My UI. You point it at a URL, localhost, or an HTML file, and it opens the page in a real browser (Playwright, you can watch it), runs axe-core against WCAG 2.0, 2.1 and 2.2 A/AA, then writes a verdict with evidence for every finding.

The part I actually cared about: a lot of design-review skills have a house style, so a brutalist page gets marked down for being harsh, or a dashboard gets marked down for density. This one first works out what the page is trying to be (6 page types, 11 design languages), then judges it on those terms. Fixes are written in the page's own language too, so a brutalist page gets a harsh black focus ring, not a soft grey one.

It also tries to catch things axe does not: it tabs through the page and compares each element with and without focus, looks for keyboard traps and focus on hidden elements, tests reflow at 320px, and flags animations that ignore reduced motion. You get desktop, mobile and 320px screenshots, plus one annotated screenshot with numbered boxes on the axe findings. After you fix things, you can ask "Did my fixes work?" and get a before and after table.

Honest limits, because I do not want to oversell this:

  • It only judges the page as it loads, so menus, modals, form errors and logged-in screens are not reached yet
  • The listing itself says automated checks find about a third of WCAG issues. The verdict lists what it could not check, including screen reader experience, captions and 200% zoom
  • I have only tested it on Windows with Chrome so far
  • It suggests fixes, it does not edit your code

It is $4.99, one-time, on Agensi. You connect an agent (Claude Code, Cursor, Codex, and others) through their MCP, and the agent asks before buying. Agensi also has a 30-day money-back guarantee if the skill does not do what the page promises.

Link: https://www.agensi.io/skills/judge-my-ui-ux-review-accessibility-audit

If you try it, I would really like to know whether the design-language branches feel fair, and what it misses on a page you already know well.


r/ForgeYourProject • • 5d ago

WIP viltrum v1.18.4: my HTTP/2 path went from ~21.5k to ~4.2k instructions per request by not doing the same work twice

3 Upvotes

Quick update on viltrum, my web framework for V.

On HttpArena's h2 baseline I was third, and the leader (valk) was doing 15.1M rps on noticeably less CPU than my 14.2M. With h2load pushing 100 streams per connection, CPU per request is basically the whole game, so I put one worker under callgrind.

21,477 instructions per request over h2c. HTTP/1.1 on the same route is about 5,100. Over a third of it was the HPACK encoder scanning the static table and then the dynamic table byte by byte, for a response that was the same every time.

So in 1.18.3 and 1.18.4:

  • Response header blocks get replayed. The HPACK tables keep a generation counter. If the last encode didn't touch the table and the head text is the same, I write the same bytes again. Same coder state plus same input means identical bytes on the wire. Date changes once a second, so a busy route re-encodes once a second.
  • Request header blocks get replayed per connection too. Same bytes under the same table generation skip decode, Huffman, validation and rebuilding the HTTP/1.1 head. If the table changed in between, it decodes again, because the same bytes can point at different entries by then.
  • The remembered head is now parsed once per connection and copied after that. Parse errors are never kept, so a repeated bad request gets refused every time.
  • Plus boring stuff: frame headers appended in one go instead of a byte at a time.

callgrind numbers: 21,477 to 6,352 to 4,161 instructions per request. It costs a bit over 1 KB more per HTTP/2 connection, and still nothing is allocated per request.

Side quest that didn't ship: I wrote a Brotli encoder for the compressed JSON test, since the client accepts br and smaller bodies score better. Bodies came out about 12% smaller, but it was 2.2x slower than my gzip, and compression is around 70% of that request, so it lost. It lives on a branch now. gzip got about 17% faster instead by comparing matches 8 bytes at a time.

Repo: https://github.com/Tuntii/viltrum

Question for anyone who has written HPACK or similar codecs: have you seen per-connection memoization like this bite you in production? I think the generation check covers it, but I'd like to hear where it breaks.


r/ForgeYourProject • • 6d ago

WIP loser v0.1.1: fixing a jumping caret meant adding a caret API to my GUI library first

1 Upvotes

Small update on loser, the desktop tracker I use for my own side projects (every task is a plain Markdown file, and the UI is built on kilim, my GUI library for the iyi language).

The bug: if a task file changed on disk while I had it open, say Claude edited it over MCP, loser merges the outside change into the editor. The merge itself worked, but setting the new text reset the caret to the start. So I'd be mid-sentence in the notes, a merge lands, and my next keystrokes end up at the top.

The fix in loser is tiny: read the caret, set the merged text, put the caret back. The catch was that kilim's Textbox and TextArea had no way to read or set the caret from code. So kilim v0.3.0 got caret, caret=, select_all and selected_text, plus a few other text editing bits: double-click selects a word, Ctrl/Option+arrows move by word, and labels can wrap to their width.

select_all fixed a second small annoyance too: Ctrl+F now selects the old search query, so typing replaces it instead of adding to it.

The selftest now checks that the caret stays where it was after a merge, so this one hopefully doesn't come back.

One thing I haven't decided: keeping the same index is wrong when the outside change inserts text before the caret, because then I land a few characters off. Is it worth mapping the caret through a diff, or is "same index" good enough for a notes field? How do other editors you've used handle this?

loser: https://github.com/Tuntii/loser

kilim: https://github.com/Tuntii/kilim


r/ForgeYourProject • • 7d ago

WIP Kaboom: a small game engine in V with no SDL or GLFW, driven by JSON lines over stdin

2 Upvotes

I started a new side project: Kaboom (internally V-Core), a 2D game engine written in V.

The idea is a bit odd. There's no editor. You run vcore headless and it reads one JSON request per line on stdin and writes one JSON response per line back. Spawn an entity, set a component field, step the sim, ask for a state hash, record and replay. schema.commands lists every method with its params, so an agent (or any script) can figure out how to drive it without reading the code. Errors try to tell you what to fix, like Sprite.r must be in [0, 1]. There's also vcore run, which opens a window and can take screenshots of what it's drawing.

Some rules I set for myself:

  • V with -gc none. Memory comes from arenas, pools and a double buffered per-frame arena, all reserved up front. There are tests that check the live heap doesn't grow per request.
  • No SDL, GLFW, raylib or sokol. Right now it's a raw Win32 window, a GL 3.3 core context, my own GL function loader and an instanced quad renderer. Even the PNG writer for screenshots has no dependencies. The only vendored thing is cJSON.
  • Entities are 64 bit generational handles, components are stored as struct of arrays.

First bench numbers, 100k entities, median of 200 samples:

  • motion tick: 0.29 ms
  • render prepare + draw for 100k quads: about 2.2 ms per frame
  • full state hash: 4.2 ms

The target is 100k entities at a fixed 120 Hz, so there's room. But it's Windows only for now and there's no scripting yet. A register based script VM is in my design notes, not built.

Repo: https://github.com/Tuntii/Kaboom (no README yet, and the commit messages and notes are in Turkish, sorry)

Question for anyone who has built engines or dev tools: if you were letting an agent drive a game over a text protocol, what would you want to be able to ask the engine that's missing from that list?


r/ForgeYourProject • • 8d ago

Discussion What are you building this week? (week of Nov 23)

1 Upvotes

New week, new commits. What did you ship or poke at last week, and what are you trying to get done this one?

Half-finished and rough stuff is totally welcome here.

And if you drop your project, take a minute to comment on someone else's too.


r/ForgeYourProject • • 8d ago

WIP make-sfx update: it can now play real sampled instruments from SFZ files, not just synthesized sounds

1 Upvotes

Ten days ago I posted make-sfx here, the thing I'm building where you describe a sound effect and get a loudness-mastered WAV back (TS library + MCP server). Until now everything it made was synthesized.

Today I added the sampler work, so a project can now use an "sfz" instrument and render real recorded samples.

What went in:

  • an SFZ reader (with caps on includes, regions and diagnostics, so a weird file can't blow up a render) and FLAC reading
  • velocity layers and crossfades, round robin, release and legato triggers, per-region loops, choke groups, keyswitches, sustain pedal
  • the CLI, core and MCP server only load the samples a render actually needs, and the engine frees its memory after big renders

Two bugs I fixed a couple of hours after the first release:

  • if several layers of one note shared the same group/off_by, the later layer cut off the earlier one. Now all chokes run first, then all voices start.
  • a region with no loop_mode ignored the loop points stored in the WAV file. SFZ's default there is loop_continuous, so now it loops like it should.

Not done yet: the MSVC build, fuzzing the SFZ parser with ASan/libFuzzer, comparing output against sfizz, and an actual listening test with free libraries like VSCO 2 CE and VCSL.

You can try it here: https://makesfx.tuntii.com

If you've worked with SFZ: which opcodes do people actually rely on, and which ones are safe to skip? And are there other free SFZ libraries you'd test against?


r/ForgeYourProject • • 9d ago

WIP viltrum v1.18.2: my HTTP/1.1 parser now passes all 159 Http11Probe checks, and there's one h2spec case I decided not to fix

3 Upvotes

Update on viltrum, the web framework for V where I wrote the wire protocols myself (intro post here a week ago).

HttpArena added a Spec column next to the benchmark scores: Http11Probe for HTTP/1.1, h2spec for HTTP/2 and Autobahn for WebSocket, all run against a /spec route. It doesn't count toward the composite score, but it's public per entry, so I wanted it clean before subscribing.

Running their script locally on v1.18.1:

  • Http11Probe: 143/159
  • h2spec: 145/146
  • Autobahn: 244/244

Most of the 16 HTTP/1.1 misses were me being too forgiving. In v1.18.2 the parser got stricter:

  • Host has to be a real uri-host[:port], no userinfo, path, list or empty value
  • asterisk-form only with OPTIONS, and OPTIONS * now answers 200
  • malformed versions get 400, while a well-formed non-1.x version still gets 505
  • the request line is ASCII only
  • strict chunk-size and chunk-ext syntax
  • a Content-Length that doesn't fit in an i64 is a 400

That got it to 159/159.

The one h2spec miss I left alone. It's http2/3.5/2 on the h2c port: that port also speaks HTTP/1.1, so an invalid preface looks like a broken HTTP/1 request and gets a 400 instead of an HTTP/2 error. actix fails the same case. Fixing it would mean answering malformed HTTP/1 on that port differently from the plain HTTP/1 port, which felt worse than the miss. The TLS listener passes 146/146.

The same release also fixed the resilience floods that were OOM-killing it, but that's its own story (it turned out to be kernel socket memory, not mine).

Repo: https://github.com/Tuntii/viltrum PR: https://github.com/Tuntii/viltrum/pull/136

Question for anyone who has written a parser: how strict do you go? Rejecting things real clients never send feels right to me, but I keep wondering if some old client somewhere will hit one of these 400s.


r/ForgeYourProject • • 10d ago

WIP kilim v0.2.1: an idle window with an inbox no longer wakes up 100 times a second on Linux

1 Upvotes

Quick update on kilim, the GUI library I'm writing for the iyi language (a Crystal fork). I posted the intro here on the 10th: https://old.reddit.com/r/ForgeYourProject/comments/1xsw4nd/

v0.2.1 is out. Two things changed.

Moving to iyi 0.21.0. The new compiler wants modules that call C or hold raw pointers to carry an @[Unsafe("why")] mark with a reason, and spawn_parallel is now a compile error. So the SDL, Win32 and Direct2D modules got their reasons written down, and the tests and examples switched to spawn(unit: :new). iyi fix did that rewrite for me.

A small perf fix on Linux. kilim has inboxes so other threads can send messages to the UI. On Windows and macOS a send already woke the SDL loop with SDL_PushEvent. On Linux the loop polled the inboxes every 10 ms instead, whenever one existed, so an idle window was waking 100 times a second for nothing. iyi 0.21.0 now makes worker threads with libc on Linux, so the sender can push the event there too, and the polling is gone.

The smoke test guards it: a send from another thread has to reach its handler within 200 ms, and a 1 s timer ends the run if the wake is broken.

Repo: https://github.com/Tuntii/kilim

Question for anyone who has built a UI toolkit or an event loop: how do you test that an idle app is actually idle? Right now I only test that the wake works, not that nothing else wakes the loop. Curious how you catch that kind of regression.


r/ForgeYourProject • • 11d ago

Launch full-stack-viltrum-template: a small teaching app for my V web framework, no ORM, no Docker, no React build

2 Upvotes

Last week I posted Viltrum here, my web framework for V. A framework on its own doesn't show much about what using it actually feels like, so I keep a small full-stack template next to it.

It's inspired by fastapi/full-stack-fastapi-template, but it's not a port. It's deliberately much smaller:

  • a landing page at / that shows live facts read from the running process
  • an admin dashboard, server-rendered with V's built-in $tmpl, with a session cookie login
  • a JSON API under /api/v1 that takes either a Bearer token or the same cookie
  • an in-memory store. No ORM, no Docker, no React build

The code is split by responsibility: models, store, auth, web routes, API routes, views. The idea is you swap store.v for a real database later and keep the handlers thin.

One thing worth knowing if you try it: in Viltrum 1.x, whatever a handler reads from the request (form values, headers, params, body) points into the connection's buffer and is only valid until the handler returns. So store.v clones every string it keeps. That comes with the zero-allocation core, and the template is where I show how to live with it.

Tests run end to end through handle_raw with no socket, so v test . runs anywhere. Serving needs Linux because the engine is epoll (WSL2 works on Windows).

Things I skipped on purpose: ORM, OAuth, email recovery, Docker, and TLS in-process (put Caddy or nginx in front).

Repo: https://github.com/Tuntii/full-stack-viltrum-template

If you picked up a starter like this, what's the first thing you'd want added? A real database adapter, or something else?


r/ForgeYourProject • • 12d ago

Launch I built an ad platform that promises absolutely nothing. Getting people to use it has been the real challenge.

1 Upvotes

Hey everyone!

A moderator here suggested I share what I've been building, so here goes.

A few weeks ago, I launched Useless Ads, probably the least ambitious advertising platform on the internet.

The concept is intentionally ridiculous:

  • $0.99/week to advertise your project.
  • Only 50 spots available, with 35 visible at a time.
  • Ads rotate every 3 seconds.
  • Real views, real clicks, absolutely no ROI promised.

Basically, you pay to waste money on the internet. ๐Ÿ˜‚

Here's where things stand:

  • 17/50 spots occupied
  • 13,691 ad views
  • 483 clicks
  • 3.53% CTR
  • $158.65 in cumulative advertiser spend shown on the board

But here's what I've actually learned.

Building the product was the easy part. Getting people to care is a completely different game.

I've been testing launch directories, X, Reddit, founder communities, and direct conversations.

And so far, genuine conversations with other builders have been far more useful than simply submitting the project to directories and hoping someone notices.

Reddit has been particularly interesting. I've spent more time participating in discussions, commenting on other people's projects, and learning how different communities work than actually promoting my own.

Some things worked. Others didn't. And I'm still figuring it out.

The funny part? I built a product that openly promises nothing, but I'm spending a ridiculous amount of time trying to get people to notice it.

Two questions for other builders here:

  1. What's been harder for you, building your product or getting your first users?
  2. Have genuine conversations worked better than launch platforms for you too?

If you're curious about the experiment, it's at https://uselessads.site.

Happy to share what I've tried, what's worked, and what's been a complete waste of time. Which, given the product, feels appropriate. ๐Ÿ˜‚


r/ForgeYourProject • • 12d ago

Launch KayaDB: my Rust key-value database where a crash bug only counts as fixed once it's a replayable test

2 Upvotes

This is KayaDB, a distributed key-value database I've been building in Rust since May. The whole project hangs on one idea: if a storage bug can't be reproduced, inspected and turned into an invariant, it isn't really fixed.

So a lot of the work went into the stuff around the storage, not just the storage itself:

  • an LSM-tree engine with a CRC32C-checked write-ahead log, and crash recovery that truncates a torn tail and is tested for idempotence
  • SimDisk, a fake disk with a deterministic fault schedule, so a failure becomes a seed you can replay
  • a seeded simulator that checks every run against a reference model
  • fuzz targets for the WAL, SSTables, the manifest and the server's command frames
  • Raft (elections, snapshots, joint-consensus membership) with multi-raft ranges over TCP, plus TLS and token auth
  • on top of that: MVCC, snapshot isolation, 2PC transactions, secondary indexes, CDC and range split/merge

It's at v0.2.1 right now. To be clear, I don't call it production-ready with any SLA, and the gaps that are left are listed in the roadmap.

Quickest way to poke at it, no clone needed:

cargo install kayactl
kayactl --data ./demo put hello world
kayactl --data ./demo get hello
kayactl --data ./demo inspect wal ./demo/wal-000001.wal

Repo: https://github.com/Tuntii/KayaDB

Docs: https://tuntii.github.io/KayaDB/

Question for anyone who has built storage or distributed stuff: how do you decide when deterministic simulation is "enough", and when you have to go break a real cluster with something like Jepsen?


r/ForgeYourProject • • 13d ago

Launch Valentine: a multi-pane terminal that puts all my shells, folders and scrollback back after a power cut

1 Upvotes

My PC went down hard one too many times with six terminals open: a dev server, a load generator, git, tests. Everything gone, and I had to rebuild the whole setup by hand. So I wrote Valentine.

It's a multi-pane terminal for Windows, macOS and Linux, backend written in V with xterm.js for the UI (compiled into the binary, works offline). While you work it keeps the layout, each pane's folder and its scrollback in SQLite (WAL mode). On the next start everything comes back: same split layout, same folders, scrollback restored, and panes get marked "RESTORED AFTER UNEXPECTED SHUTDOWN" so you know what happened.

A few things I ended up adding because I needed them:

  • Startup commands per pane (like npm run dev). After a restore they re-run after a 3 second countdown you can cancel with Esc.
  • Separate command history per pane for PowerShell, bash and zsh.
  • Pane labels show whether a background command is running, finished or failed, plus the git branch.
  • Claude Code in a pane gets a status badge (working / your turn / needs you) and its conversation is resumed after a crash.
  • A built-in MCP server, so agents can list panes, read output, run commands, and even ask another agent in another pane something (ask_agent).

The last release (v0.3.0) was mostly about reliability: flow control so a noisy pty can't drown the UI, reconnecting the websocket in place instead of reloading, Ctrl+Shift+T to reopen a closed pane with its history, and a log file for when things go wrong. There's also a v0.4.0 beta with the start of a VT parser for a native renderer.

Repo: https://github.com/Tuntii/valentine

Honest question: how do you deal with losing terminal state today? tmux + resurrect, just living with it, something else? And if you try it, I'd love to hear what breaks on your shell or OS.


r/ForgeYourProject • • 15d ago

Discussion What are you building this week? (week of Nov 16)

1 Upvotes

New week, so what are you working on? Shipped something, stuck on something, or just started a messy prototype?

Half-finished stuff is totally welcome here.

And if you drop your project, please leave a comment on someone else's too, that's how this place stays alive.


r/ForgeYourProject • • 15d ago

Launch RustAPI: my Rust web framework where simple routes skip the middleware chain and every endpoint is also an MCP tool

2 Upvotes

Besides Viltrum, the other web framework I work on is RustAPI. It's a Rust framework on top of hyper 1.x and tokio, and it's at v0.2.2 on crates.io now, so it felt like time to give it its own post here.

The starting idea was basically "FastAPI ergonomics with Rust performance". You write a small handler, put #[rustapi_rs::get("/...")] on it, and it gets registered at link time (a linkme distributed slice), so there's no manual router wiring. OpenAPI docs show up at /docs on their own.

A few things I care about in it:

  • Three execution paths per request. If a route has no middleware and no interceptors, the handler is called directly with no Arc cloning. Only routes that actually use layers (JWT, CORS, rate limiting) go through the full stack. So your /health doesn't pay for your auth.
  • Facade crate. User code only imports rustapi-rs, so the internal crates can change underneath. The public API is tracked with cargo public-api snapshots, and CI makes any PR that changes it carry a breaking/feature label.
  • Every endpoint is also an MCP tool. In-process calls come in around 28 ยตs vs about 1.3 ms through a proxy.
  • TOON, a compact response format for LLM use that cuts token counts by roughly 50-58% compared to JSON, with headers that report the savings.
  • Request replay. A middleware records request/response pairs, then you can replay or diff them against staging from the CLI.

Recent work has been the boring but necessary kind: v0.2.2 closed a RUSTSEC advisory with a rustls bump, and coverage moved from tarpaulin to cargo-llvm-cov because tarpaulin kept segfaulting on GitHub Actions.

Repo: https://github.com/Tuntii/RustAPI

If you build APIs with Axum or Actix, what would actually make you try a new framework? And is "every endpoint is an MCP tool" useful to you or just noise?


r/ForgeYourProject • • 16d ago

Launch loser: a small desktop tracker for my own side projects, where every task is a plain Markdown file and Claude can edit them over MCP

3 Upvotes

I have too many side projects and my task lists were spread across GitHub issues, random notes and my head. So I built loser, a desktop project tracker just for your own projects.

It's three panes: projects, tasks, and the selected task. Under the hood everything is plain files in one folder: a projects.toml, and one Markdown file per task with YAML front matter (status, labels, GitHub link) and your notes as normal Markdown. You can edit them by hand, keep the folder in git, whatever you like. The window reloads anything that changes outside it.

A few things I cared about:

  • GitHub sync is read-only. It pulls open issues and PRs into To do through the gh CLI, never stores a token, never overwrites your notes, and closing or merging moves the task to Done.
  • There's an MCP server (loser mcp), so Claude can list, create and update tasks. It writes the same files, so the window doesn't even need to be open.
  • If two writers touch the same task's notes at once, your text wins and the other version gets saved next to it as a .conflict file instead of being lost.

It's also my first real app built on kilim, the GUI library I'm writing for the iyi language (a Crystal fork), so it doubles as a dogfooding project. Most of the fixes in the first days were about exactly that kind of thing: a stale file scan refilling the field you're typing in, outside writes reverting a status you're editing, and so on.

v0.1.0 is out as a Windows exe. Linux and macOS build from source with SDL3.

Repo: https://github.com/Tuntii/loser

How do you keep track of your own projects? And would plain Markdown task files plus an MCP server be useful to you, or is that overkill for a personal tracker?


r/ForgeYourProject • • 17d ago

Launch Viltrum: a web framework for V where I wrote the whole wire myself (HTTP/1.1, HTTP/2, WebSocket, TLS 1.3)

3 Upvotes

Viltrum is a web framework for the V language that I've been building, and the slightly unreasonable part is that it owns the whole wire. The accept loop, the HTTP/1.1 parser, HTTP/2 with HPACK, WebSocket framing and the TLS 1.3 record layer and handshake are all written in the repo, not wrapped. The rest of the crypto comes from mbedtls, which ships with V, and v.mod has no dependencies.

A few things I care about:

  • No allocation per request, and CI enforces it. Tests run each request shape 10,000 times and fail if the GC heap grows by a single byte (HTTP/1.1, HTTP/2, TLS, WebSocket, streaming, static files).
  • One epoll worker per CPU, and the same router, middleware and Ctx answer HTTP/1.1, HTTP/2 and WebSocket on the same port.
  • The parsers get fuzzed in CI, 500k mutations each, and ambiguous HTTP/1.1 framing (TE+CL, duplicate Content-Length, obs-fold, bare CR/LF) just gets a 400.

On benchmarks: on 2026-10-14 HttpArena had it 99th of 151 on its baseline. Twelve days later, after a new engine, it came out first of 19 on HTTP/1.1 and first of 14 on WebSocket in HttpArena's Experimental category (that's the category for young frameworks without much production use, so take it with that in mind). The full table and method notes are in the README.

Quick start is v install Tuntii.Viltrum. Serving needs Linux for now since the engine is epoll.

Repo (MIT): https://github.com/Tuntii/viltrum

What's on the list next is https:// upstreams for the built-in HTTP client, WebSocket over HTTP/2, and metrics. If you were picking a framework in a smaller language like V, what would you need to see before trying it on a real project? And which of those three would you want first?


r/ForgeYourProject • • 18d ago

Launch make-sfx: describe a sound effect in plain English, get a loudness-mastered WAV (TS library + MCP server)

0 Upvotes

make-sfx is a thing I built for generating game sound effects from code, kind of like Remotion but for sound. No DAW, no digging through sample packs, no fiddling with gain because the coin ended up way louder than the hit.

Two ways to use it:

  • In code: npm install make-sfx-core, pick a preset or write a config, get a WAV back. There are 25 presets (jump, coin, laser, explosion, UI clicks, a small "digital UI" pack) and 70+ parameters if you want to go deeper: oscillator layers, LFOs, texture, reverb, EQ and so on.
  • Through MCP: npx make-sfx-mcp in Cursor or Claude, then just ask for "a coin pickup, a jump and a higher pitched blink" and it writes the WAVs plus the code that made them, so you can tweak later.

The part I care about most is loudness. Every sound gets mastered to a per-category target (UI around -14 LUFS, combat -9, pickups -12, ambient -18) using BS.1770 K-weighting and a true-peak limiter. So a bright coin and a dark thud actually sound equally loud, not just equal on a meter. Seeds are deterministic too, same seed gives the byte-identical WAV, which keeps asset diffs sane.

It's MIT, TypeScript, works in Node and the browser.

Repo: https://github.com/Tuntii/make-sfx Live demo: https://tuntii.github.io/make-sfx/

If you've done game audio before: do those per-category loudness targets sound right to you, or would you mix them differently? And which sounds would you want as presets that aren't there yet?


r/ForgeYourProject • • 20d ago

WIP kilim: a GUI library I'm building for the iyi language, draws its own widgets

4 Upvotes

I've been building kilim, a retained-mode GUI library for iyi (a small compiled language that started as a Crystal fork, iyi.dev). It's written from scratch: Win32 + Direct2D on Windows, SDL3 on Linux and macOS.

What it does right now:

  • draws its own widgets, so an app looks the same on all three platforms
  • small declarative API, you build the widget tree once and then just change things (label.text = "...", list.add(row))
  • Turkish and other non-ASCII text renders and edits properly (that one mattered to me personally)
  • only redraws when something changes, idle actually means idle
  • CI runs tests plus a self-driving to-do app on Windows, Linux and macOS

A counter app is about ten lines. There's a to-do example in the repo with a textbox, checkboxes, scrolling and a demo GIF.

Repo: https://github.com/Tuntii/kilim

It's early (4 stars, me as the only contributor), so I'd really like feedback on the API, and if anyone wants a first contribution there are open issues around CI for arm64 and Intel Macs.


r/ForgeYourProject • • 20d ago

Launch I built OpenV, an open-source requirements management tool, and it's now free to use

1 Upvotes

Hi all, I'm Dave and I build OpenV, so full disclosure: this is my own project.

What it is: requirements, traceability and V&V evidence in one place, with AI agents (Claude Code, Codex, Gemini) that work inside the audit trail. Every agent change is approved by a human. It's aimed at engineering and product teams, especially safety-critical or regulated work, who want to move off expensive tools like DOORS.

Free tier and self-hosting:

  • Hosted free plan while we're in alpha: one shared workspace with one other person, 300 min/month of cloud runners. Agent runs use your own AI subscription or API keys.
  • Self-host for free forever: MIT licence, one Docker Compose command, no vendor limits.

It's an alpha, so expect rough edges, and the paid tiers aren't live yet. I'd really value feedback from anyone who tries it, especially on what's missing for your workflow, and I'm happy to answer questions on how it's built.

Site: https://openv.app Source: https://github.com/desktopmachineshop/OpenV