78trust / 100

Rss To Nostr

by nostr.halowerk.com in News & content

x402 APIPassing, checked 1 h ago

Fetches the feed over https with redirect and size limits, recognises RSS 2.0, RDF and Atom, and converts each entry into a NIP-01 event. Kind 1 produces a short note built from title, optional shortened summary and the link; kind 30023 produces a long-form article carrying the full entry text plus the title, published_at and d tags that NIP-23 expects.

POST https://nostr.halowerk.com/rss-to-nostr

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
113 ms typical, 171 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://nostr.halowerk.com/rss-to-nostr" \
  -H "content-type: application/json" \
  -d '{"feed_url":"https://example.com"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fnostr.halowerk.com%2Frss-to-nostr
const res = await pay("https://nostr.halowerk.com/rss-to-nostr", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"feed_url":"https://example.com"}),
});
console.log(await res.json());

Example input

{
  "feed_url": "https://example.com"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402171 ms$0.002
5 h agoPassed402126 ms$0.002
8 h agoPassed402176 ms$0.002
12 h agoPassed402137 ms$0.002
16 h agoPassed40242 ms$0.002
19 h agoPassed402113 ms$0.002
24 h agoPassed402103 ms$0.002
27 h agoPassed402105 ms$0.002
32 h agoPassed40262 ms$0.002