Better HN
topnewbestaskshowjobs
Log inSign up

jamesgpearce

2,508 karma · joined Mar 11, 2009 (17y ago) · 224 submissions

Hacker, sailor, TinyBase. Previously Engineering Director at Meta: data infra, dev tools, open source, and platforms.

https://x.com/jamespearce https://tripleodeon.com

Submissions

1.

Show HN: A free web-based weather and sail routing tool(fairlysoon.com ↗)

3 points · by jamesgpearce · 1mo ago · discuss

2.

TinyJoin: A fast browser RDBMS built in Rust(tinyjoin.org ↗)

1 points · by jamesgpearce · 1mo ago · discuss

3.

TinyJoin: A small relational database for browser apps(tinyjoin.org ↗)

3 points · by jamesgpearce · 2mo ago · discuss

comment 2mo ago · link · parent

That was to be the voice control for the Portal smart speaker before we integrated Alexa.

5.

Show HN: An interactive visualization of Caribbean imperial history(contestedworlds.com ↗)

1 points · by jamesgpearce · 2mo ago · discuss

6.

An open, storage-agnostic, sync engine development kit(synclets.org ↗)

3 points · by jamesgpearce · 1y ago · discuss

comment 1y ago · link · parent

Perhaps a generous definition of "better"... but some of those genuinely made me laugh!

8.

The Barnacle Goose Myth(en.wikipedia.org ↗)

36 points · by jamesgpearce · 1y ago · 12 comments

9.

A task orchestrator for local-first web apps(tinytick.org ↗)

4 points · by jamesgpearce · 1y ago · discuss

10.

Local-first syncing with Durable Objects and TinyBase(tinybase.org ↗)

1 points · by jamesgpearce · 1y ago · discuss

11.

A local-first GitHub client, built in public(tinyhub.org ↗)

2 points · by jamesgpearce · 2y ago · discuss

comment 2y ago · link · parent

Disclaimer: I'm the author. But you might be interested in TinyBase.

13.

Tiny, reusable, UI components, wrapped in an app layout(tinywidgets.org ↗)

2 points · by jamesgpearce · 2y ago · discuss

comment 2y ago · link · parent

TinyBase author here if anyone has any questions or comments about this!

15.

Connecting TinyBase to PGlite and PostgreSQL(twitter.com ↗)

20 points · by jamesgpearce · 2y ago · 2 comments

16.

TinyBase Now Supports PostgreSQL(beta.tinybase.org ↗)

1 points · by jamesgpearce · 2y ago · discuss

comment 2y ago · link · parent

A while back I started on an experiment to build a local-first GitHub client: https://github.com/tinyplex/tinyhub

It certainly _seems_ like the GitHub interface should feel more like an 'app', and less a 'site'. Or just me?

comment 2y ago · link · parent

It's just a way to get up and running with an app template. But this is the essence of the JS in question: https://github.com/tinyplex/vite-tinybase/blob/main/src/inde...

comment 2y ago · link · parent

The very first demo is React-less and so is this Vite template! Enjoy :)

https://github.com/tinyplex/vite-tinybase

comment 2y ago · link · parent

As the other commenter points out, the ui-react (and in turn ui-react-dom) modules are optional so you can run it with full ReactDom, with abstract React (eg React Native), or without React at all.

The way to do that would be to listen to data changes (eg addCellListener) and in the listener just manipulate the DOM directly. Probably a pretty slick approach, performance-wise.

For SQLite, a variety of flavors are supported including things like ElectricSQL, Turso, and PowerSync - which all let you sync back to a server. You might also consider running a ‘client’ on a server that can listen to changes coming through web sockets and persist itself to server storage - but I haven’t written that pattern up yet.

Hopefully you’ll get a chance to try it out in the meantime though!

comment 2y ago · link · parent

Author here if anyone would like to ask any questions or offer feedback!

22.

TinyBase v5: CRDTs for the rest of us(tinybase.org ↗)

27 points · by jamesgpearce · 2y ago · 11 comments

comment 2y ago · link · parent

That realtime `/imagine` prompt seems pretty great.

24.

The Easiest Way to Build Reactive Local-First Apps(bndkt.com ↗)

4 points · by jamesgpearce · 2y ago · discuss

comment 2y ago · link · parent

Fantastic travel writing with a couple of real LOLs. The author plays the role of self-aware snob for all it's worth though, I assume hoping that his fellow passengers and Atlantic readers are disjoint sets.

comment 2y ago · link · parent

It’s a proof of concept! But hopefully you can see how you could build an app that has content that is both cloud & local, private & shared - and that has users that are both anonymous & authenticated, online & offline.

27.

TinyRooms: a local-first app demo using TinyBase and PartyKit(github.com ↗)

3 points · by jamesgpearce · 2y ago · 2 comments

28.

PartyKit, Meet TinyBase(blog.partykit.io ↗)

3 points · by jamesgpearce · 3y ago · discuss

29.

TinyBase can now persist data to IndexedDB(github.com ↗)

1 points · by jamesgpearce · 3y ago · discuss

30.

TinyBase v4.1: a reactive data store with DOM UI and web inspector(tinybase.org ↗)

1 points · by jamesgpearce · 3y ago · discuss

12345
8