← Market Pulse · Nov 16
leaf: read PDFs, Markdown and web articles in the terminalGitHub · created Oct 17 (30 days ago) · original page ↗
Stars / day ×5.116 → 83

Terminal reader tied to the new terminal Rex gains 200+ stars in five days

What it isRead PDFs, Markdown and web pages in the terminal, review diffs, select text and ask the agent

Why it grewChinese blogger Ding's Rex plugin post (47K views) named it, and the author quote-posted it right away

What to takeRaced to build a native plugin for the new platform during its closed beta, tagged the platform in every post, so even a small account borrowed its traffic

Who built itDeepanshu Mishra, Delhi, India, soloHow it makes moneyFree and open source; only GitHub Sponsors, currently 1 sponsorStaying powerHard to say: growth rides on Rex's closed-beta buzz, and Rex still requires invites
leaf opening the paper "Attention Is All You Need" in the terminal: figures still drawn, text reflowed into selectable body copy, just a single page-number line at the bottom

Positioning and edge

Who it's forDevelopers who live in the terminal with a coding agent open next to itThe job it doesRead docs and papers and review agent changes without leaving the terminal, with annotations sent straight back to the agentWhat people did beforeSwitching to a browser or PDF app to read, then copy-pasting the content to the agentThe wedgeFirst built a terminal PDF reader, then turned it into a native plugin for the new terminal Rex

How it differs from the rest

  1. Select a passage and press @; the question goes to the agent next door along with its contextOn launch day someone asked "Can it work as a Claude Code plugin?"; glow and tdf only display
  2. One command installs it into Rex, adding 6 Leaf actions to the command paletteThe 5 posts mentioning Rex got 17K–27K views each; earlier feature posts got only a few hundred to 2,000
  3. Read docs, review diffs, manage PRs, approve plans, all in one programglow only reads Markdown, tdf only views PDFs, tuicr only reviews changes
  4. Feedback becomes a new release the same day12 releases in four days; all 5 issues one user filed on 11-11 and 11-12 were closed

Who else is in the space

Similar productHow it differs from this one
glowRenders Markdown in the terminal, 28K starsMarkdown only, no PDF or diff, no agent connection
tdfTerminal PDF viewer, about 2,000 starsPDF only; leaf converts PDFs into selectable text
tuicrTerminal code review TUI, about 3,600 starsDiff review only; leaf adds doc reading, a PR list and plan review
plannotatorAnnotates agent plans, about 12K starsIt started earlier and is 45x bigger; leaf puts the same thing in a terminal pane

Can it hold?Can't be defended: MIT open source, and every feature has a bigger counterpart; all that's left is first-mover goodwill in the Rex circle

Last two weeks · Stars / day
11-0411-0711-1011-138311-16

How it happened

  1. Created the repo, published to crates.io the next day, only reading PDFs and Markdown in the terminal ↗

  2. Demo video on X: 607 likes, 29K views; only 64 stars by 11-05 ↗

    The 10-21 launch post: 607 likes, its most-liked post to date, yet it brought only a few dozen stars
  3. Added GitHub diff viewing and line comments, starting the shift toward code review; post got 588 views ↗

  4. v0.9 became a native Rex plugin and tagged the official account: 20K views, +18 stars the next day ↗

    The 11-11 turning point: announcing leaf as a native Rex plugin, quoting a post about a new Rex feature
  5. Added a PR viewer (24K views) and started shipping prebuilt binaries; got first sponsor ↗

    The PR viewer added 11-12: see checks, description and timeline in the terminal, and merge directly
  6. "leaf + Rex" screenshot post got 17K views; plan and change review launched the same day ↗

  7. Ding's Rex plugin post named leaf (47K views), and the author quote-posted it right away ↗

    The trigger: on the left, Ding's recommendation post (naming only two plugins); on the right, the author's quote-post an hour later
  8. Logged +83 stars that day, 265 total; another terminal, Termy, put it in its onboarding ↗

In detail

What it's like to use

After leaf open paper.pdf, the terminal shows only the body text and a line with the page number. The PDF isn't pasted in as an image but converted to reflowed text: headings are detected by font size, paragraphs are rejoined, and figures are still drawn. So you can drag to select, highlight, search, and read aloud, and it reopens where you left off. EPUB, Markdown, web articles and arXiv links all work the same way.

The second step is its main selling point now: select a passage, press @, type a question, and leaf stuffs the file name, line numbers, context and question into Claude Code, Codex or opencode in the neighboring pane. leaf diff and leaf pr move the same action to code changes and PRs; Margin, which shipped 11-14, goes a step further: when the agent hands over a plan, it pops up in leaf first, and the human annotates it section by section, then approves or sends it back.

What people actually bought into

On launch day someone replied: "Can it work as a Claude Code plugin? That would be insane." Another user said they'd been using a Neovim plugin to review branches, "yours looks really polished," then asked whether a batch of annotations could be sent to the agent at once. A few days later that became Margin. Plenty of replies praised the design too. By contrast, posts about read-aloud and drawing on PDFs got only a few hundred views and no replies.

The discount on this growth

The launch post got 607 likes and brought fewer than 60 stars, and growth nearly stalled for the next two weeks. From 11-11 he made leaf a native Rex plugin and tagged the official Rex account in almost every post after that: five posts got 17K–27K views each, and stars went from 67 to 265. Rex is a terminal built by Superlogical, the new company from Ghostty's author; it has been in invite-only beta since early October, and users are hunting for plugins everywhere. At midday on 11-15 the Chinese blogger Ding posted a Rex plugin recommendation naming just two, leaf being one, with 47K views; the author thanked him in Chinese and quote-posted it an hour later for another round.

There are three discounts. One, the total is small: 265 stars, 15 forks. Two, the prebuilt binaries were downloaded about 1,200 times in four days, but that includes multiple platforms and repeated upgrades, so real users are far fewer. Three, the buzz belongs to Rex: under the posts some people are asking for invite codes and others say they're "still on the waitlist," so until Rex opens up, the pool is only this big.

Money, and whether to follow

It makes no money. MIT open source, no paid option anywhere on the site, only GitHub Sponsors, and the first sponsor came on 11-12. It looks more like the author's portfolio.

What you can copy is the sequence: build a single-purpose tool first, then fix on a platform that has just opened its beta and whose users are hunting for plugins, race to make it a "native integration," and tag the platform in every release post. Same product, same account of about 600 followers (estimated), and after doing this the cost of acquiring each star dropped by an order of magnitude. What to avoid: don't treat this as demand validation, since what grew was stars, not revenue; and you're betting on someone else's platform. Rex's plugin list already has around ten review and preview tools, and if the team builds its own, there's no room left for leaf.

The most distinctive step: select lines 36–42 in a diff and type a question at the bottom for the agent next door
The current site hero: the pitch has widened from "read" to "read + review" and it's labeled a native Rex plugin