Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Peer-to-peer Collaborative databases in the browser (github.com/adhamsalama)
1 point by adhamsalama on Oct 25, 2024 | hide | past | favorite
I have been trying to run SQLite in the browser using WebAssembly, then I had an idea, why not make it collaborative using WebRTC? This way, you wouldn't need a centralized server to share data with other people.

When you open the website, a persistent SQLite database will be created. When you join a room with other peers, any SQL statements or file imports by any peer will be replicated to the rest of other peers using WebRTC.

This actually solves a problem I face when I need to share some data to analyze it with other people because we use Google Sheets, but I don't like analyzing data using spreadsheets, I find SQL to be much better, so this project allows me to leverage the full power of SQL(ite) and also be able to collaborate with other people.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: