Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Weird question: Since you mention 'bare-metal' and this is "enables you to run Postgres in the browser"

UH, could you do:

bare_metal --> HeadlessGPU-Chrome --> PGLite with whatever orchesrtration and you have a an automatable 'browser' that can scrape/store/logic/log/be-config'd from/lookup directly to your browserDB

and maybe run a fastAPI ontop of such that you have a full stack, baremetal, headless, browserDB/fastAPI/endpoint processing doohicky?

Or does this sound dumb?

Because this is exactly what I actually need and am attempting to create - but its beyond my capabilities in any functional/elegant implementation...

https://www.browserless.io/blog/browserless-gpu-instances

https://github.com/dhamaniasad/HeadlessBrowsers



PGlite also runs in Node and Bun, so you can easily run it on backend servers. (couldn't fit that in the HN headline)


Sorry if this is in the RTFM;

So, you can basically use this to deploy a portable fully enclosed little webapp.

Basically any little web-app that has a bunch of backend DB:

A sales USB drive that loads a page that then has the pglite of all your product stuff on there. and you can just provide custom buttons to slurp data either way.

Utils to yank a [data] from a postgress server, onto your little sneaker-DB-USB -- then carry it over and to a DB function...

A little util USB that you already have it setup such that you can curl a bunch of data directly into tables on your little headless-browser-pglite minion?

Full Kisok DB USB (SSD) upgrades.

Basically - running a pico headless postgress DB with a webUI?

--- aside:

samwillis March 2008

samstave March 2009

:-)

---

WOW:

https://i.imgur.com/6YLwEuj.png

--

Yeah this is pretty dopes.


Yep exactly, either in the browser, or using something like Electron to package it as a desktop app.

:-)


It doesn't need so many moving parts imo. I was thinking to just grab the npm package and slap a tiny TS interface on top of that to mock my bespoke vector db. In the vein of https://news.ycombinator.com/item?id=41225080




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: