Skip to content

zhizhishuo/siliao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐Ÿ’ฌ Siliao โ€” Team Chat System

A full-featured internal team chat system built with React + Express + Socket.IO

ไธ€ๅฅ—ๅŠŸ่ƒฝๅฎŒๆ•ด็š„ๅ†…้ƒจๅ›ข้˜Ÿ่Šๅคฉ็ณป็ปŸ๏ผŒๅŸบไบŽ React + Express + Socket.IO ๆž„ๅปบ

MIT License React Express Socket.IO Vite PRs Welcome

Quick Start ยท Features ยท Contributing


Why / ไธบไป€ไนˆ

Internal teams need a simple, self-hosted chat tool that works out of the box โ€” without relying on third-party SaaS or complex infrastructure. Siliao provides private messaging, group channels, file sharing, search, notifications, and admin controls in a single deployable package.

ๅ†…้ƒจๅ›ข้˜Ÿ้œ€่ฆไธ€ไธชๅผ€็ฎฑๅณ็”จใ€ๅฏ่‡ชๆ‰˜็ฎก็š„่Šๅคฉๅทฅๅ…ท๏ผŒไธไพ่ต–็ฌฌไธ‰ๆ–น SaaS ๆˆ–ๅคๆ‚ๅŸบ็ก€่ฎพๆ–ฝใ€‚Siliao ๅœจไธ€ไธชๅฏ้ƒจ็ฝฒ็š„ๅŒ…้‡Œๆไพ›ไบ†็ง่Šใ€็พค่Šใ€ๆ–‡ไปถๅ…ฑไบซใ€ๆœ็ดขใ€้€š็Ÿฅๅ’Œ็ฎก็†ๅ‘˜ๅŽๅฐใ€‚

Features / ็‰นๆ€ง

  • ๐Ÿ” Login โ€” Username/password authentication with JWT
  • ๐Ÿ’ฌ Direct Messages โ€” One-on-one private chat with real-time sync
  • ๐Ÿ‘ฅ Group Channels โ€” Create channels, invite members, manage membership
  • ๐Ÿ“Ž File Upload โ€” Share files/images up to 10MB per message
  • ๐Ÿ” Global Search โ€” Search across all private and group messages
  • ๐Ÿ”” Unread Counts โ€” Persistent per-thread unread badges + notification center
  • โ†ฉ๏ธ Message Recall โ€” Recall your own messages (syncs to all participants)
  • ๐Ÿ‘‘ Admin Console โ€” System overview, user role management, channel deletion
  • ๐Ÿ“ฑ Responsive โ€” Works on desktop and mobile browsers
  • โšก Real-time โ€” Socket.IO powered instant message delivery
  • ๐ŸŽจ Polished UI โ€” Lucide icons, glass morphism, Slack/Linear-inspired layout

Quick Start / ๅฟซ้€Ÿๅผ€ๅง‹

# Clone
git clone https://github.com/zhizhishuo/siliao.git
cd siliao

# Install
npm install

# Run (starts both frontend and backend)
npm run dev

After startup, open the URL shown in terminal (default port 5173 for frontend, 3001 for backend API).

ๅฏๅŠจๅŽ๏ผŒๅœจ็ปˆ็ซฏไธญๆŸฅ็œ‹ๆ˜พ็คบ็š„่ฎฟ้—ฎๅœฐๅ€๏ผˆๅ‰็ซฏ้ป˜่ฎค็ซฏๅฃ 5173๏ผŒๅŽ็ซฏ API ้ป˜่ฎค็ซฏๅฃ 3001๏ผ‰ใ€‚

Demo Accounts / ๆผ”็คบ่ดฆๅท

All passwords are password123:

Username Display Name Role
li.lei ๆŽ้›ท Admin
han.mei ้Ÿฉๆข…ๆข… Member
wang.wei ็Ž‹ไผŸ Member

A default channel ๅ…จๅ‘˜็พค is created automatically.

How It Works / ๅทฅไฝœๅŽŸ็†

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     WebSocket      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  React App  โ”‚โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚  Express +   โ”‚
โ”‚  (Vite)     โ”‚     REST API       โ”‚  Socket.IO   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                          โ”‚
                                   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                                   โ”‚   SQLite DB   โ”‚
                                   โ”‚  + File Store โ”‚
                                   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Tech Stack / ๆŠ€ๆœฏๆ ˆ

Layer Technology
Frontend React 19, TypeScript, Vite 8, Socket.IO Client, Lucide Icons
Backend Express 5, Socket.IO 4, Better-SQLite3, JWT, Multer, bcrypt
Storage SQLite (WAL mode) + local file uploads
Dev Tools ESLint, Nodemon, Concurrently

Project Structure / ็›ฎๅฝ•็ป“ๆž„

frontend/       React Web client (Vite + TypeScript)
backend/        Express API, Socket.IO, SQLite, uploads

Contributing / ่ดก็Œฎ

Contributions are welcome! Please read our Contributing Guide and Code of Conduct.

ๆฌข่ฟŽ่ดก็Œฎ๏ผ่ฏท้˜…่ฏป่ดก็ŒฎๆŒ‡ๅ—ๅ’Œ่กŒไธบๅ‡†ๅˆ™ใ€‚

License / ่ฎธๅฏ่ฏ

MIT ยฉ 2026 zhizhishuo


If this project helps you, give it a โญ

ๅฆ‚ๆžœ่ฟ™ไธช้กน็›ฎๅฏนไฝ ๆœ‰ๅธฎๅŠฉ๏ผŒ่ฏท็ป™ไธ€ไธช โญ

About

๐Ÿ’ฌ Full-featured internal team chat system โ€” React + Express + Socket.IO with real-time messaging, group channels, file sharing, search, unread counts, message recall, and admin console

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors