Small browser chat client for Open OSCAR Server with a Node.js/Express backend and basic AIM/ICQ messaging.
Find a file
2026-12-03 11:09:42 -05:00
public Hide invites card until invite; slow pulse until handled 2026-12-02 23:21:03 -05:00
src Initial oscar-web: Web API + TOC chat client 2026-12-02 22:54:30 -05:00
.env.example Initial oscar-web: Web API + TOC chat client 2026-12-02 22:54:30 -05:00
.gitignore Initial oscar-web: Web API + TOC chat client 2026-12-02 22:54:30 -05:00
HANDOFF.md UI overhaul: dark theme, tabs, sidebar cards, message style toggle 2026-12-02 23:03:23 -05:00
package-lock.json Initial oscar-web: Web API + TOC chat client 2026-12-02 22:54:30 -05:00
package.json Initial oscar-web: Web API + TOC chat client 2026-12-02 22:54:30 -05:00
planning.md UI overhaul: dark theme, tabs, sidebar cards, message style toggle 2026-12-02 23:03:23 -05:00
README.md README: remove redundant sections 2026-12-03 11:09:42 -05:00
TOC-learning.md Initial oscar-web: Web API + TOC chat client 2026-12-02 22:54:30 -05:00

Web OSCAR Chat

A small browser chat client for Open OSCAR Server. It’s a Node/Express app with a plain HTML/CSS/JS frontend for basic AIM/ICQ-style messaging.

Supported

  • Sign in with an existing OSCAR screen name/password
  • 1:1 instant messages
  • Buddy list/presence (when provided by server/Web API)
  • Add buddy
  • Group chat join/send/leave via TOC
  • Chat invites (Join/Ignore) via TOC
  • Real-time updates via SSE
  • TOC connection status indicator

Not supported

OSCAR has many features this project does not implement yet, including: offline messages, file transfer, buddy icons, away/profile/status messages, typing notifications, blocking/warning management, chat moderation/admin, account registration, encryption, and full user directory/search.

Requirements

  • Node.js 20.19+
  • Running Open OSCAR Server with Web API and/or TOC access

Setup

npm install
cp .env.example .env
# edit .env
npm run dev
# or: npm start

Open http://localhost:3000 (or your configured PORT).

Configuration

Variable Description Default
WEBAPI_HOST Web API host 127.0.0.1
WEBAPI_PORT Web API port 8081
TOC_HOST TOC host for IM/chat/invites unset
TOC_PORT TOC port 9898
MANAGEMENT_HOST Management API host (optional user search) 127.0.0.1
MANAGEMENT_PORT Management API port 8080
PORT App listen port 3000
LISTEN_HOST App bind host 127.0.0.1
DEV_ID Optional Web API devId/key unset
SESSION_SECRET Cookie signing secret required

Notes

  • Group chat/invites require a working TOC connection.
  • User search needs Management API access; otherwise open IMs by screen name.
  • Sessions are in memory (restart logs users out).
  • Review security/hardening before exposing publicly.