RandomChat
a video chat application done with Java 21 Virtual threads and web RTC
Install / Use
/learn @thughari/RandomChatREADME
🎥 RandomChat
A lightweight, real-time video chat app that randomly connects two users for peer-to-peer video/audio communication.
Built with:
- ⚙️ Java 21 Virtual Threads
- 🚀 Spring Boot + WebSockets (signaling)
- 📹 WebRTC (video/audio)
- 🌐 Vanilla HTML + JS frontend
🌍 Live Demo here
⚡ Features
- Anonymous 1-to-1 video chat
- Peer-to-peer media via WebRTC
- Fast signaling with WebSockets
- Scalable backend using Java Virtual Threads
🛠️ Run Locally
Backend
cd RandomChat
./mvnw spring-boot:run
Frontend
Open http://localhost:8080 in two browser tabs/devices.
🔧 How It Works
- Users connect via WebSocket to the backend
- Backend matches peers and relays SDP/ICE for negotiation
- WebRTC creates a direct media connection between users
- STUN server is used for NAT traversal
📦 Tech Stack
- Backend: Java 21, Spring Boot, WebSockets, Virtual Threads
- Frontend: HTML, JavaScript, WebRTC
- STUN Server: Google public STUN
🙋♂️ Author
Hari Thatikonda
📫 haribabutatikonda3@gmail.com
🔗 GitHub | LinkedIn
📄 License
MIT — use it freely, improve it collaboratively.
Related Skills
qqbot-channel
343.3kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
99.7k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
343.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
project-overview
FlightPHP Skeleton Project Instructions This document provides guidelines and best practices for structuring and developing a project using the FlightPHP framework. Instructions for AI Coding A
