# Show HN: Lurka, open-source tool to find buyers among people engaging on X

> Source: <https://github.com/getcargohq/lurka>
> Published: 2026-12-04 01:09:47+00:00

**Key takeaway:** Lurka ships a `npx lurka-ai check <post>` command that runs the same buyer analysis from Claude Code, Cursor or Codex on the user's own Cargo account, with public checks limited to 600 per UTC day and 5 per visitor.

**Find buyers engaged with your X posts.** Paste a post on X and see how many of the people who engaged with it could actually buy from you.

[lurka.ai](https://lurka.ai) · [This week's leaderboard](https://lurka.ai/leaderboard) · Sorted by TypeSafe · Powered by [Cargo](https://getcargo.ai)

- **A free public answer.** Lurka reads everyone who replied to, reposted or quoted a post (likes are private on X), sorts each person with Jev, TypeSafe's model, sets aside creators, bots and paid promoters, and answers with two numbers: how many engaged, and how many could buy. It shows the buyers as made-up faces, everyone else by group, and a paraphrase of what each buyer said. It never names anyone, and needs no sign-up.
- **Sign in with Cargo to see who they are.** Every post you check becomes a small board in your own Cargo workspace: people warmest first, the companies they name, and how to reach them (a reply or DM on X, a work email or phone number when one is found).
- **A share card made for X** , and a weekly leaderboard of the posts that reached the most buyers.
- **A reply bot.** Reply`@lurka_ai who could buy?` under any post and the answer comes back in the thread.
- **A command for coding agents.**`npx lurka-ai check <post>` runs the same check from Claude Code, Cursor or Codex, on your own Cargo account. See[Use it in your coding agent](#use-it-in-your-coding-agent) .

Lurka never posts, likes or messages anyone for you.

```
npm install
cp .env.example .env.local
npm run dev    # http://localhost:3000
```

In `.env.local`, set at least:

| Variable | Value | 
|---|---|
| `APP_BASE_URL` | `http://localhost:3000` | 
| `AUTH_SESSION_SECRET` | `openssl rand -hex 32` | 
| `CARGO_API_TOKEN` | A Cargo API token. It reads posts for public answers. | 
| `LURKA_LOCAL_SIGN_IN` | `true` , to sign in locally as that token's workspace instead of through Cargo. | 

Results are kept in the token's workspace, in Cargo meta, locally as in production; nothing else to set up. The workspace behind the token needs an X connector; TypeSafe and OpenAI run on Cargo's managed connectors.

| Variable | What it does | Default | 
|---|---|---|
| `APP_BASE_URL` | Where the app is served. In production, public HTTPS: Cargo fetches `<APP_BASE_URL>/auth/client.json` to sign people in. |  | 
| `AUTH_SESSION_SECRET` | Seals the session cookie. Changing it signs everyone out. |  | 
| `CARGO_API_TOKEN` | The hosted workspace that reads posts for public answers, on its credits, and keeps results in its Cargo meta. Never used for anyone signed in. |  | 
| `CARGO_WORKSPACE_UUID` | The hosted workspace, when the token reaches more than one. |  | 
| `PUBLIC_DAILY_READ_BUDGET` | New public checks started per UTC day. Past it, posts wait in line for the next day; nobody is refused. | 600 | 
| `PUBLIC_VISITOR_DAILY_CAP` | New public checks one visitor can start per UTC day. | 5 | 
| `PUBLIC_CONCURRENT_READS` | Public checks running at once. The rest wait in line and their page shows their place. | 6 | 
| `LURKA_STATS_KEY` | Opens `/stats/<key>` , the daily share-loop counts (checks, shares, unlocks). At least 16 characters. |  | 
| `LURKA_LOCAL_SIGN_IN` | Development only: sign in as the token's workspace. Ignored in production and on any host but this machine. | `false` | 
| `CARGO_API_URL` ,`CARGO_AUTH_ISSUER` | Cargo's API and OAuth server. | `https://api.getcargo.io` | 
| `NEXT_PUBLIC_GA_MEASUREMENT_ID` | Google Analytics 4 measurement ID ( `G-…` ). Unset, no analytics load. | unset | 
| `GOOGLE_SITE_VERIFICATION` | Google Search Console's HTML tag token for this deployment's address (the `content` value only), to verify the site. Unset, no tag. | unset | 
| `LURKA_AUTOPOST_ENABLED` | Autopost: reads a few recent launches a day and posts the ones with buyers, with a link to each answer, from the bot account. | `false` | 
| `LURKA_AUTOPOST_DRY_RUN` | Autopost logs what it would read and post, and spends nothing, unless this is `false` . | `true` | 
| `LURKA_AUTOPOST_DAILY_READS` | Launches autopost reads per UTC day, about 11 to 25 hosted credits each. Apart from the visitor cap. | 5 | 
| `LURKA_AUTOPOST_DAILY_POSTS` | Autopost launch posts per UTC day, one per hour at most. | 3 | 
| `LURKA_AUTOPOST_DISCOVER_HOUR` ,`LURKA_AUTOPOST_POST_HOUR` | UTC hours from which autopost searches, then posts. | 14, 16 | 
| `LURKA_AUTOPOST_DIGEST` ,`LURKA_AUTOPOST_DIGEST_HOUR` | `true` adds one daily post listing yesterday's reads with buyers, at that UTC hour. | `false` , 15 | 

The reply bot and autopost share the bot account's variables: see [docs/reply-bot.md](https://github.com/getcargohq/lurka/blob/main/docs/reply-bot.md) and [docs/autopost.md](https://github.com/getcargohq/lurka/blob/main/docs/autopost.md).

``` php
flowchart LR
  A[Post link] --> B[Read the post and<br/>everyone who engaged]
  B --> C[Jev sorts each person<br/>for role and fit]
  C --> D[Paid promoter check<br/>on likely buyers]
  D --> E[Counts and paraphrases:<br/>the public answer]
  E -->|Sign in with Cargo| F[Names, companies,<br/>emails, in your workspace]
```

1. **Read.** The post and its reposters, replies and quotes, through Cargo's X connector: up to 5,000 people, writers first.
2. **Sort.** Jev reads up to 500 people for a public answer (2,000 when signed in) for their role and how likely they are to buy what the author sells.
3. **Check.** Likely buyers get a paid promoter check on their recent posts; anyone boosting several launches a week is set aside.
4. **Answer.** A buyer scores at least 0.7 and is not set aside. Public answers get a paraphrase of what the top buyers said, never their words or names.

A public check takes about a minute and costs about 0.022 to 0.05 credits per person sorted. A huge post stops sorting after 8 minutes and answers from a sample, which the page says. Every call and threshold: [docs/pipeline.md](https://github.com/getcargohq/lurka/blob/main/docs/pipeline.md).

Paste this into Claude Code, Cursor or Codex:

Follow lurka.ai/skill.md to see who could buy from my last post on X.

The agent reads [the skill](https://github.com/getcargohq/lurka/blob/main/public/skill.md) and runs one command, which runs the same pipeline as the app, in your own Cargo workspace and on its credits:

```
npx lurka-ai check https://x.com/name/status/123          # reads who engaged, prints the cost, spends nothing on sorting
npx lurka-ai check https://x.com/name/status/123 --yes    # sorts everyone and prints who could buy, warmest first
```

It signs in with `CARGO_API_TOKEN` or the session of `npx cargo-ai login`. Every option, the output and the packaging: [docs/cli.md](https://github.com/getcargohq/lurka/blob/main/docs/cli.md).

Lurka runs on Vercel.

1. Import the repository as a Next.js project.
2. Set the variables above for Production, with `APP_BASE_URL` on your domain.
3. Point the domain at Vercel and keep deployment protection off it, since Cargo fetches `/auth/client.json` .

Checks run after the response with `after()`; the routes that start them ask for Vercel's longest request, 800 seconds. Every push to `main` deploys.

| Path | What is there | 
|---|---|
| `src/app` | Routes: `/` ,`/p/[postId]` and its share card,`/leaderboard` ,`/stats/[key]` , the signed-in app under`/app` , the bot's`/api/bot/tick` | 
| `src/product` | One folder per screen or component, built on `@cargo-ai/ui` | 
| `src/server` | Sign-in, server actions, the pipeline, public and workspace data, the result store, share images, the reply bot and autopost | 
| `src/lib` | Pure logic and every threshold ( `lurkaConfig.ts` ) | 
| `cargo/` | The `lurka_engagers` model the app deploys into each user's workspace | 
| `docs/` | The pipeline, storage, reply bot and autopost in detail | 
| `src/cli` ,`packages/` | The `lurka` command and the two npm packages it ships in ([docs/cli.md](https://github.com/getcargohq/lurka/blob/main/docs/cli.md) ) | 
| `public/skill.md` ,`skill/` ,`public/llms.txt` | What a coding agent reads to run the command | 

```
npm run ci   # lint, type-check, unit tests, Cargo project check, build, end-to-end tests
```

The end-to-end tests need Chromium once (`npx playwright install chromium`). They run on fixture posts with made-up people and never call Cargo. `E2E_PORT` runs them beside a dev server. Before changing anything, read [CONTRIBUTING.md](https://github.com/getcargohq/lurka/blob/main/CONTRIBUTING.md): it holds the code style, UI rules and public text rules, and `npm run lint` enforces them.

MIT. Built on [Cargo](https://getcargo.ai).
