Txtmoji - Emoji Encryption Website

Hide your text messages with emojis! ✨

Features

  • šŸ” Text-to-Emoji Encryption: Convert plain text into emoji sequences using password-based encryption
  • šŸ”“ Emoji-to-Text Decryption: Decode emoji sequences back to original text with the correct password
  • šŸ“± Mobile Responsive: Works perfectly on all devices
  • šŸŽØ Beautiful UI: Modern design with pastel purple theme and floating cards
  • šŸŒ™ Dark Mode: Toggle between light and dark themes
  • šŸ“‹ Copy to Clipboard: Easy copying with success animations
  • šŸ”’ Privacy First: No messages or passwords are stored

How It Works

  1. Enter your text message and a password
  2. Click "šŸ” Encrypt" to convert it to emojis
  3. Share the emoji sequence with someone
  4. They can decrypt it using the same password

Tech Stack

  • Frontend: React with TypeScript
  • Backend: Hono API framework
  • Styling: TailwindCSS
  • Encryption: Custom emoji mapping with password salting

Project Structure

ā”œā”€ā”€ backend/
│   ā”œā”€ā”€ index.ts           # Main API server
│   └── encryption.ts      # Encryption/decryption logic
ā”œā”€ā”€ frontend/
│   ā”œā”€ā”€ index.html         # Main HTML template
│   ā”œā”€ā”€ index.tsx          # React app entry point
│   ā”œā”€ā”€ components/        # React components
│   └── style.css          # Custom styles
└── shared/
    └── types.ts           # Shared TypeScript types

API Endpoints

  • POST /api/encrypt - Encrypt text to emojis
  • POST /api/decrypt - Decrypt emojis to text
  • GET / - Serve the main application
  • GET /about - About page

Privacy

  • No messages or passwords are stored on the server
  • All encryption/decryption happens server-side but data is not persisted
  • Use strong passwords for better security