Local network text messaging with Morse code.
dotnet runOpen http://localhost:5050 in two browser tabs.
- Enter your name
- Click on someone nearby to connect
- They get a popup to accept/reject
- Type and send messages
- Click Morse code to hear it
Done.un
dotnet runServer starts on http://localhost:5050
To access from another device on the same network, use the Network URL shown in the terminal output.
All WebSocket messages are JSON:
{
"type": "SEND_TEXT",
"text": "hello",
"morse": ".... . .-.. .-.. ---",
"username": "alice",
"code": "1234"
}- User joins → Server assigns unique 4-digit code
- User registers with discovery service (re-registers every 10s)
- App scans for nearby peers every 2 seconds
- User clicks peer → Sends CONNECTION_REQUEST
- Peer gets modal to accept/reject
- If accepted → Both connected, can exchange messages
- When closing → Automatically unregisters from discovery
- Dot: 100ms
- Dash: 300ms
- Gap between symbols: 100ms
- Gap between letters: 300ms
- Gap between words: 700ms
Frequency: 800 Hz
- Text only (no images/files)
- One connection at a time per user
- No persistent history
- Local network only
- No authentication/encryption
- 4-digit codes not user-friendly for manual entry
- Speech-to-text input
- Flash animation on incoming messages
- Multiple simultaneous connections
- File sharing with Morse animation
- QR code for connection sharing
- Learn mode with timing control
- Device persistence with local storage