# LagrangeDev/Lagrange.Core

An Implementation of NTQQ Protocol, with Pure C#, Derived from Konata.Core

Repository: https://github.com/LagrangeDev/Lagrange.Core
Canonical: https://ross.abutalabs.com/products/lagrangecore
Language: C#
License Family: other
Topics: csharp, ntqq, qq-protocol, qqbot, onebot11
Last push: 2026-08-20T05:47:29+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 9, longevity 85
- inputs: {"age_days": 1199, "days_push": 13, "days_rel": 396, "gap_med": null, "n_releases_24m": 1}
- flags: prerelease_only, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2972, forks 354 (observed 2026-08-28T04:07:32.887847+00:00)

## What it is
Lagrange.Core is a pure C# implementation of the NTQQ protocol used by Tencent QQ, derived from Konata.Core. It lets developers build QQ bots and clients, either as a .NET library, via a native C ABI wrapper, or through the Lagrange.Milky web service exposing the Milky protocol.

## Use cases
- build a QQ bot in C#
- implement a custom QQ client using the NTQQ protocol
- connect NoneBot to QQ via the Milky protocol
- use QQ messaging from Python or other languages via the native API
- send and receive QQ messages programmatically
- run a self-hosted QQ bot backend service

## When to choose
- you want to build QQ bots or automation in .NET/C#
- you need a protocol-level QQ implementation without the official client
- you want to expose QQ messaging as a web service for bot frameworks like NoneBot
- you need to integrate QQ into non-.NET languages via a native wrapper

## When to avoid
- you need an officially supported or ToS-compliant QQ integration
- you want a ready-made end-user chat application rather than a library
- you need platforms other than QQ (e.g. Discord, Telegram)
- your project requires a permissive license - the repo currently has no license

## Facets
- artifact type: library
- maturity: active
- function: sdk, chatbot, http-server, websocket
- domain: messaging-platforms, chatbots, developer-tools
- platform: cross-platform, dotnet, self-hosted
- tags: qq-protocol, ntqq, onebot11, qqbot, csharp, protocol-implementation, milky, automation

## Member repositories
- LagrangeDev/Lagrange.Core (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:32.887847+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:31:37.532738+00:00, confidence not recorded.
  - readme: https://github.com/LagrangeDev/Lagrange.Core (fetched 2026-08-28T04:07:32.887847+00:00, sha 3e610afc4e37)
- Data as of 2026-08-30T08:39:29.467469+00:00.
