Footer

Your go-to destination for discovering trending open-source projects and uncovering the insights that matter

Legal

  • Terms and conditions
  • Privacy policy

More

  • Pricing
  • Advertise
  • onedump
  • gosnakego
  • Contact us

Social

  • X (Twitter)
  • GitHub
Trendshift owl
What they build speaks louder than words
© 2026 Trendshift, created by Julian Li with ❤️
SignalAdvertise
Trendshift
SignalAdvertise
Sign in
Trendshift owl

Discover trends that matter

SignalAdvertise
DailyWeeklyMonthlyYearly
Live mentionsTopics
RepositoriesDevelopers
InsightsStats

Bifrost
Bifrost
Busbar
Busbar
OfinTech Desk
OfinTech Desk
Omnigraph
Omnigraph
It's a plan
It's a plan

chenglou/pretext

Fast, accurate & comprehensive text measurement & layout

Visit GitHub
TypeScript
51.1k
2.9k
26 contributors
Custom license
website
AchievementsView all →
FeaturedAdvertise to 180K+ monthly visitors
Bifrost

Fastest Enterprise AI Gateway for Routing, Governing, and Securing all your AI Traffic

Busbar

Control what AI can do before it acts

OfinTech Desk

An open-source AI workspace for finance and accounting teams, in which every figure is traced to its source

Omnigraph

Versioned graph database on object storage. Git-style workflows and multimodal retrieval

It's a plan

Open-source Linear alternative

An issue tracker where AI agents take the work you assign them

Momentum

How fast chenglou/pretext is gaining stars, and where it lands on Trendshift and GitHub Trending

Activity and trending

Stars, forks and merged pull requests each day or month, lined up with the repository's rank on Trendshift Trending

Sep 21 – Nov 20, 2026

Stars +654 in 61 days

050100
77

Forks +46 in 61 days

0123
3

Merged PRs 154 in 61 days

0102030
24

Trendshift Trendingwhere the repository ranked each day it made the top 25

Not in the Trendshift top 25 in this period

Sep 21Sep 29Oct 7Oct 15Oct 23Oct 31Nov 8Nov 16
The left and right arrow keys step from day to day; Home and End go to the first and the last

Stars, forks, merged pull requests and Trendshift Trending rank, by day
DayStars gainedForks gainedMerged PRs
Mon, Sep 21, 2026+7+10
Tue, Sep 22, 2026+11+00
Wed, Sep 23, 2026+77+12
Thu, Sep 24, 2026+33+01
Fri, Sep 25, 2026+23+35
Sat, Sep 26, 2026+18+113
Sun, Sep 27, 2026+23+18
Mon, Sep 28, 2026+22+26
Tue, Sep 29, 2026+12+37
Wed, Sep 30, 2026+9+26
Thu, Oct 1, 2026+8+16
Fri, Oct 2, 2026+3+113
Sat, Oct 3, 2026+8+06
Sun, Oct 4, 2026+10+12
Mon, Oct 5, 2026+8+09
Tue, Oct 6, 2026+11+011
Wed, Oct 7, 2026+8+12
Thu, Oct 8, 2026+6+03
Fri, Oct 9, 2026+6+02
Sat, Oct 10, 2026+3+119
Sun, Oct 11, 2026+18+21
Mon, Oct 12, 2026+10+024
Tue, Oct 13, 2026+14+22
Wed, Oct 14, 2026+7+22
Thu, Oct 15, 2026+15+01
Fri, Oct 16, 2026+17+20
Sat, Oct 17, 2026+3+10
Sun, Oct 18, 2026+13+20
Mon, Oct 19, 2026+8+10
Tue, Oct 20, 2026+16+10
Wed, Oct 21, 2026+12+10
Thu, Oct 22, 2026+7+10
Fri, Oct 23, 2026+15+00
Sat, Oct 24, 2026+12+20
Sun, Oct 25, 2026+8+00
Mon, Oct 26, 2026+11+00
Tue, Oct 27, 2026+11+00
Wed, Oct 28, 2026+12+10
Thu, Oct 29, 2026+12+00
Fri, Oct 30, 2026+18+00
Sat, Oct 31, 2026+3+00
Sun, Nov 1, 2026+4+10
Mon, Nov 2, 2026+11+00
Tue, Nov 3, 2026+0+10
Wed, Nov 4, 2026+5+00
Thu, Nov 5, 2026+3+20
Fri, Nov 6, 2026+0+00
Sat, Nov 7, 2026+4+00
Sun, Nov 8, 2026+9+00
Mon, Nov 9, 2026+15+10
Tue, Nov 10, 2026+2+00
Wed, Nov 11, 2026+5+00
Thu, Nov 12, 2026+7+00
Fri, Nov 13, 2026+7+10
Sat, Nov 14, 2026+2+10
Sun, Nov 15, 2026+3+00
Mon, Nov 16, 2026+6+00
Tue, Nov 17, 2026+13+10
Wed, Nov 18, 2026+0+11
Thu, Nov 19, 2026+8+02
Fri, Nov 20, 2026+2+00
Total+654+46154
  • 1#1 on the list
  • 7Rank that day
  • Not trending
8
  • GitHub trending history

    Where the repository ranked on GitHub Trending, one dot for each day it was on a list

    TypeScript

    May 23, 2026Best #8

    #1#5#10#15#20#25
    Top 10
    May 23, 2026
    The left and right arrow keys step from day to day; Home and End go to the first and the last

    Mentions and achievements

    Where people are talking about chenglou/pretext, and every badge it has earned
    1. Sep 171 post
      • 准备把 pretext 用起来。现在博客使用 Canvas 绘制生成 Open Graph,对应的文本使用固定字符数来 ellipse。现在有了这个库,可以计算排版,来实现真正意义上的 ellipse。

        Read full on X, posted by @syhily

        @syhily · x.com

    2. 1 month earlier
    3. Aug 121 post
      • • Measures paragraph height without touching the DOM • Supports manual line layout for canvas, SVG, and WebGL • Includes rich inline helpers for mixed-font text flows

        Read full on X, posted by @the_osps

        @the_osps · x.com

    4. 16 days earlier
    5. Jul 271 post
      • News with paywall-free links only

        Read full on Reddit

        r/SideProject

    6. 2 months earlier
    7. Jun 21 post
      • • Implements its own text measurement logic using the browser's font engine • Supports DOM, Canvas, SVG, and server-side rendering • Provides layout functions that are pure arithmetic over cached…

        Read full on X, posted by @the_osps

        @the_osps · x.com

    8. May 281 post
      • pretext's PR's just "DDosed" my emails 🤣. Automated PR pulls look at the timestamp between each other 🤣

        Read full on X, posted by @NikilKuruvilla

        @NikilKuruvilla · x.com

    9. 2 months earlier
    10. Apr 111 post
      • I open-sourced expo-pretext — text reflow around arbitrary shapes in React Native, using regular <View> + <Text> (no Skia, no SVG tricks)

        Read full on Reddit

        r/reactnative

    11. Apr 81 post
      • still building my React + GSAP motion editor ( new templates systeme & multiline text measurement )

        Read full on Reddit

        r/react

    12. Apr 31 post
      • Flutter text engine providing advanced geometric wrapping, precise measurement, and balanced typographic layouts

        Read full on Reddit

        r/FlutterDev

    You might also like

    Repositories close to chenglou/pretext
    FeaturedAdvertise to 180K+ monthly visitors
    OfinTech Desk

    An open-source AI workspace for finance and accounting teams, in which every figure is traced to its source

    Busbar

    Control what AI can do before it acts

    It's a plan

    Open-source Linear alternative

    An issue tracker where AI agents take the work you assign them

    Omnigraph

    Versioned graph database on object storage. Git-style workflows and multimodal retrieval

    Bifrost

    Fastest Enterprise AI Gateway for Routing, Governing, and Securing all your AI Traffic

    polotno-project/render-tag

    TypeScript

    Render HTML string into canvas using 2d native API

    1215

    geongeorge/Canvas-Txt

    TypeScript

    Multiline text on HTML5 Canvas

    54152

    edoardolunardi/kugiri

    TypeScript

    Splits text into lines, words and characters exactly where the browser already broke it.

    2774

    robertknight/tex-linebreak

    TypeScript

    JavaScript implementation of the Knuth-Plass linebreaking algorithm

    20011

    anomalyco/justice

    TypeScript

    A small paragraph justification engine and typography playground

    1005

    JubaKitiashvili/expo-pretext

    TypeScript

    Predict React Native text heights before rendering. Native TextKit/TextPaint measurement + ~0.0002ms JS layout. FlashList, streaming AI chat, typewriter, pinch-to-zoom, obstacle reflow, Dynamic Type, Expo Web. 386 tests. MIT.

    25913

    lyallcooper/justif

    TypeScript

    Text justification for perfectionists

    48113

    pmndrs/glyph

    TypeScript

    ♠️ A typography engine for web graphics.

    4119

    chearon/dropflow

    TypeScript

    A CSS layout engine

    1.4k32