Skip to content

profullstack/qryptchat-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ” QryptChat

Quantum-Resistant End-to-End Encrypted Messaging

A secure, privacy-focused chat application built with post-quantum cryptography to protect against both classical and quantum computer attacks.

โœจ Features

๐Ÿ›ก๏ธ Quantum-Resistant Security

  • Post-Quantum Cryptography ready for quantum-safe communication
  • End-to-End Encryption with client-side key management
  • Perfect Forward Secrecy with automatic key rotation
  • Zero-Knowledge Architecture - your data stays private

๐Ÿ“ฑ Progressive Web App

  • Cross-Platform: Works on iOS, Android, Desktop, and Web
  • Offline Support: Send messages even without internet
  • Push Notifications: Never miss a message
  • Install Anywhere: Add to home screen on any device

๐Ÿš€ Real-Time Communication & Sync

  • Instant Messaging with WebSocket real-time delivery
  • Cross-Device Sync - seamless experience across all devices
  • Multi-Session Support - stay logged in on multiple devices
  • Typing Indicators to see when others are typing
  • Online Presence to know who's available
  • Message Status with delivery and read receipts

๐Ÿ‘ฅ Social Features

  • Phone Verification via Twilio SMS for secure onboarding
  • Contact Discovery find friends using phone numbers
  • Group Chats up to 100 participants with admin controls
  • Media Sharing with end-to-end encrypted file transfers

๐ŸŒ Accessibility & Internationalization

  • Multi-Language Support - 6 languages (EN, ES, FR, DE, AR, ZH)
  • RTL Support for Arabic and other right-to-left languages
  • Dark/Light Themes with system preference detection
  • Responsive Design optimized for all screen sizes

๐Ÿ—๏ธ Tech Stack

Layer Technology Purpose
Frontend SvelteKit 5 + Svelte 5 Reactive UI framework
Styling Vanilla CSS + Custom Properties Modern design system
Database Supabase PostgreSQL User data and messages
Real-time Supabase Realtime Live message delivery & sync
Auth Custom SMS + Supabase Phone-based verification
SMS Twilio SMS verification service
Crypto Post-Quantum Ready Future-proof encryption
PWA Vite PWA Plugin Offline-first experience
I18n Custom Store Multi-language support

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 20+ (recommended)
  • pnpm (recommended) or npm
  • Supabase account
  • Twilio account (for SMS verification)

Installation

# Clone the repository
git clone https://github.com/yourusername/qryptchat.git
cd qryptchat

# Install dependencies
pnpm install

# Set up environment variables
cp .env.example .env
# Edit .env with your Supabase and Twilio credentials

# Run Supabase migrations (if using local Supabase)
pnpx supabase db reset

# Start development server
pnpm dev

The app will be available at http://localhost:8080 (or the PORT specified in your .env file).

Environment Variables

# Development
PORT=8080

# Supabase
PUBLIC_SUPABASE_URL=your_supabase_url
PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key

# Twilio (for SMS verification)
TWILIO_ACCOUNT_SID=your_twilio_sid
TWILIO_AUTH_TOKEN=your_twilio_token
TWILIO_PHONE_NUMBER=your_twilio_phone

# App
PUBLIC_APP_URL=http://localhost:8080

๐Ÿ”’ Security Model

QryptChat implements a zero-knowledge architecture where:

  • ๐Ÿ” All encryption happens client-side before data leaves your device
  • ๐Ÿ—๏ธ Private keys never leave your device and are stored encrypted
  • ๐Ÿ”„ Perfect forward secrecy ensures past messages stay secure
  • ๐Ÿ›ก๏ธ Quantum-resistant algorithms protect against future quantum computers
  • ๐Ÿ•ต๏ธ Metadata protection minimizes information leakage

๐Ÿ“š Documentation

๐Ÿงช Development

# Start development server
pnpm dev

# Run tests
pnpm test

# Run tests with UI
pnpm test:ui

# Build for production
pnpm build

# Preview production build
pnpm preview

# Lint code
pnpm lint

# Format code
pnpm format

๐Ÿ›ฃ๏ธ Roadmap

โœ… Completed (v0.1.0)

  • ๐Ÿ—๏ธ Core Infrastructure - SvelteKit + Vite + PWA setup
  • ๐ŸŽจ Modern UI/UX - Responsive design with dark/light themes
  • ๐ŸŒ Internationalization - 6 languages with RTL support
  • ๐Ÿ“ฑ Progressive Web App - Offline-first with service worker
  • ๐Ÿ” Authentication System - Phone-based SMS verification
  • ๐Ÿ—„๏ธ Database Schema - Complete Supabase setup with RLS
  • ๐Ÿ”„ Real-time Foundation - WebSocket infrastructure ready

๐Ÿšง In Progress (v0.2.0)

  • ๐Ÿ’ฌ Core Messaging - Send/receive messages with encryption
  • ๐Ÿ”„ Cross-Device Sync - Real-time synchronization across devices
  • ๐Ÿ‘ฅ Contact System - Add and manage contacts
  • ๐Ÿ“Š Presence System - Online/offline status indicators

๐ŸŽฏ Upcoming (v0.3.0+)

  • ๐Ÿ‘ฅ Group Chats - Multi-user conversations
  • ๐Ÿ“ File Sharing - Encrypted media and document sharing
  • ๐Ÿ” Message Search - Full-text search across conversations
  • ๐Ÿ”” Push Notifications - Cross-platform notification system
  • ๐ŸŽฅ Voice & Video - End-to-end encrypted calls
  • ๐Ÿ” Advanced Encryption - Post-quantum cryptography implementation

๐Ÿ”ฎ Future Vision

  • ๐Ÿค– AI Integration - Smart message suggestions and translation
  • ๐ŸŒ Federation - Connect with other secure messaging platforms
  • ๐Ÿ“ˆ Analytics - Privacy-preserving usage insights
  • ๐ŸŽจ Customization - Custom themes and chat backgrounds

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


Built with โค๏ธ for a quantum-safe future