Sockethub is a protocol gateway for the web that bridges the gap between browser-based applications and traditional network protocols. Using ActivityStreams objects as a standardized message format, it acts as an intelligent proxy server that maintains state and connects to services that would otherwise be inaccessible from in-browser JavaScript.
Built with modern TypeScript and powered by Bun runtime, Sockethub features a robust multi-process architecture where:
Currently implemented platforms include:
The extensible design allows for straightforward implementation of additional protocols like SMTP, IMAP, Nostr, and more.
Originally conceived as a sister project to RemoteStorage, Sockethub supports the development of Unhosted and noBackend applications. However, its functionality seamlessly integrates into traditional development stacks, removing the need for custom protocol-specific code at the application layer.
Sockethub enables web applications to:
Sockethub is actively developed and maintained by Nick Jennings with support from the NLNET Foundation. With over 390 stars and contributions from 20+ developers, the project continues to evolve with regular updates and improvements.
The architecture is designed to be extensible – implementing new platforms is straightforward by defining a schema and mapping functions to ActivityStream verbs.
Sockethub presentation at re:publica 2013! Wednesday, May 8th 2014 @ 13:00 on Stage 4