# acl-dev/acl

C/C++ server and network library, including coroutine,redis client,http/https/websocket,mqtt, mysql/postgresql/sqlite client with C/C++ for Linux, Android, iOS, MacOS, Windows, Harmony,etc..

Repository: https://github.com/acl-dev/acl
Canonical: https://ross.abutalabs.com/products/acl
Homepage: https://acl-dev.cn
Language: C
License: LGPL-2.1
License Family: copyleft
Topics: coroutine, database, fiber, http-client, http-server, mqtt-client, mqtt-protocol, network, redis-client, smtp, memcached-clients, redis, http, https, websocket, cplusplus
Last push: 2026-08-13T09:15:19+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 75, longevity 100
- inputs: {"age_days": 5078, "days_push": 20, "days_rel": 90, "gap_med": 85.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3100, forks 951 (observed 2026-08-28T04:07:43.548588+00:00)

## What it is
Acl is a cross-platform C/C++ network communication library and server programming framework supporting Linux, Windows, macOS, FreeBSD, Android, iOS, and HarmonyOS. It bundles a high-performance coroutine (fiber) library, HTTP/SMTP/MQTT/Redis/Memcached protocol clients, codecs (XML/JSON/MIME/BASE64), a unified database client layer for MySQL/PostgreSQL/SQLite, and multi-model server frameworks with a process-management daemon.

## Use cases
- write high-concurrency tcp servers with coroutines in c++
- build an http or websocket server in c++ on linux and windows
- connect to redis, memcached, or mqtt from c/c++
- query mysql, postgresql, and sqlite through one unified c++ api
- implement a network client with blocking-style code that scales like non-blocking io
- manage and supervise multiple server processes with acl_master
- parse and encode mime, , xml, and base64 in c++
- send email via smtp from a c++ application

## When to choose
- you need a battle-tested cross-platform c/c++ networking stack with coroutine support
- you want blocking-style code with high concurrency without callback complexity
- you need many protocol clients (http, redis, mqtt, smtp, memcached) in one library
- you are building long-running server processes on linux or windows

## When to avoid
- you work in a managed language like java, go, or python with native equivalents
- you need only a tiny single-purpose http client and prefer a minimal dependency
- your project cannot accept the LGPL-2.1 license
- you want an async framework with a large ecosystem of middleware and tooling

## Facets
- artifact type: library
- maturity: stable
- function: http-client, http-server, websocket, database-driver, caching, concurrency, networking, middleware, serialization, email
- domain: networking, backend, web-development, developer-tools, databases, cross-platform
- platform: windows, cpp, c, cross-platform
- tags: coroutine, fiber, redis-client, mqtt-client, server-framework, connection-pool, smtp, memcached, mysql, postgresql, sqlite, high-concurrency, linux, macos, android, ios

## Member repositories
- acl-dev/acl (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:43.548588+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:27:02.686417+00:00, confidence not recorded.
  - readme: https://github.com/acl-dev/acl (fetched 2026-08-28T04:07:43.548588+00:00, sha 535cad18e3ea)
  - homepage: https://acl-dev.cn (fetched 2026-08-29T09:42:18.945410+00:00, sha eced8b7d4855)
  - site_page: https://acl-dev.cn/about (fetched 2026-08-29T09:42:18.948554+00:00, sha 77af1d75dfd3)
  - site_page: https://acl-dev.cn/2020/06/05/about_fiber (fetched 2026-08-29T09:42:18.950405+00:00, sha 394c07dc6699)
  - site_page: https://acl-dev.cn/2019/06/30/faq (fetched 2026-08-29T09:42:18.953606+00:00, sha baf3c471f671)
  - site_page: https://acl-dev.cn/categories/faq (fetched 2026-08-29T09:42:18.956471+00:00, sha d8dca90f6cf7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
