Building an Ephemeral Anonymous Chat App with Next.js, WebRTC, and Socket.IO
dev.to·5d·
Discuss: DEV
📹WebRTC
Preview
Report Post

Hello 👋 I’d be happy if you check out my new mini project: website Ephem Chat = Ephemeral Chat = temporary conversations

In short, the app flow works like this: you enter with just a name. You can choose whether or not to save your account. If you enable this option, the next time you visit the website you can continue with the same user; otherwise, your account exists only for that session.

In addition, a token is generated for each user, which you can save and later retrieve if you want. That said, if you don’t log into your account for 30 days, your session gets deleted. The same logic applies to “enclaves,” which I’ll explain next.

This authentication and account system is honestly very loose and informal—but that’s exactly how I wanted it t…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help