# Share, fork & the gallery

> Publish a private, revocable link to a run, fork someone else's strategy, and browse the community gallery.

Source: https://docs.texttoquant.com/guides/share-and-fork

---

Any finished run can become a link. Sharing is opt-in and revocable, forking drops a shared strategy
straight into your own terminal, and the gallery is where shared strategies get discovered.

## Share a run

A shared backtest opens at a `/s/…` link; a shared portfolio at `/sp/…`. Both are **sanitized,
read-only reports**, the equity curve, metric tiles and grade, with no internal ids. A viewer sees
the report, not your terminal, and one line naming who published it.

- **Private by default.** Nothing is shared until you mint a link from the **Share** dialog. The link
  carries a random 122-bit token, so it can't be guessed or enumerated.
- **Revocable.** Hit **Revoke** and the link stops resolving immediately, the page 404s. The same
  works over the API (`DELETE /v1/backtests/:id/share`) and over MCP (`share_backtest` with
  `revoke: true`).

<Callout variant="warning" title="A live link is public to anyone who holds it">
  While a link is live, anyone with the URL can open the report, it just isn't listed or indexed.
  Revoke it when you're done, and don't share a run you consider sensitive.
</Callout>

## Who a shared run is credited to

Every shared report and gallery card names its author.

- **Set a username** on [Account → Profile](/account/profile) and that handle is what viewers see,
  written as `@yourname`. It is 3–20 characters, letters, numbers and underscores, and unique across
  the platform.
- **Without a username, your account email is shown instead.** The Share dialog says which of the two
  applies before you mint a link, so you can set a handle first.
- Social preview images only ever carry a username, never an email, because those images are cached
  by other services and cannot be recalled.
- Changing your handle updates every page that already links to your runs. A released handle is held
  for 30 days so nobody else can take it and inherit your links, and you can reclaim it at any time.

## Fork a strategy

A shared **backtest** page carries a **Fork this strategy** button. It opens *your* terminal with the
exact query prefilled: nothing runs automatically, so you review it, tweak it, and run it as your
own. It's the fastest way to start from someone else's idea.

Shared **portfolios** are view-only, there's no fork button on a `/sp/…` page.

## The gallery

The [gallery](/gallery) is an opt-in, ranked board of strategies people have chosen to publish. List
one of your own from the **Share** dialog's "list in the gallery" toggle (a run must be shared
first).

- **Sort** by Sharpe, total return, or Deflated Sharpe (the overfitting-adjusted confidence score).
- **Filter** by grade, asset, or free-text search.
- Each card names its author and opens its `/s/…` report, where you can fork it.

Related: [read a backtest report](/docs/guides/read-a-report), [MCP server](/docs/api/mcp),
[the gallery](/gallery).
