Skip to main content

Posts

Showing posts with the label Open Source

electron-db 0.16: A Tiny JSON Database for Electron, Now with Promises and Speed

electron-db 0.16 is out: the small JSON-file database for Electron now has async/await, answers lookups by id in a hundredth of a millisecond, and saves a thousand inserts in 22 ms instead of 55 seconds. If you build a desktop app with Electron, you hit the same question early: where do I keep the app's data? A full database means native modules, rebuilds for every Electron version and a schema. Often you just need a few tables of records that survive a restart. That is what electron-db is for. Each table is one readable JSON file in your app's data folder. There are no dependencies and no native code, so npm install is the whole setup, and the API reads like a tiny SQL: create a table, insert rows, then get, update and delete them with a where clause. Getting started Install it in your Electron app: npm install electron-db Then use it from the main process: const db = require('electron-db'); db.createTable('customers', (succ, msg) => { console.lo...

Baidu's Unlimited-OCR: The AI That Reads an Entire Book in One Pass

On June 22, 2026 , Baidu quietly open-sourced a model that solves one of OCR's most stubborn problems: reading long documents. Called Unlimited-OCR , it can parse a 40-page contract, a scanned textbook, or a dense financial report in a single forward pass — and it does so while keeping memory dead flat. The GitHub repo crossed 10,000 stars within five days. Here's why it matters, in plain terms. The problem: OCR forgets how to breathe on long documents Modern OCR is done by vision-language models that "read" a page image and emit text. The catch is the KV cache — the running memory a transformer keeps of everything it has seen so far. On a one-page receipt that's trivial. On a 40-page document, that cache balloons: memory climbs, per-page latency creeps up, and eventually the model runs out of room or slows to a crawl. In practice, most OCR systems quietly punt by slicing a document into pages and stitching the results back together — which loses cross-pa...

Ditch Google Maps? The Best FOSS Offline Map Apps in 2026

Google Maps is excellent — and it knows exactly where you go, when, and how often. If that trade makes you uneasy, a mature ecosystem of free, open-source, privacy-respecting map apps is ready to take over, and most of them work fully offline. Why leave Google Maps Two reasons: privacy (your location history is a detailed diary you may not want stored) and offline reliability (downloaded maps work in dead zones, on planes, and abroad without roaming). FOSS map apps are built around both. The top options Organic Maps — fast, clean, privacy-first, great for hiking and driving; fully offline. CoMaps — a community-driven map app in the same family, focused on staying open and ad-free. OsmAnd — the power user’s choice: dense features, detailed offline navigation, endlessly configurable. All are powered by OpenStreetMap, a free, crowd-sourced map of the world that anyone can improve. The trade-offs You’ll give up some polish: live traffic a...