106 karma · joined January 5, 2026
Github.com/tnelsond
So I made a format that will never surpass SQLite, except that it's extremely lighter and faster and works on zstd compressed files. It has really small indexes and can contain binaries or text just like SQLite.
The wasm part that decompresses and reads and searches the databases is only 38kb (uncompressed (maybe 16kb gzipped)). Compare that to SQLite's 1.2mb of wasm and glue code it's 3% the size but searching and loading is much faster. My program isn't really column based and isn't suitable for managing spreadsheets, but it's great for dictionaries and file archives of images and audio.
I ported the jbig2 decoder as a 17kb wasm module, so I can load monochrome scans that are 8kb per page and still legible.
https://github.com/tnelsond/peakslab
SQLite is very well engineered, PeakSlab is very simple.
Everyone agrees that pedophiles are everywhere in government and power. If you hate Donald Trump you believe that he's a part of conspiracies. If you like Donald Trump you believe there's conspiracies against him.
It doesn't help that the conspiracies theories about covid that it was made in a lab and all that were eventually admitted to be fact after years of censorship. Conspiracy theories about government surveillance and different things have more and more proven to be true... It's harder and harder to get people to accept a narrative.
I just recently needed jbig2 image support in my web app and using pdf.js wasn't gonna work and be too slow and the wrong interface anyway, so I took the source code for the jbig2 decoder and vibe coded a converter that outputs 1 bit pngs. After some manual culling of code I got the wasm module down to 27kb with no glue.
But I find it kinda discouraging that even Terry Davis ran templeos in an emulator.
The pop-up modals are very annoying and persistent. A long tutorial before using a news aggregator, really? I have to read a FAQ? Ok, close that and see what it is first. Oh no, another pop-up.
Why ask me if I want to install it if I haven't even gotten to try it yet, really jumping the gun.
Interface is good, great concept. The anonymous commenting seems nice.
The link to read today's stories makes me think that that's the only way to get to the stories, but when i click it it just scrolls me down 50 pixels. Thanks I guess.
The story feed sometimes takes a while to load and looks kinda blank.
I scroll down see about 5 stories and all of a sudden I'm on summaries about the most commented and viewed stories. Where's my doom scrolling, lol.
Again, I'm being overly harsh but I think these things are barriers to first time users.
My experience is that usually users don't give me good feedback and they kinda just keep it in.
How's that compare to this?
> CJIT improves three main UX aspects for now:
> It works as a single executable file which embeds the TinyCC compiler, all its headers and its standard library. This way there is no need to install anything system wide, check paths and setup build folders.
> It supports adding multiple files into one execution: can accept wildcards to ingest anything that is a C source, a pre-compiled object or a shared library. The symbols exported by each file will be visible to all during the same execution.
> It finds automatically common system libraries for each target platform, avoiding the need to repeat these settings and look for the right paths.
I have a sheet music app built with this at https://peakslab.org/khmermusic/
It's stupid simple to setup, just put media files (webp, webm opus, jbig2) in a folder and run ./peakgen mediafolder/ outfile.slab Then just edit the config.js to include that outfile.slab and you've got a pwa.
https://www.justice.gov/usao-mdal/pr/federal-grand-jury-char...
The Cambodian version is Prahok and apparently it's usually raw and you aren't supposed to eat it raw, but I ate it raw (it was pink colored) for a couple days before someone told me. Prahok sounds gross but the stinky flavor is really reminiscent of cheese.
But the page still had to be refreshed to load the new service worker. I'm looking into ways to cut the time to loading the new files down because right now you have to refresh the page 3 times for the new files to take over.
The .peak files aren't designed to be a database that you can just add to during runtime, they're rather static and highly efficient in that context. But it's easy to edit the source files and generate a new .peak file from that.
You can take a folder of any kind of files and run peakgen on it and it will create a compressed .slab file that you can search and fetch results from just like the .peak files. I first saw that done with SQLite and I really liked it, so I knew I could do it too.
If you want to chat you can shoot me an email.