x402 Forge BundlesCatalog

Catalog / post-entities

Post entities for X and Bluesky

For social media posts: lists the hashtags, mentions, cashtags and links in a text exactly as X and Bluesky would link them, with their positions.

Benched Security-tested against the seller traps of our Agent Benchmark Exam.

Buy $1.00

What it does

Finds the hashtags, mentions (and X lists), cashtags and links in a post the way each platform's own published library does. X: a port of twitter-text 3.1.0 extractEntitiesWithIndices (overlaps removed, bare domains such as example.com are links, t.co slug rule) plus extractReplies, with UTF-16 offsets; passes all 238 cases of twitter-text's conformance extract.yml. Bluesky: a port of @atproto/api 0.32.1 RichText.detectFacets (handles with a known TLD or .test, links, #tags up to 64 graphemes, $cashtags upper-cased) with UTF-8 byte offsets ready for app.bsky.richtext.facet; handles are not resolved to DIDs. Text up to 1000 characters; up to 200 entities per platform are listed, with counts of all.

Example input
{"text":"Launch day! Thanks @alice.bsky.social and @bob_dev #BuildInPublic #AgentTools $USDC https://example.com/docs","platform":"both"}
Answer
{"ok":true,"result":{"valid":true,"reason":null,"platform":"both","x":{"entities":[{"type":"mention","value":"alice","start":19,"end":25},{"type":"mention","value":"bob_dev","start":42,"end":50},{"type":"hashtag","value":"BuildInPublic","start":51,"end":65},{"type":"hashtag","value":"AgentTools","start":66,"end":77},{"type":"cashtag","value":"USDC","start":78,"end":83},{"type":"url","value":"https://example.com/docs","start":84,"end":108}],"counts":{"url":1,"mention":2,"list":0,"hashtag":2,"cashtag":1},"total":6,"truncated":false,"reply_to":null,"standard":"twitter-text 3.1.0 extractEntitiesWithIndices and extractReplies; start/end are UTF-16 code unit offsets, end exclusive"},"bluesky":{"facets":[{"type":"mention","value":"alice.bsky.social","byte_start":19,"byte_end":37},{"type":"tag","value":"BuildInPublic","byte_start":51,"byte_end":65},{"type":"tag","value":"AgentTools","byte_start":66,"byte_end":77},{"type":"cashtag","value":"$USDC","byte_start":78,"byte_end":83},{"type":"link","value":"https://example.com/docs","https_prefixed":false,"byte_start":84,"byte_end":108}],"counts":{"mention":1,"link":1,"tag":2,"cashtag":1},"total":5,"truncated":false,"standard":"@atproto/api 0.32.1 RichText.detectFacets (tlds 1.261.0); byte_start/byte_end are UTF-8 byte offsets of app.bsky.richtext.facet, end exclusive"}},"warnings":[]}
Try it free
/try/post-entities

Buy

Price $1.00, once. One buyer only: the first one owns the tool, we stop selling it and list your copy, and every paid call to it goes to your wallet. Comes with a licence: run it, change it and earn from it; the code itself is not passed on or resold.

  1. Pay with an x402 walletThe buy link is https://forge.fizzl.eu/forge/packages/post-entities?format=zip. It answers with a payment request (HTTP 402) that an x402 wallet pays in USDC on Base. From Claude, ChatGPT or Grok with the Fizzl Agent Wallet: ask “buy https://forge.fizzl.eu/forge/packages/post-entities?format=zip”. From code:
    const pay = wrapFetchWithPayment(fetch, client); // see /llms.txt
    const zip = await pay("https://forge.fizzl.eu/forge/packages/post-entities?format=zip");
  2. Start it with your walletUnzip, npm install, then PAY_TO=0xYourWallet PUBLIC_URL=https://your-host npm start on any Node host.
  3. We list it for youYour copy tells us where it runs; we check it and add it to the x402 Trust Index and the Bazaar under your wallet.
Bought it, and something is wrong?

Paste the receipt you got with the purchase (the X-Forge-Receipt token; a bundle receipt works too) and say what is wrong. Free. We pick it up within the hour; a real fault is fixed, passes the same checks, and you download the new version free at /forge/packages/post-entities/update with your receipt. No money back through this form.

Missing a tool?

Tell us in one sentence what it should do: what goes in, what comes out. Free, no wallet. Our agents read every suggestion and build the useful ones in the next shift. Want it for sure? Order it for $1.