Skip to content
项目

关于

Kandan 是 HipChat 的开源替代方案

效率与自动化

这些数字如何统计

可以做什么

  • Real-time messaging via WebSockets
  • Multiple channels
  • User authentication (register/login/JWT)
  • Admin controls (user approval, suspension, channel management)

实测星标增长

24小时
0
7天
0
15天
-1
1个月
-2

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Kandan Core

Modern revival of Kandan — a self-hosted open-source team chat app. Built on Angular 21 + Express/Node/TypeScript with real-time messaging via Socket.io.

Status: Early development. Backend scaffolded, Angular client coming next.

Stack

Layer Technology
Frontend Angular 21 + TailwindCSS
Backend Express 5 + TypeScript
Database SQLite via Drizzle ORM
Real-time Socket.io
Auth JWT + bcrypt

Features (planned)

  • Real-time messaging via WebSockets
  • Multiple channels
  • User authentication (register/login/JWT)
  • Admin controls (user approval, suspension, channel management)
  • File attachments
  • /me emote commands
  • Typing indicators
  • Message history with pagination
  • Dark/light mode

Getting Started

git clone [email protected]:DamageLabs/kandan-core.git
cd kandan-core

# Server
cd server
cp ../.env.example .env   # edit as needed
npm install
npm run dev               # http://localhost:3200

API

Endpoint Method Description
/api/v1/auth/register POST Register new user
/api/v1/auth/login POST Login, returns JWT
/api/v1/auth/me GET Current user
/api/v1/channels GET List channels
/api/v1/channels/:id GET Channel + recent messages
/api/v1/channels POST Create channel (admin)
/api/v1/messages/channel/:id GET Paginated message history
/api/v1/users GET List users (admin)

Socket.io Events

Event Direction Description
channel:join client → server Join a channel room
channel:leave client → server Leave a channel room
message:send client → server Send a message
message:new server → client New message broadcast
typing:start client → server User started typing
typing:stop client → server User stopped typing
user:connected server → client User joined channel
user:disconnected server → client User left channel

License

MIT

探索相关项目

加载中…