FreddyChen/NettyChat
基于Netty+TCP+Protobuf实现的Android IM库,包含Protobuf序列化、TCP拆包与粘包、长连接握手认证、心跳机制、断线重连机制、消息重发机制、读写超时机制、离线消息、线程池等功能。 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2703
- days_rel: n/a
- days_push: 2190
- n_releases_24m: 0
Adoption not part of the score
2327 stars · 567 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An Android instant messaging (IM) client library built on Netty, TCP, and Protobuf. It provides a complete long-connection messaging stack including Protobuf serialization, TCP packet splitting/sticky-packet handling, handshake authentication, heartbeat, reconnection, message resending, read/write timeouts, offline messages, and thread pooling.
Use cases
- add chat messaging to an Android app
- implement a reliable TCP long connection on Android
- send and receive protobuf messages over a persistent socket
- handle heartbeat and automatic reconnection for mobile IM
- deliver offline messages when users reconnect
- learn how Netty-based IM clients handle sticky packets and handshakes
When to choose
- you need a self-hosted, protocol-level IM client on Android with full control over the wire protocol
- you want TCP reliability with protobuf efficiency for high-volume messaging
- you want a learning reference for building Netty-based Android IM systems
When to avoid
- you need a turnkey chat backend with accounts, groups, and push - this is a client-side transport library only
- you prefer WebSocket or MQTT-based messaging instead of raw TCP
- you need an actively maintained library with recent releases (last release 2020)
- your project is not on the JVM/Android
Facets
library · maturity maintenance
serialization networking concurrency middleware messaging-platforms mobile-development android-tools developer-tools jvm im instant-messaging netty tcp protobuf heartbeat reconnection offline-messages long-connection chat real-time android mobile
2 sources
- readme: https://github.com/FreddyChen/NettyChat · fetched 2026-08-28 · ecd15cb01451
- homepage: https://juejin.im/post/5c97ae12e51d45580b681b0b · fetched 2026-08-29 · eec42e6db6d2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| FreddyChen/NettyChat | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="FreddyChen/NettyChat")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem