> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openfinance.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Mainframe templates

> Browse ready-made trading tools and websites, see what each template gives you, and pick one to build as your own app, all from a single gallery page.

Mainframe lives inside the OpenFinance app at [openfinance.tech/mainframe](https://openfinance.tech/mainframe). Each card is a template for a trading tool or a website. Pick one, check its demo, and click **Deploy**: OpenFinance builds the app for you in Chat and can ship it to your own GitHub and Vercel.

![Mainframe page with the heading MainFrame: Build Tools and Apps, a Connectors card with Connect buttons for Vercel and GitHub, section tabs and the first row of template cards](https://mintcdn.com/openfinance/-pu5SodoQuhEwuR-/images/mainframe/mainframe-gallery.png?fit=max\&auto=format\&n=-pu5SodoQuhEwuR-\&q=85\&s=2d3058a7bea600b35f82716959a08d18)

The Mainframe page: the hero with the Connectors card, then the section tabs and the template cards

## What a template is

Every card in the gallery is made of two things:

* **A prompt.** A long, precise brief that tells the builder exactly what to make: the layout, the data sources, the copy, the safety rules and a list of checks to run before calling the job done. You can read every prompt before you use it.
* **A demo.** A preview of what the prompt produces. Website templates show a live page you can click around in. Trading tools show a screen captured with live data, so the gallery never needs your key.

When you click **Deploy**, the prompt goes into [Build mode](https://docs.openfinance.tech/product/build-mode.md) as your first message. The result is a fresh copy of the app that belongs to you: code you can push to your own GitHub repository and a site you can deploy to your own Vercel account. Nothing is shared with other people who use the same template.

## How the gallery is organised

Tabs above the grid filter the cards. A search box beside them matches template names, sections, descriptions, tech stacks and tags.

![Tabs reading All, Prediction Markets, Perp Dexes, Trading, Websites and Animated, with a search box reading Search templates, stacks or tags](https://mintcdn.com/openfinance/-pu5SodoQuhEwuR-/images/mainframe/mainframe-section-tabs.png?fit=max\&auto=format\&n=-pu5SodoQuhEwuR-\&q=85\&s=8233cf3fc8ed23352b6f15e690cb0237)

Section tabs and search

Each tab holds one kind of template:

| Tab | What is in it |
| - | - |
| **All** | Every template |
| **Prediction Markets** | Helpers for short BTC and ETH up-or-down windows |
| **Perp Dexes** | Your own trading terminals for Hyperliquid perpetuals |
| **Trading** | Strategy desks, such as funding carry |
| **Websites** | Landing pages, heroes and footers |
| **Animated** | Sites built around video and motion |

Each card shows the demo, the title, a one-line description, tags, the output (for example "Next.js app" or "Single index.html") and the prompt's length. Hover a card for three buttons: **Prompt**, **Open demo** and **Deploy**. The Mainframe card also has a **Live** link to a deployed copy.

## Every template

Here is every template in the gallery today, grouped the same way as the tabs. Click a card to read its own page. The gallery grows over time, so the app may show cards that are not listed here yet.

### Prediction markets

> [card] [HIP-4 Up/Down Edge](https://docs.openfinance.tech/mainframe/templates/updown-hip4.md)
>
> One held call per Hyperliquid BTC up-or-down window, an alarm and a track record.

> [card] [Poly Up/Down Assist](https://docs.openfinance.tech/mainframe/templates/updown-polymarket.md)
>
> The same helper for Polymarket's BTC and ETH up-or-down windows.

### Perp dexes

> [card] [AI assisted Perps dex](https://docs.openfinance.tech/mainframe/templates/ai-perps-dex.md)
>
> A Hyperliquid terminal with five indicators, an AI copilot and a market-order ticket.

> [card] [Pair Trader Dex](https://docs.openfinance.tech/mainframe/templates/pair-trader.md)
>
> Long one side, short the other: pairs and baskets of up to four markets.

> [card] [Squiggly](https://docs.openfinance.tech/mainframe/templates/hl-compare.md)
>
> Up to 25 Hyperliquid perps raced against BTC on one chart, with a trade panel.

### Trading

> [card] [Arb Funding](https://docs.openfinance.tech/mainframe/templates/carry-bot.md)
>
> A funding-carry desk: hold spot, short the perp on Hyperliquid, keep the funding.

### Websites

> [card] [LinkFlow](https://docs.openfinance.tech/mainframe/templates/linkflow.md)
>
> A workflow automation hero on a looping video, sage green on white glass.

> [card] [Heritage Grove](https://docs.openfinance.tech/mainframe/templates/heritage-grove.md)
>
> A full-viewport footer on hand-drawn ink artwork, in one HTML file.

> [card] [Camper](https://docs.openfinance.tech/mainframe/templates/camper.md)
>
> An overnight camp hero with a moonlit video and a stacked serif headline.

### Animated

> [card] [Mainframe](https://docs.openfinance.tech/mainframe/templates/mainframe.md)
>
> A creative agency hero with a mouse-scrubbed video and a typewriter greeting.

> [card] [Orbis](https://docs.openfinance.tech/mainframe/templates/orbis-nft.md)
>
> A four-section NFT site in deep space with video backgrounds and liquid glass.

> [card] [Meadowbell](https://docs.openfinance.tech/mainframe/templates/meadowbell.md)
>
> A kids' series hero: a boy and his beagle on a rippling painted hillside.

## Before you start

A few things are worth knowing before your first deploy.

* Browsing, opening demos and reading prompts work without an account. Deploying asks you to sign in. Please make an account at [openfinance.tech](https://openfinance.tech) to get your keys.
* Connect GitHub and Vercel once, in the **Connectors** card at the top of the page, so the finished app can ship straight from the chat.
* Templates are long prompts, so a build spends more AI credits than a short chat. See [Models and AI credits](https://docs.openfinance.tech/product/models-and-credits.md).
* Trading templates place real orders only with your own OpenFinance key, pasted in your own copy. Read [Keys and safety](https://docs.openfinance.tech/mainframe/safety.md) first.

## Next

> [card] [How it works](https://docs.openfinance.tech/mainframe/how-it-works.md)
>
> From demo to a deployed site you own, step by step.

> [card] [Customize a template](https://docs.openfinance.tech/mainframe/customize.md)
>
> Change a template before or after you build it.

> [card] [Keys and safety](https://docs.openfinance.tech/mainframe/safety.md)
>
> How trading templates handle your OpenFinance key.

> [card] [Build mode](https://docs.openfinance.tech/product/build-mode.md)
>
> The builder that turns a prompt into an app.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.