Sunlionet

SunLionet: Website & Documentation Specification

This document details the structure, content, and design for the Next.js landing page and documentation site for the SunLionet project.

1. Folder Structure & Key Files

The website is built with Next.js 15 (App Router), Tailwind CSS, and standard React components.

website/
├── public/
│   ├── arch-diagram.svg        # Interactive/static architecture diagram
│   ├── hero-bg.png             # Subtle dark-mode hero background
│   └── icon.png                # SunLionet Logo
├── src/
│   └── app/
│       ├── globals.css         # Tailwind directives and base styles
│       ├── layout.tsx          # Root layout (Header, Nav, Footer, Dark mode)
│       ├── page.tsx            # Home / Hero Section & Status Simulator
│       ├── architecture/
│       │   └── page.tsx        # Deep dive into Data/Control Plane
│       ├── docs/
│       │   ├── page.tsx        # Documentation index & setup wizard
│       │   ├── [slug]/page.tsx # Dynamic doc pages (e.g., /docs/security)
│       ├── download/
│       │   └── page.tsx        # OS-specific downloads & verification
│       └── roadmap/
│           └── page.tsx        # Future plans (mesh, synthetic data)
├── next.config.ts              # Contains `output: 'export'` for static hosting
├── tailwind.config.ts          # Custom colors (gold / dark blue)
└── package.json                # Dependencies (next, react, tailwindcss)

2. Page-by-Page Content Outline

Home / Hero Section (/)

Architecture Page (/architecture)

Documentation / Docs (/docs)

Download Page (/download)

Future / Roadmap (/roadmap)

3. Download Section Specification

The download page must provide clear, secure, and verifiable artifacts.

Linux (x86_64 / arm64)

Android (APK)

Raspberry Pi (ARM64)

4. Adjustments to Dual-Version Design for the Website

To support a static, zero-telemetry website, the dual-version architecture requires a few operational adjustments:

  1. No Central API for Seeds: The website cannot host live proxy seeds. If it did, the domain would be blocked instantly. The website is strictly for software distribution. Seed bootstrapping remains strictly peer-to-peer (Signal/Bluetooth).
  2. Static Export: The Next.js app must use output: "export" in next.config.ts. This allows the site to be hosted on IPFS, GitHub Pages, Cloudflare Pages, or Tor, maximizing uptime against state-level DNS blocks.
  3. Wipe-on-Suspicion Integration: The documentation must clearly explain that uninstalling the app is not enough; users must trigger the “Panic Button” (which invokes store.WipeOnSuspicion()) if physical device seizure is imminent.