Lumen & Gesso / website · lumengesso.com / app / llms.txt / route.ts
| 1 | // /llms.txt: a plain-markdown summary of the studio for AI assistants |
| 2 | // (ChatGPT, Claude, Perplexity, Gemini). Built from the same data the |
| 3 | // pages render, so it never drifts from the site. See https://llmstxt.org. |
| 4 | import { COMING_SOON } from '../config'; |
| 5 | import { FAQS } from '../data/faqs'; |
| 6 | import { |
| 7 | CONTACT_EMAIL, |
| 8 | SITE_DESCRIPTION, |
| 9 | SITE_NAME, |
| 10 | SITE_URL, |
| 11 | SOCIAL_PROFILES, |
| 12 | } from '../lib/seo'; |
| 13 | |
| 14 | export const dynamic = 'force-static'; |
| 15 | |
| 16 | export function GET() { |
| 17 | if (COMING_SOON) return new Response('Not found', { status: 404 }); |
| 18 | |
| 19 | const body = `# ${SITE_NAME} |
| 20 | |
| 21 | > ${SITE_DESCRIPTION} |
| 22 | |
| 23 | The Free Portrait Studio is a self-serve browser editor. Upload a photo, crop, rotate, adjust the image, and download a PNG without an added watermark. Hosted AI tools are optional and available only when enabled. |
| 24 | |
| 25 | ## Pages |
| 26 | |
| 27 | - [Home](${SITE_URL}/): Studio, process, archive and FAQ |
| 28 | - [Gallery](${SITE_URL}/gallery): customer photos beside the finished portraits |
| 29 | - [Free Portrait Studio](${SITE_URL}/studio): edit and download an image |
| 30 | - [Privacy policy](${SITE_URL}/privacy) |
| 31 | |
| 32 | ## FAQ |
| 33 | |
| 34 | ${FAQS.map(([q, a]) => `### ${q}\n\n${a}`).join('\n\n')} |
| 35 | |
| 36 | ## Contact |
| 37 | |
| 38 | - Email: ${CONTACT_EMAIL} |
| 39 | ${SOCIAL_PROFILES.map((url) => `- ${url}`).join('\n')} |
| 40 | `; |
| 41 | |
| 42 | return new Response(body, { |
| 43 | headers: { |
| 44 | 'Content-Type': 'text/markdown; charset=utf-8', |
| 45 | 'Cache-Control': 'public, max-age=3600', |
| 46 | }, |
| 47 | }); |
| 48 | } |