logoalt Hacker News

Show HN: TownSquare, a tiny presence layer for websites

220 pointsby cauenapieryesterday at 11:55 AM127 commentsview on HN

https://cauenapier.com/blog/townsquare_release/

https://cauenapier.com/blog/townsquare/


Comments

purple-leafytoday at 3:32 AM

Moderation moderation moderation . It’s a big problem

I have similar moderation concerns in my browser game/engine but I only ban offensive slurs not swears, but I give no visual affordance that the word is not allowed

The only surface where players see the input content is in a share card, and if they finish a game and get to the share card they will find the offensive word has been REDACTED lol

So it’s a long feedback loop just to find out your hijinks lead nowhere

show 2 replies
lambdaonetoday at 12:43 AM

I just took a look at the page's own 'town square'. At the moment, it's largely full of people saying offensive things for the sake of it.

show 4 replies
swiftcodertoday at 6:52 AM

Love it, also love that there's one HN visitor just hanging out typing "dick and balls" over and over again. That's unmoderated anonymous public squares for you

show 1 reply
justeoghantoday at 12:08 PM

Oh how fun. Sadly I went there and someone has botted it with “dick and balls” constantly being spammed by multiple people. But that’s to be expected when something gets attention. On other sites I can see this being nice addition. And a great concept.

thatguysaguytoday at 4:40 AM

The contrast between the example screenshots and the standard internet behavior in the live demo is hilarious

show 1 reply
TheAtomictoday at 1:31 PM

This is really cool. Is there anyway to keep some people off my small part of the webverse?

Having read some of the comments, I'd happily use if there was a way to blast (prefarably with a Doom shotgun) some of the miscreants from appearing, but only on my site, and maybe some filters (slurs, etc) that auto-ban them that I can set. Other people could moderate as they will but I'm kind of tired of the toxic people ruining everything.

furyofantarestoday at 12:42 PM

I'm interested in trying a moderation scheme that puts the power in the receiving client, with opinionated defaults. Let the client filter for itself, mute users for itself, and make users invisible to itself. Have default settings that make sense for the app, but let the user override them.

Use a cheap purpose-built LLM like OpenAI's free moderation endpoint to classify the text and send the original text plus the classification to clients, and let clients choose what to do with it, with opinionated defaults appropriate to the app.

Maybe you still need to identify persistent bad actors rather than acting only on content. But still, allow clients to decide what to do with that information.

I suppose my thinking is that strong default automatic moderation that's invisible to offenders is a requirement for a project like this to be able to offer a welcoming experience to users, but putting the power in an LLM and fixed filter lists feels very wrong. So my thought is to use those things to give the client power. But maybe that makes no difference if nobody changes settings away from defaults anyway.

show 1 reply
AstroJetsontoday at 3:43 PM

I messed around some, talked to two people. Watched the birds fly.

I did the "go to next town" It worked, but then I got to (https://emilesilvis.com/) and got stuck. The Town Square is in 1/2 the page, so you can't get to the two ends to be able to go to the next town.

freakynittoday at 3:08 AM

I made something similar last year: A p2p chat popup (that sits on bottom right of the page as a bubble) that allows all visitors to chat with each other. It had simple keyword based moderation in-built (can be easily bypassed though).

Was planning to add github oauth to get a known identity and persistent messaging so visitors can chat with each other across sites.

Instead of a webmaster adding script to their site, it was a browser extension.

The intent was two folds:

1. Get to know other people having similar interests,

2. Try something on the lines of a decentralized chat/messaging system.

show 1 reply
afpxtoday at 2:29 AM

There was a thing from the 90s kind of like this called Third Voice. It was a cool idea, but I remember there being a lot of backlash from brands.

https://en.wikipedia.org/wiki/Third_Voice

figberttoday at 4:03 AM

Matt Webb made a version of this (and wrote about it) a while back—Cursor Party: https://interconnected.org/home/2024/09/05/cursor-party

I contemplated implementing it on my site for a while but decided I didn’t want to add the JavaScript. Still find it a really cute concept.

dawietoday at 4:28 AM

I love the idea, but it’s a real shame how people are using it. I wonder if AI can moderate it for offensiveness and spam prevention

show 1 reply
simondanerdtoday at 2:53 AM

Love the idea. Could use some filters and stale (sleeping) clients could get removed quicker.

Also, it seemed to be disconnecting quite often, maybe a hug of death thing.

show 1 reply
monkeymeisteryesterday at 11:59 PM

Neat idea! It's simple but very effective - and I really enjoy the detail of the benches and the tree. Very nice.

I wouldn't add it to any of my sites due to the unmoderated nature of it - seeing some fairly unsavory things in your demo - but that's just a little tweak, I'm sure!

show 3 replies
thih9today at 4:59 AM

> A problem repeatedly occurred on https://cauenapier.com/

People are flooding the channel with messages, causing the widget to use too many resources on ios; and the website is being endlessly reloaded.

Any idea how to fix this? Bonus points for user friendly non technical solutions, ie is there a way to design an online social space where people want to collaborate and their first thought isn’t trolling?

show 1 reply
bensyversontoday at 2:47 PM

In case you wanted a comment section but less civilized

loloquwowndueoyesterday at 11:55 PM

> NOTE: This project has been mostly vibe-coded

I deeply appreciate the honesty here. I’ll pass based on the vibecodedness of it but perhaps it won’t be a dealbreaker for others.

show 2 replies
hallman76today at 2:22 AM

I've always wondered if we could find a way to add content website's content without it turning into a shitshow. MLS listings / Zillow is an interesting use-case. A realtor might describe something as "sun-filled" but omit that the home is next to a 24/7 dump truck repair warehouse.

aetherspawntoday at 4:11 AM

Make a MapleStory-like one where each website can design their own room, and you can kill mobs and bosses and stuff. It would be neat if the characters and items persisted between.

Edit: a super smash brothers-like would be fun too. Maybe the page itself could be the platforms.

oraziorillotoday at 12:49 AM

I love the idea! The next step is to add role play games in town squares.

show 1 reply
anirbanheretoday at 8:28 AM

This is so cool, gonna add this to my game website. This can easily help to get me multiplayer matching in the game.

show 1 reply
pistoriusptoday at 6:58 AM

Built something like this for the v1.0 launch of RedwoodSDK in March; but it's a popularity graph (like the time scrubber on YouTube). I figured that it could be useful to myself, and others, to aggregate the information that people find most useful.

https://rwsdk.com

tonyricetoday at 4:15 AM

rather interesting, except the spamming of the inappropriate messages.

patcontoday at 1:11 AM

I've been playing with presence too...! I def am thinking about using it more for real-time motion communication (which is largely missing from web) rather than text (which is very overrepresented, and where most moderation comes in).

I was toying with the idea of making a little crowd representation sticky at the bottom, like watching a screen together :)

Regardless, I love concepts like this. Thanks!

zdc1today at 3:45 AM

This was actually a lot of fun. Not as much trolling as I anticipated. Surprising amount of normal chit chat.

show 1 reply
ameontoday at 3:24 AM

this is a very clever concept. I'll keep it in mind for the future - when my app site has persistent amount of visitors. Are there some rules/settings for stop words to prevent some types of abuse? Or is it planned?

show 1 reply
Procrastestoday at 3:20 AM

This is great! Thank you for sharing it. Fun to use and already customizable.

vitorbaptistaayesterday at 11:45 PM

This is amazing! Congratulations on the launch. Repository link somewhere?

show 2 replies
aweihertoday at 11:03 AM

I love the atmosphere with the benches and the tree

zhxiaoliangtoday at 2:01 AM

I enjoyed the design.

show 1 reply
ArcaneMoosetoday at 2:32 AM

Really cool but should limit # of people shown when there are too many. Currently it gets really laggy

Jeff9Jamestoday at 11:57 AM

yay i just added it to my site signupdoggy.pages.dev thanks so much

winddudetoday at 2:40 AM

interesting. i'm appearing as a grey guy not the orange guy like your blog says

show 1 reply
amatechatoday at 1:20 AM

Oh what the heck? That's super cool! Awesome idea. Possible future enhancement: some basic day/night (or even weather?) design elements that match the timezone of the person whose site it is? Still, doesn't even need it, it's really cool as-is!

I could see it being used as some avenue for saying toxic stuff, so I'm suddenly feeling like the only allowed actions should be ones that can never be harmful (like text interactions are just choosing from a pre-set list)..

show 2 replies
msafi04today at 7:13 AM

I like the idea! congrats!

show 1 reply
blooalientoday at 4:52 AM

Neat idea, but there seems to be zero defense against spammer scum. One jerk with a bot script seems able to make it totally useless for everyone else there.

show 1 reply
mirkofrtoday at 1:49 AM

Maybe adding rooms will be a good move

jedbergtoday at 5:24 AM

In the "this is why we can't have nice things" category, the first thing I saw was someone calling themselves "dick and balls". :(

show 1 reply
VaradD09today at 7:14 AM

Looks good!

StahlGuotoday at 9:47 AM

what a cute project

melvinczykyesterday at 11:57 PM

I like the idea of this like a town square for websites. Nice job

ljcocotoday at 5:11 AM

cool idea!

lellowtoday at 12:28 AM

haha nice project! I stayed there for a couple of minutes and had such a good time!

iJohnDoetoday at 6:39 AM

This is actually really cool. We’ve needed this concept everywhere in technology. Something like this would have prevented the isolation and loneliness technology and the internet has created.

I don’t know all the answers, but joining people together, and reminders there are real people still there as we’ve moved from the physical world to the virtual world is an important part of the progression. In 50-100 years we will either have this epiphany or we will fail miserably.

mkltoday at 12:40 AM

Not really a square if it's 1D - everyone ends up on top of each other.

show 1 reply
cyanydeezyesterday at 11:59 PM

would make more sense with webrtc.

sourcegriftyesterday at 11:47 PM

First saw this on lobste.rs . Great idea, perhaps allow for a little customisation? I'd like minimal animation, just a counter of present people and a green dot that vibrates when someone is typing. Clicking either opens a chat box with last 20 minutes.

bschmidt1000today at 6:00 PM

[dead]

siriuslvtoday at 7:29 AM

[flagged]