Talky
anonymous chat app using websockets
The problem Talky solves
Talky : Anonymously Connect, Instantly Engage
Talky is a sleek, real-time chatting platform that puts privacy and spontaneity first. It enables users to spark or join conversations without any accounts or identifying information-making it ideal for anonymous chats in a secure, frictionless environment.
Who Can Benefit?
Event Organizers & Virtual Hosts
- Quickly open up group discussions or Q&A sessions : no signups, no technical friction.
Educators & Facilitators
- Use ephemeral rooms for breakout discussions or instant polls : encouraging participation while preserving anonymity.
Privacy-Conscious Users
- Chat globally, share ideas, or just converse : all without tracking, data retention, or login hassles.
What Makes Talky Stand Out?
Features
- True Anonymity for Everyone
- Fast & Global Reach
- Real-Time Messaging - Powered by WebSockets
Technical Backbone
- Frontend: React + Vite + TypeScript - UI built for performance.
- Backend: Node.js + Express + TypeScript
- Real-Time Engine: WebSockets - smooth, low-latency communication channels.
- Deployment: Fully deployed via Render
How Talky Solves Real Problems
- Reduces Friction : Attendees or participants can join instantly, with zero onboarding.
- Preserves Privacy : Perfect for sensitive discussions, or when users simply prefer to stay anonymous.
- Boosts Engagement : The simplicity and anonymity invite more open, real-time interactions.
- Versatile Use Cases : Whether it's brainstorming, light-hearted chat, anonymous polling, or audience feedback, Talky adapts to your need.
In summary, Talky is a modern, anonymous chatting platform that delivers quickly-accessible, real-time communication without compromising privacy or user experience. It’s ideal for community builders, educators, event hosts, or anyone looking to foster low-barrier, engaging connections. As of now no Database is being used to maintain the anonymity of each end user.
Challenges I ran into
Challenge I Faced
-
One tricky issue I faced during the development of my web app was implementing real-time messaging with WebSockets. At first, messages weren’t always showing up instantly on every client, sometimes they would lag, or only appear after refreshing the page. This made the chat feel unreliable and broke the flow of conversation.
-
I was trying to assign a new chat color to all new connected user, but for that I was using an array with limited hex codes.
How I Solved It
-
After debugging, I found that the issue was with how the server handled socket events. Because certain incidents weren't being properly handled, clients weren't always informed.
-
I replaced the static array with a new function which can randomly generate a new hex code for each new user, and also checks that the old users should not have that same color.
New Features:
- Every connected user will have their custom color.
- Input are auto-focused for better UX.
- Messages will not overflow.
Upcoming updated :
- Abuse and Slang will be controlled using AI integrations to maintain the decorum of the chat.
- AI will auto ban or kick the user continuously using slang or trying to irritate others.
- Planning to shift the backend to RUST for better performance and enhance the safety and maintain the anonymity of each user.
Technologies used