The Harbor Ledger: a local news site with sections, bylines, a breaking banner, live updates and feeds
The website for a fictional local newsroom: a newspaper-style front page, section fronts, reporter pages, a breaking news banner switched...
A website for a surprise travel agency: how it works, four trip tiers with guide prices as information only, past reveals as postcards with a region filter, reviews with a rating worked out in Liquid, a gift option, a clue envelope served by a Raytha Function, and trip requests saved as private drafts, built on Raytha by an AI agent with the CLI in about 50 minutes.

A short, silent tour of the finished site, recorded from the real pages.
10 screens from the finished site, on desktop and on a phone. Use the arrow keys, swipe, or open any screen full size.
For each Raytha use case we take a realistic brief, hand it to an AI agent with the raytha CLI, and publish what
comes out: the site, the files behind it, and a kit you can use to rebuild it yourself. This one is a website for
a surprise travel agency, the kind of company where you pick your dates and a budget and only find out where you
are going when you open an envelope at the airport.
The agent built it on a fresh Raytha 2.0.1 instance. Nobody opened the admin. Every template, content type, trip, review, page, form handler and menu went in through the CLI, from files in a directory.
Postmark Trips is a fictional surprise travel company in Chicago. Its site has:
The design is airmail: warm paper, navy ink, red and blue chevron borders, mustard accents, wavy postmark lines behind the page titles, perforated stamp cards and postcards with a white border and a slight tilt. Headlines are set in Young Serif, a sturdy, friendly serif, the text is Manrope and labels and dates use Space Mono, like a franked stamp. The postcards and destination artwork are drawn by a script, so every image is license-free and no real people are shown. On a 390px phone the menu folds away, the stamps and postcards stack and the envelope still opens.
The envelope is a few lines of JavaScript on the home page and a Raytha Function at clue.json. Raytha Functions
are small JavaScript programs that answer HTTP requests at a path you choose. This one reads the past reveals,
picks one at random and returns its clue, the destination, the country, when it was and a link to its story. So
the clues on the home page are always real ones from the reveals list, and when the agency adds a new trip in the
admin, its clue joins the pool on the next click. ?n= returns a particular clue, so one can be shared.
Raytha does not have a form builder, but Functions make one easy. The planner is an ordinary HTML form that posts to
a function at forms/plan. The function:
| Feature | How it is built |
|---|---|
| Tiers, reveals, reviews, FAQs and trip requests | Five content types from one schema document. Tiers have a checkbox for the most popular one and a color for their stamp; reveals use a dropdown for the region, a one-to-one relationship to their tier and an attachment for the postcard; reviews have a number rating and a checkbox for gifts. |
| 42 seed items | Content import from JSON Lines, with the postcards uploaded during the import and each reveal linked to its tier by name. |
| Trips and prices | A list view of tiers with a Liquid template that draws the stamps and builds the comparison table from the same items. |
| Past reveals and the region filter | A list view whose template reads ?region= and checks it against the known regions. |
| Rating and breakdown | The reviews list view template adds up the ratings and gifts in Liquid as the page renders. |
| FAQ by topic | A list view grouped by its topic dropdown. |
| The clue envelope | A Raytha Function at clue.json that reads the reveals through API_V1.GetContentItems. |
| Trip requests and gifts | A plain HTML form that posts to a Raytha Function, which checks the fields and calls API_V1.CreateContentItem to save a draft. The trip requests list view is not published. |
| Tier and reveal pages | Detail templates for each content type. A tier's page lists the reveals that point to it through the relationship. |
| Home, How it works, Gift, Plan and Thank you | Site pages built from 10 custom widget templates (hero with the envelope, steps, tier stamps, clue cards, reviews strip, split feature, call to action, page header, planner form, thank-you). |
| Navigation | Two menus: the main menu and a footer menu. |
This is the brief, as given to the agent.
Build a website for a surprise travel agency on a fresh Raytha instance with the
raythaCLI. No clicking around the admin. Use a fictional brand.
Look and feel
Content and pages
Done means
raytha check passes with no broken routes.About 50 minutes of agent time, from an empty install to raytha check passing on every route, including the
visual design, the generated postcards, the two functions and writing all of the content.
The theme, schema, seed content, the artwork script, page definitions, functions and menus are in the
raytha-examples repository,
with a build.sh that rebuilds the whole site into any Raytha 2.x instance. Point it at your site with
RAYTHA_URL and RAYTHA_API_KEY and run it.
Free, open source and ready to deploy in minutes. Bring a brief and an AI agent.