Skip to content

Chat app with real-time messaging, secure video calls (E2EE), and integrated deepfake detection for video stream validation.

Notifications You must be signed in to change notification settings

SonHoang2/TrueSecure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

344 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrueSecure

Language Vietnamese

Overview

This real-time messaging application enables users to seamlessly connect with friends, family, and colleagues through instant text messaging, group chats, voice calls, and video calls. Designed for fast and secure communication, it leverages Socket.IO for real-time messaging, WebRTC for peer-to-peer media streaming, and end-to-end encryption (E2EE) to protect user privacy. The system also integrates deepfake detection to analyze video streams in real time, enhancing security and trust during video communication.

Architectural Pattern

  • Microservices: The system is designed using a microservices architecture, allowing independent deployment, scalability, and maintainability of each service.

Technologies

  • Front End: React, HTML, CSS, Tailwindcss, Typescript
  • Back End: NodeJS, NestJS, Typescript, Python, FastAPI
  • Deepfake Detection: OpenCV, PyTorch, Facenet-PyTorch, Grad-CAM
  • Database: PortgresSQL, Redis, TypeORM
  • Real-Time Communication: Socket.io, WebRTC
  • Messaging Queue: RabbitMQ

Features

  • User Authentication: Users can securely sign up, log in, and log out using either email and password or social accounts.
  • Real-Time Messaging: Users can send messages in private and group chats.
  • Voice & Video Calls: Supports real-time audio and video communication.
  • Token Management: Automatically refreshes access tokens upon expiration to enhance user experience.
  • Deepfake Detection: Analyzes video streams in real time to detect deepfakes using deep learning models, helping prevent scam calls.
  • Notifications: Real-time notifications for events like new messages, calls, and status updates.
  • User-friendly Interface: Intuitive and easy-to-use design.
  • Group Management: Create and manage group chats with administrative options.
  • Cloud Storage: Upload and share files with secure cloud storage capabilities using Cloudinary.
  • OAuth Support: Login with Google, Facebook, and GitHub accounts.
  • WebRTC Support: Real-time communication with video and audio streaming capabilities.
  • WebSocket Support: Real-time connection to the server for instant notifications and updates.

Security

  • End-to-End Encryption: Messages are fully encrypted based on the Signal Protocol to ensure the highest level of security, allowing only intended recipients to read them.
  • Secure Authentication: Passwords are securely hashed and salted to prevent unauthorized access.
  • Robust Authorization: Refresh and access tokens are stored in cookies with HttpOnly, Secure, and SameSite flags to mitigate XSS, MITM, and CSRF attacks.
  • HTTPS Enforcement: All data transmissions are secured using HTTPS.

Author

Hi, I'm the creator and maintainer of this project. I'm passionate about software development and always eager to improve. If you find this project helpful, please consider giving it a star ⭐ – your support means a lot!

If you encounter any bugs or issues, feel free to report them via email. I appreciate your feedback!

📧 Email: naruto3285@gmail.com

About

Chat app with real-time messaging, secure video calls (E2EE), and integrated deepfake detection for video stream validation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published