MIDREAL
Menu

Home / billion-context

ranxianglei

billion-context

Quiet climberQuiet climberAt least 300 stars gained in 7 days and no Hacker News points. More on the methodology page

ranxianglei/billion-context

A context-compression plugin for month-long single sessions (billions of tokens) and small context windows (a 100K context is enough), billion-context is all you need .

TypeScriptCategories: Coding agents

Our summary

billion-context is a context-compression plugin that sits between a coding agent and its model API. It rewrites Anthropic and OpenAI streams using acp-kernel compression, folding consumed conversation into layered summaries so a single session can run across many tokens.

Who it is for: Developers running long, single coding-agent sessions across many AI clients

What the README claims

  • Supports month-long single sessions with billions of tokens month-long single sessions (billions of tokens) Not checked
  • Reduces token usage by about 5 times 5× fewer tokens Not checked
  • Works with a small 100K context window small context windows (100K is enough) Not checked
  • Compression is incremental and reversible, with a prefix cache that stays intact compression here is **incremental, reversible, and prefix-cache friendly** Too broad to verify
  • A production study ran 174,327 model calls with zero window violations on 204,800-token models zero window violations on 204,800-token models Not checked

Written by AI from the project's README on 2026-11-09. It does not affect the verdict.

Quiet climber: 650 stars gained in 7 days and no Hacker News points (the rule needs 300+ stars and none from Hacker News).

7-day star gain 650, down from 2,694 the week before.

Commits in the last 30 days: 3,411, down from 4,181 30 days earlier.

Gaining 650 stars this week, 0.5x its usual pace. Last push today.

Verdict

REAL scored 1h ago

Hype
86
Reality
99
Hype Gap
-13
Momentum
0.5x
Confidence
85%
  • Maintained moves Reality +20 points.
  • Adopted moves Reality +13 points.
  • Responsive moves Reality +7 points.

Rule verdict-2.0, scoring score-2.0. How we score. Backtest.

Repository on GitHub

Find them on

Maintained by

Maintained by a team with no developer above half of all commits, 8 external contributors in the last 90 days.

  • ranxianglei is a GitHub individual account.
  • GitHub account created May 2015.
  • Top contributors by commits: ranxianglei 44%, Afloat16 2%, github-actions[bot] 1%.

Why now 8% of its stars arrived in the last 7 days. Gaining 0.5x its usual weekly pace. No Hacker News posts in the last 7 days.

Stars StarsThe number of GitHub stars on the repository at our latest reading.
8,105
Gain 7d Gain 7dStars gained since our latest reading from at least 7 days ago.
+650
Pace Velocity (Nx usual pace)This week's star gain divided by the project's usual weekly gain. The usual gain is the average weekly gain over the 4 weeks before (days 8 to 35 ago), counted as at least 10 stars. 2.0x means twice the usual pace. Without a reading from 35 days ago, the ranking assumes 2% of the stars the project had 7 days ago as its usual weekly gain. More on the methodology page
0.5x usual 1,415 a week
HN points HN pointsHacker News points added up across posts that mention the project, published in the last 7 days.
0 7 days
Downloads DownloadsDownloads per day of the project's package, as the registry (npm or PyPI) reports them.
0 latest day
Contributors Contributors, all timePeople and anonymous contributors who have ever committed to the repository, as GitHub counts them. A small number is context, not a flaw: many solid projects are kept by one or two people.
187
Last release Latest releaseDays since the latest GitHub release was published.
5 days ago

Gain 24h Gain 24hStars gained since our latest reading from at least 24 hours ago. +56. Forks ForksThe number of GitHub forks of the repository at our latest reading. 652. Open issues Open issuesThe number of open issues on the repository at our latest reading, as GitHub counts them. 1,453. Days since push Days since pushDays since the last push to the repository. 0 days. Archived ArchivedWhether the owner has archived the repository on GitHub. An archived repository is read-only. no. Hacker News posts in 7 days Hacker News postsThe number of Hacker News posts that mention the project, published in the last 7 days.: 0. Watchers WatchersThe number of GitHub users watching the repository for notifications, at our latest reading. 17.

Facts

Language
TypeScript source, checked 22 Nov 2026
Last release
v0.1.216, 17 Nov 2026 source, checked 22 Nov 2026
Releases
209 source, checked 20 Nov 2026
Contributors
187 source, checked 20 Nov 2026
Archived
no source, checked 22 Nov 2026

Nerd stuff

DockerCLI

Languages
TypeScript (detected), JavaScript (detected), Python (detected), HTML (detected)
Runs on
Node >=20 (detected)
Interfaces
CLI (detected)
Deployment
Docker (detected)
Docs
docs/ folder (detected)
Package ecosystem
npm (detected)

The Receipts

SourceEvidenceDate
Newsletter or feedTwelve DeepSeek Harness Plugins, Mapped by Failure Surface13 Nov 2026
Newsletter or feedBillion-Context: How 5x Token Compression Lets 100K-Window Agents Handle Month-Long Sessions13 Oct 2026
Packagenpm billion-context17 Nov 2026
deps.devDependent packages on npm: 414 Nov 2026
deps.devSecurity advisories on npm: 022 Nov 2026

What changed recently

GitHub release dates we stored. We do not track license changes yet.

Cite this

billion-context is a GitHub project at https://github.com/ranxianglei/billion-context written mainly in TypeScript, described there as "A context-compression plugin for month-long single sessions (billions of tokens) and small context windows (a 100K context is enough), billion-context is all you need ".

Source: https://midorreal.com/project/ranxianglei-billion-context, checked 22 November 2026. The same facts as JSON: /project/ranxianglei-billion-context.json.

Rank history

Peak day: +624 stars on 9 Nov 2026, 13 days ago.

Best rank on Blowing up: #16 on 18 Oct 2026.

Label timeline

  • 8 Oct 2026: Watching
  • 15 Oct 2026: Quiet climber
  • 22 Oct 2026: Surging
  • 24 Oct 2026: Quiet climber
  • 28 Oct 2026: Surging
  • 29 Oct 2026: Quiet climber
  • 8 Nov 2026: Surging
  • 19 Nov 2026: Quiet climber

Stars

Stars each day Stars each dayThe highest star count we recorded on each day., last 47 days. Without JavaScript this shows the last 30 days.

Events in this window

Dated items we stored, last 30 days. They sit near the chart, they do not explain it.

Stars gained each day Stars gained each dayThe difference in the daily peak star count between consecutive days that both have a reading., between readings on consecutive days. Last 30 days in the fallback.

npm downloads

Downloads DownloadsDownloads per day of the project's package, as the registry (npm or PyPI) reports them.. Latest day 0, busiest day 249,094, 4,438,996 in total, 25 Aug 2026 to 17 Nov 2026.

Packages

RegistryPackage
npmbillion-context

Only packages whose registry page links back to this repository are listed.

Signals

SourceWhat we measuredChecked
GitHub8,105 stars, 650 gained in 7 days22 Nov 2026
Hacker NewsNo posts stored-
Feed mentions2 mentions in tracked newsletters and blogs13 Nov 2026
npm0 downloads on the latest day17 Nov 2026
PyPINo linked package found-
Docker HubNo linked package found-
crates.ioNo linked package found-
HomebrewNo linked package found-
deps.dev4 npm dependents14 Nov 2026
Hugging FaceNot tracked yet-
BlueskyNot tracked yet-
Stack ExchangeNot tracked yet-
YouTubeNot tracked yet-

Attention vs adoption

Attention: above 48% of tracked projects 48%
Star velocity against all tracked projects

Adoption: above 83% of tracked projects 83%
Strongest of downloads, dependents and pulls (deps.dev)

Adoption runs ahead of attention: star velocity above 48% of tracked projects, best adoption figure above 83%. This describes the numbers; it is not a verdict.

Compared with Coding agents

MeasureThis projectCategory median
Star velocity0.50.4
Days since release4.64.5
Contributors, all time1872
Median time to first reply on issues0 hours14 hours
Commits in the last 30 days3,41148

Star velocity: above 52% of Coding agents projects

Days since release: above 50% of Coding agents projects

Contributors, all time: above 92% of Coding agents projects

Median time to first reply on issues: above 10% of Coding agents projects

Commits in the last 30 days: above 97% of Coding agents projects

Compared with the project's first category only. A percentile line appears only where at least 30 projects in the category have the measure. This describes the numbers; it is not a verdict.

Compare with

Hacker News

PostPoints PointsThe points the post has on Hacker News.Comments CommentsThe number of comments on the post on Hacker News.Date
No Hacker News posts mention it in the last 7 days.

Caveats

  • The repository has no security policy on GitHub. Source
  • 1,453 issues are open. Source

Repo health

  • Languages LanguagesShare of the repository's code by bytes, as GitHub's language detection reports it. The five biggest languages are named and the rest are grouped as Other.TypeScript 98%, JavaScript 2%
  • License LicenseThe SPDX license id GitHub detects, and a class: Open source (OSI) if the license is on the Open Source Initiative approved list, Source-available if the code is readable but the license limits use, Unclear if GitHub cannot match a known license, No license detected if it finds none. A public repository without a license is not open source.Unclear
  • Repository age Repository ageTime since the repository was created on GitHub. This is the repository, not necessarily the project, which may have existed elsewhere before.3 months, created 6 Aug 2026
  • Release dates Release datesThe date of the first and the latest GitHub release, and the latest release tag. Projects that ship without GitHub releases show none.First release 8 Aug 2026, current version v0.1.216 (17 Nov 2026)

Development

  • Commits in the last 7 days Commits in the last 7 daysCommits to the repository in the last 7 days, as GitHub counts them.704
  • Commits in the last 30 days Commits in the last 30 daysCommits to the repository in the last 30 days, as GitHub counts them.3,411
  • Commits in the last 90 days Commits in the last 90 daysCommits to the repository in the last 90 days, as GitHub counts them.8,829
  • Contributors, all time Contributors, all timePeople and anonymous contributors who have ever committed to the repository, as GitHub counts them. A small number is context, not a flaw: many solid projects are kept by one or two people.187
  • Releases ReleasesThe number of GitHub releases, and how many days ago the latest one was published.209, latest release 5 days ago
  • Releases in the last 90 days Releases in the last 90 daysHow many GitHub releases were published in the last 90 days.100
  • Issues in the last 30 days Issues in the last 30 daysIssues opened and issues closed in the last 30 days, as GitHub search counts them.1,661 opened, 1,015 closed
  • Pull requests merged in the last 30 days Pull requests merged in the last 30 daysPull requests merged in the last 30 days, as GitHub search counts them.658
  • Packages that depend on the latest version Packages that depend on the latest versionHow many other packages list the project's latest published version as a dependency, from deps.dev, added up across npm and PyPI.4

Maintenance

  • Median time to first reply on issues Median time to first reply on issuesMedian time between an issue being opened and the first comment from someone other than its author, over a sample of the last 30 closed issues. Issues with no reply are left out of the median and counted separately.0 hours
  • Median time to close issues Median time to close issuesMedian time from opening to closing, over a sample of the last 30 closed issues.27 hours
  • Sampled issues with no reply Sampled issues with no replyHow many of the sampled closed issues never got a comment from someone other than their author.8 of 14
  • Stale open issues Stale open issuesOpen issues with no update in the last 90 days, as GitHub search counts them.0
  • Open pull requests Open pull requestsPull requests open now, as GitHub search counts them.575

Hygiene

  • Automated tests or builds (CI) Automated tests or builds (CI)Whether the repository has at least one GitHub Actions workflow file in .github/workflows.Yes
  • A tests folder A tests folderWhether the repository has a top-level folder named tests, test, __tests__ or spec.Yes
  • A license A licenseWhether GitHub detects a license file in the repository.Yes
  • Contributing guide Contributing guideWhether the repository has a contributing guide.No
  • Code of conduct Code of conductWhether GitHub finds a code of conduct in the repository.No
  • CODEOWNERS file CODEOWNERS fileWhether the repository has a CODEOWNERS file, which names who reviews changes to which files.No
  • A Dockerfile A DockerfileWhether the repository has a Dockerfile at its top level.Yes

Security

  • Security policy Security policyWhether the repository has a SECURITY.md or SECURITY.rst file.No
  • Unpatched high or critical advisories Unpatched high or critical advisoriesPublished GitHub security advisories rated high or critical on this repository that list a vulnerable version with no patched version.0
  • Signed latest release Signed latest releaseWhether the latest GitHub release has an attached signature file (.sig, .asc or .sigstore).No
  • Known advisories on the latest version Known advisories on the latest versionSecurity advisories deps.dev lists against the project's latest published version, added up across npm and PyPI.0

Badge

For maintainers: one measured fact, no verdict. First spotted by Mid or Real at 630 stars on 7 Oct 2026

Markdown

[![Mid or Real](https://midorreal.com/badge/ranxianglei-billion-context.svg)](https://midorreal.com/project/ranxianglei-billion-context)

HTML

<a href="https://midorreal.com/project/ranxianglei-billion-context"><img src="https://midorreal.com/badge/ranxianglei-billion-context.svg" alt="Mid or Real"></a>

Verdict badge: Mid or Real: REAL It shows the verdict as this page shows it today.

Markdown

[![Mid or Real: REAL](https://midorreal.com/badge/ranxianglei-billion-context.svg?style=verdict)](https://midorreal.com/project/ranxianglei-billion-context)

HTML

<a href="https://midorreal.com/project/ranxianglei-billion-context"><img src="https://midorreal.com/badge/ranxianglei-billion-context.svg?style=verdict" alt="Mid or Real: REAL"></a>

Passport

Copy these facts into a post, a README or a page. Cite as "Source: Mid or Real". Full record: JSON.




First tracked 7 Oct 2026 at 630 stars.

Projects blowing up

How we call a verdict

Is this your project? Claim it

Figures by method 1.0