Dil Se Dil Tak
An anonymous social platform with pay-per-second voice calls, free chat, reels, and stories — where any user can activate a call button and earn from conversations.
TECHNOLOGY



Overview.
Dil Se Dil Tak lets people talk, chat, and connect with strangers — anonymously. Every user gets a generated handle and avatar; real names and birth dates are stored privately and never shown.
The core is live one-to-one voice calling billed per second from a prepaid wallet, with free minutes for new users. Around it sits a full social layer: a community feed, short video reels, 24-hour stories, and free text chat.
Any user can pay a one-time activation fee to get a call button. Once approved, others can call them, and they earn per minute minus a platform commission — withdrawable to their bank or UPI. Four apps make it work: the user app, a staff portal for receiving calls, an admin panel, and a real-time backend.
4 apps, one system.
User Web App
Next.js 16 · React 19 · PWA
Feed, reels, stories, chat, live voice calls, and wallet — installable as an app.
Staff Portal
React · Vite · Agora
Where approved staff go online, receive calls, chat with users, and withdraw earnings.
Admin Panel
React · Vite
Operations, payments, moderation, staff approvals, and platform settings.
Real-time Backend
Express 5 · Socket.IO · MongoDB · Redis
REST API, real-time server, per-second billing engine, and scheduled jobs.
Every module, explained.
Live Voice Calls
Pay-per-second calling with a live cost meter on both sides.
- Agora voice with ringtone and mic visualizer
- Live timer showing cost, balance, and free seconds
- Low-balance warning and automatic hang-up
- Call recording, ratings, and written reviews
Social Feed
A community layer that keeps people coming back between calls.
- Posts with up to four images, likes, and comments
- Vertical reels player — videos up to 60 seconds
- 24-hour stories with viewer tracking
- Public and private posts on every profile
Chat
Free real-time messaging between users and staff.
- Inbox with unread counts and typing indicators
- Image messages
- Floating chat button across the app
Wallet & Payments
Prepaid wallet with two ways to recharge.
- Razorpay checkout with verified webhooks
- Manual UPI QR flow with admin-verified UTR numbers
- UPI codes rotate automatically past a collection limit
- Full transaction history
Earn Program & Staff Portal
Turns users into earners with a paid, admin-approved activation.
- Activation flow — payment, review, approval
- Online / Busy / Offline status and incoming-call screen
- Earnings dashboard and weekly stats
- Withdrawals to bank or UPI
Admin Panel
Complete control over money, people, and content.
- Live calls with recordings and force-end
- Staff approvals, per-minute pricing, commissions
- UPI approvals, withdrawals, and commission reports
- AI-assisted post moderation and reports queue
- Platform settings — fees, free minutes, data retention
Roles & access.
- 01User — feed, chat, calls, wallet
- 02Staff — approved users who receive paid calls
- 03Admin — full platform control
Connected services.
Agora
Real-time voice calling
Socket.IO
Live call state, typing, and chat rooms
Razorpay
Wallet recharges and activation fees
Firebase Cloud Messaging
Push notifications for calls and activity
Cloudinary
Images, reels, stories, and call recordings
OpenAI Moderation
Automatic content checks on posts
Google Sign-In
Alternative to phone OTP login
Under the hood.
Per-second billing engine
Live call state lives in Redis and ticks every second to both sides — cost is computed to the paisa, free minutes are split from paid time, and the wallet is charged once at the end.
Self-healing calls
A job sweeps every minute: unanswered calls become missed with a push alert, and calls whose heartbeat stopped are force-ended so no one is billed for a dead line.
Money-safe wallet
Every credit and debit runs in a database transaction recording balance before and after; UPI approvals are atomic, and rejected withdrawals refund automatically.
Built for scale
Likes counted in Redis, feed and reels pages cached, cache failures handled gracefully — the app keeps working even if Redis goes down.
Privacy by default
Anonymous public identities, private fields hidden from every API response, and admin-set retention that cleans up old chats and recordings.
The stack.
USER APP
STAFF & ADMIN
BACKEND
SERVICES
