SLOVAKIA BASED // DOCS

Slovakia Based is a lightweight realtime chat platform with public category rooms and end-to-end encrypted invite-only DIRECT rooms.

The platform works in a web browser and as an Android application.

PUBLIC ROOMS

Current categories:

Users choose a nickname and enter a room without creating an account. Messages are delivered in realtime to users connected to that room.

CHAT

LOCAL HISTORY

Chat history is stored locally in the browser or Android WebView using localStorage. Each room has its own local history.

Server-side history: NO
Client-side local history: YES

Local history is stored only on the current device.

DIRECT ROOMS

DIRECT creates an unlisted private room identified by a random 128-bit token.

https://slovakia-based.com/?direct=<token>#key=<encryption-key>

DIRECT local message history is currently stored locally as plaintext. Encryption of local DIRECT history is planned.

DIRECT MUSIC

Shared music can be played for everyone connected to the same DIRECT room.

PLAY A SONG

/song <YouTube URL>

The selected YouTube video temporarily replaces the currently selected radio station for users in the DIRECT room.

RETURN TO RADIO

/radio

Shared music stops and the user's own selected radio station is restored. Leaving the DIRECT room also restores the user's own radio station.

YouTube URLs are currently supported directly. Song search by name, queue support, skip commands and more precise playback synchronization are planned.

RADIO

Slovakia Based contains an integrated YouTube-based radio player.

Current stations:

The radio supports:

DIRECT shared music temporarily replaces the normal radio playlist. After shared music ends, the user's selected station can be restored.

VOICE / VIDEO

DIRECT rooms support private voice and video calls using WebRTC.

TURN fallback for restrictive networks is not implemented yet.

ARCHITECTURE

Web browser
      |
Android WebView
      |
Future terminal client
      |
      v
WebSocket / HTTPS
      |
      v
Cloudflare Worker
      |
      v
CategoryRoom Durable Object
      |
      +-- presence
      +-- public room broadcast
      +-- encrypted DIRECT relay
      +-- encrypted WebRTC signaling

Public categories use separate CategoryRoom Durable Objects. DIRECT rooms use categories in the form:

direct-<random-token>

Cloudflare does not receive the DIRECT encryption key.

ANDROID

The Android application is a WebView client for:

https://slovakia-based.com

External links are opened by Android in the appropriate browser or application instead of replacing the active Slovakia Based chat.

Native Android push notifications are available for public and DIRECT room messages while the Android app is in the background.