// app/(app)/worlds/page.tsx // Shows world generation stats from worlds.blackroad.io // Server component with 10s revalidation async function getWorldStats() { try { const res = await fetch('https://worlds.blackroad.io/stats', { next: { revalidate: 10 } }) if (!res.ok) return null return await res.json() } catch { return null } } async function getRecentWorlds() { try { const res = await fetch('https://blackroad-agents-status.amundsonalexa.workers.dev/worlds?limit=10', { next: { revalidate: 10 } }) if (!res.ok) return [] const data = await res.json() return data.worlds || [] } catch { return [] } } export default async function WorldsPage() { const stats = await getWorldStats() const worlds = await getRecentWorlds() const total = stats?.total || 0 const nodes = stats?.by_node || {} return (

๐ŸŒ World Generator

Autonomous AI worlds generated by BlackRoad Pi fleet

{/* Stats row */}
{total}
Total Worlds
{nodes.aria64 || 'โ€”'}
aria64 Node
{nodes.alice || 'โ€”'}
alice Node
{/* Type breakdown */} {stats?.by_type && (

By Type

{Object.entries(stats.by_type).map(([type, count]: [string, any]) => { const emojis: Record = { lore: '๐Ÿ“œ', world: '๐ŸŒ', code: '๐Ÿ’ป', story: 'โœจ', tech: '๐Ÿ”ง' } return (
{emojis[type] || '๐Ÿ“„'} {type} {count}
) })}
)}

โšก Generating ~2 worlds/min ยท Live RSS: worlds-feed.blackroad.io

) }