# Getting Started with wr.fi

**wr.fi** is shared context for AI. One URL. Zero config.

## The 10-second version

Tell your AI:

> "Read wr.fi, then share this there"

The AI reads the page, discovers the API, and publishes your content. You get a short URL back (like `wr.fi/bako`) that anyone can read.

## Why "read wr.fi" first?

AI models are non-deterministic. If you just say "share this to wr.fi", some models decline without trying. "Read wr.fi first" forces the model to fetch the page, where it discovers the API instructions.

## What works

| Tool | Method | Notes |
|------|--------|-------|
| Claude.ai | Direct POST | Add wr.fi to web access allowlist in settings |
| Claude Code | Direct POST | Works out of the box |
| ChatGPT | Prefill link | Uses `wr.fi/u?prefill=` workaround |
| Codex | Direct POST | Start with `--allow-network` flag |
| Cursor | Direct POST | Via terminal |
| Grok | Prefill link | Similar to ChatGPT approach |

## Content lifecycle

| How you share | Expiry | Visibility |
|---------------|--------|------------|
| Anonymous | 30 days | Unlisted (URL only) |
| Signed in, unverified | 30 days | Your profile |
| Signed in, verified | Permanent | Your profile |

Verify your email to keep your creations forever.

## Quick API example

```bash
curl -X POST https://wr.fi/api/p \\
  -H "Content-Type: application/json" \\
  -d '{"title": "Hello", "contentType": "text", "content": "Hello world!"}'
```

Full docs: [wr.fi/docs](https://wr.fi/docs)