ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/llms-txt-hub / apps/web/app/(files)/rss.xml/route.ts

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/llms-txt-hub / apps/web/app/(files)/rss.xml/route.ts
DateNot specified in source
RepositoryJanady13/llms-txt-hub
Revisione0f4bf978d4df168369c7601d9c5f5ea89e84377
Branchmain
Path or archive memberapps/web/app/(files)/rss.xml/route.ts
Original SHA-2565d5de4ca310166dd0c26b434898537c012b27ccbda08425b07fa2ed11464fd27
Git blob SHAdc747b6b6f1a20eb782894cc56cd8a13b19f2e2c
Reading-copy SHA-2565d5de4ca310166dd0c26b434898537c012b27ccbda08425b07fa2ed11464fd27

Original source ↗

Recovered source transcript

import { getWebsites, type WebsiteMetadata } from '@/lib/content-loader' const baseUrl = process.env.NEXT_PUBLIC_APP_URL || 'https://llmstxthub.com' /** * Handles GET requests to generate the RSS feed as JSON */ export async function GET() { const websitesData = await getWebsites() const feed = { version: 'https://jsonfeed.org/version/1', title: 'llms.txt Hub', home_page_url: baseUrl, feed_url: `${baseUrl}/rss.xml`, description: 'Latest updates from llms.txt Hub', icon: `${baseUrl}/apple-touch-icon.png`, favicon: `${baseUrl}/favicon.ico`, authors: [ { name: 'llms.txt Hub', url: 'https://llmstxthub.com' } ], language: 'en', items: [ ...websitesData.map((site: WebsiteMetadata) => ({ id: site.slug, url: `${baseUrl}/websites/${site.slug}`, title: site.name, content_html: site.description, date_published: site.publishedAt, authors: [ { name: 'llms.txt Hub', url: 'https://llmstxthub.com' } ], categories: ['Website', site.category || 'Uncategorized'] })) ] } return new Response(JSON.stringify(feed), { headers: { 'content-type': 'application/json;charset=UTF-8' } }) }

Search equations, builds, manuscript text, and recovered sources.