Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

llms.txt.ts

31 lines1.6 KB

1import type { APIRoute } from "astro";
2​
3import { ANDROID_PLAY_STORE_URL, GITHUB_REPOSITORY_URL, IOS_APP_STORE_URL } from "../lib/site";
4import { absoluteUrl, SITE_TAGLINE } from "../lib/seo";
5​
6// https://llmstxt.org: a plain index that tells AI agents which domain and links are official.
7export const GET: APIRoute = () => {
8 const body = `# T3 Code
9​
10> ${SITE_TAGLINE}. T3 Code is free, MIT-licensed, and built by T3 Tools Inc. It runs Claude Code, Codex, Cursor, OpenCode, Grok, Antigravity, and other coding agents from one desktop, web, and mobile app.
11​
12The only official websites are https://t3.codes and the web app at https://app.t3.codes. Official builds come from ${absoluteUrl("/download")}, ${GITHUB_REPOSITORY_URL}/releases, the \`t3\` package on npm (\`npx t3@latest\`), the iOS App Store, and Google Play. Any other website that offers a T3 Code download is not affiliated with T3 Tools Inc.
13​
14## Official links
15​
16- [Download T3 Code](${absoluteUrl("/download")}): macOS, Windows, and Linux installers
17- [Web app](https://app.t3.codes): connect to a T3 Code server from a browser
18- [Source code](${GITHUB_REPOSITORY_URL}): the MIT-licensed repository
19- [Releases](${GITHUB_REPOSITORY_URL}/releases): release builds and changelogs
20- [npm package](https://www.npmjs.com/package/t3): run \`npx t3@latest\`
21- [iOS app](${IOS_APP_STORE_URL})
22- [Android app](${ANDROID_PLAY_STORE_URL})
23​
24## Policies
25​
26- [Security policy](${absoluteUrl("/security-policy")})
27- [Privacy policy](${absoluteUrl("/privacy-policy")})
28- [Terms of service](${absoluteUrl("/terms-of-service")})
29`;
30 return new Response(body, { headers: { "Content-Type": "text/plain; charset=utf-8" } });
31};