Public
Like
Txtmoji
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
index.ts
https://abdullah678--42d312f63b9511f0ad179e149126039e.web.val.run
Hide your text messages with emojis! ✨
- 🔐 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
- Enter your text message and a password
- Click "🔐 Encrypt" to convert it to emojis
- Share the emoji sequence with someone
- They can decrypt it using the same password
- Frontend: React with TypeScript
- Backend: Hono API framework
- Styling: TailwindCSS
- Encryption: Custom emoji mapping with password salting
├── 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
POST /api/encrypt
- Encrypt text to emojisPOST /api/decrypt
- Decrypt emojis to textGET /
- Serve the main applicationGET /about
- About page
- 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