HeadlinesBriefing favicon HeadlinesBriefing.com

Town Square Brings Real-time Visitor Interaction to Static Websites

Hacker News •
×

Developer Cauê Naipe recently added an experimental feature called Town Square to his website, creating a small interactive strip at the bottom of each page populated by stick figures representing other visitors. Each figure shows what page someone is currently reading, allowing users to see who's browsing the same content and start impromptu discussions.

The system operates without accounts, profiles, or persistent chat history. Messages exist only while visitors remain present to read them, intentionally creating a fleeting, low-pressure social experience. After receiving requests from other site owners, Naipe open-sourced the project and launched a public server, enabling simple integration without self-hosting requirements. The code lives on GitHub at cauenapier/TownSquare.

Naipe envisions connecting Town Squares across different websites, letting users walk to the edge of one site and transport into a neighboring site's square. This would create a network of interconnected spaces reminiscent of early webrings, where websites felt like destinations rather than isolated pages.

Town Square demonstrates how minimal JavaScript can transform static sites into shared spaces, offering bloggers and small publishers a way to foster genuine human connection without building full social platforms.