frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Access OPFS from multiple tabs using a fake Shared Worker

https://github.com/arnold-graf/cross-tab-worker/
2•ch_sm•1h ago

Comments

ch_sm•1h ago
Hi all!

I wanted to share a library I wrote that I think is needed to make OPFS actually useful.

For context, OPFS is the Origin Private File System, giving your app a orgin-scoped high performance file system, ideal for stuff like sqlite or data intensive local-first apps.

However, if you have multiple windows or tabs, using the same FileHandle will break your app, since there can only be one FileHandle per file.

This library attempts to fix this by doing some MessagePort acrobatics between tabs, and keeps only one worker alive managing access to the file system.

It’s informed by this discussion on wa-sqlite: https://github.com/rhashimoto/wa-sqlite/discussions/81

Hope somebody will find this useful!

Show HN: My Private GitHub on Postgres

https://github.com/calebwin/gitgres
8•calebhwin•31m ago•1 comments

Show HN: Loopsy, a way for terminals and AI agents on different machines to talk

https://github.com/leox255/loopsy
25•todience•7h ago•6 comments

Show HN: AI CAD Harness

https://fusion.adam.new/install
2•zachdive•27m ago•0 comments

Show HN: Perfect Bluetooth MIDI for Windows

89•mayerwin•8h ago•23 comments

Show HN: N=1 – iOS app for structured longevity self-protocols

https://apps.apple.com/us/app/n-1-tracker/id6762523189
2•middleastbeast•40m ago•0 comments

Show HN: WhatCable, a tiny menu bar app for inspecting USB-C cables

https://github.com/darrylmorley/whatcable
291•sleepingNomad•9h ago•108 comments

Show HN: Access OPFS from multiple tabs using a fake Shared Worker

https://github.com/arnold-graf/cross-tab-worker/
2•ch_sm•1h ago•1 comments

Show HN: Herald – Local-first terminal email client

https://herald-mail.app/
3•zoomacode•3h ago•1 comments

Show HN: Winpodx – run Windows apps on Linux as native windows

https://github.com/kernalix7/winpodx
88•kernalix7•15h ago•47 comments

Show HN: Pu.sh – a full coding-agent harness in 400 lines of shell

https://pu.dev/
88•nahimn•21h ago•22 comments

Show HN: Updated – A dual crossword puzzle where two crosswords share one grid

https://forkle.co.uk/
3•daveoshawrus•7h ago•0 comments

Show HN: WeSearch – Anonymous news aggregator with no algorithm, 700 sources

https://wesearch.press/
10•EGCstudy•10h ago•6 comments

Show HN: What happens when you load a webpage (Interactive)

https://toolkit.whysonil.dev/how-it-works/internet-timeline/
31•otterwilde2•3d ago•7 comments

Show HN: TRiP – a complete transformer engine in C built from scratch just by me

https://github.com/carlovalenti/TRiP
36•carlovalenti•1d ago•6 comments

Show HN: Site Mogging

https://sitemogging.com
45•jilles•6h ago•55 comments

Show HN: A new benchmark for testing LLMs for deterministic outputs

https://interfaze.ai/blog/introducing-structured-output-benchmark
58•khurdula•2d ago•24 comments

Show HN: Coding-Flashcards – Learn Rust, SQLite, or Godot from First Principles

https://github.com/ad-si/Coding-Flashcards
18•adius•1d ago•2 comments

Show HN: Rocky – Rust SQL engine with branches, replay, column lineage

https://github.com/rocky-data/rocky
119•hugocorreia90•3d ago•48 comments

Show HN: Drive any macOS app in the background without stealing the cursor

https://github.com/trycua/cua
185•frabonacci•3d ago•41 comments

Show HN: Live Sun and Moon Dashboard with NASA Footage

https://www.lumara-space.app/
218•beeswaxpat•3d ago•66 comments

Show HN: FusionCore: ROS 2 sensor fusion that outperforms robot_localization

https://github.com/manankharwar/fusioncore
11•kharwarm•3d ago•2 comments

Show HN: Rip.so – a graveyard for dead internet things

https://rip.so
182•bozdemir•2d ago•117 comments

Show HN: I built a context layer for our home

https://rosey.house
2•aloktiagi•11h ago•0 comments

Show HN: Self hosted video feed for children

https://github.com/vkolev/timmygram-server
3•vkolev•12h ago•0 comments

Show HN: Git repositories hosted directly on Freenet

https://github.com/freenet/freenet-git
5•sanity•13h ago•0 comments

Show HN: Throwaway – open-source disposable email checker and API

https://github.com/sslboard/throwaway
14•weddpros•1d ago•10 comments

Show HN: Auto-Architecture: Karpathy's Loop, pointed at a CPU

https://github.com/FeSens/auto-arch-tournament/blob/main/docs/auto-arch-tournament-blog-post.md
238•fesens•3d ago•75 comments

Show HN: OSS Agent I built topped the TerminalBench on Gemini-3-flash-preview

https://github.com/dirac-run/dirac
390•GodelNumbering•4d ago•146 comments

Show HN: Vibe, a single-header C networking library for Linux

https://github.com/xtellect/vibe
4•enduku•15h ago•0 comments

Show HN: Adblock-rust Manager – Firefox extension to enable the Brave ad blocker

https://github.com/electricant/adblock-rust-manager
94•electricant•2d ago•44 comments