diff --git a/modules/rspace/landing.ts b/modules/rspace/landing.ts new file mode 100644 index 0000000..a761b2e --- /dev/null +++ b/modules/rspace/landing.ts @@ -0,0 +1,413 @@ +/** + * rSpace Canvas landing page — the infinite collaborative canvas. + */ +export function renderLanding(): string { + return ` + +
25+ Interoperable Tools on an Infinite Canvas — Real-Time, Local-First, AI-Native
++ rSpace is a collaborative infinite canvas where notes, maps, calendars, AI prompts, votes, + budgets, and two dozen other tools live side by side — connected by arrows, synced in real time, + and owned by the people who use them. No cloud lock-in. No passwords. No middlemen. +
+ + +Your data lives on your device first. Automerge CRDTs sync when you’re online and work when you’re not. No server dependency.
+Shapes connect with arrows, share data through ports, and compose into workflows. Every tool talks to every other tool.
+AI prompts that create shapes on the canvas. Image generation, video generation, zine layout, and multi-model chat — built in.
+Real-time cursors, live presence, and conflict-free collaboration. See who’s on the canvas and what they’re working on.
++ Most canvas tools give you sticky notes and arrows. rSpace gives you a full operating environment + where 25+ specialized tools compose, connect, and collaborate in real time. +
+Scroll to zoom, drag to pan, pinch on mobile. The canvas is boundless — lay out as much as you need with snap guides for alignment.
+Toggle between freeform canvas and a curated scroll feed. Feed mode shows shapes as a timeline — sorted by recent, alphabetical, or type.
+Figma-style comment pins anywhere on the canvas. Click to drop a pin, type a note, and link it to a full rNotes card for threaded discussion.
+Connect any two shapes with arrows. Add governance gates, data transforms, and labels to build visual workflows and dependency graphs.
+Tag any shape to a calendar date. Drag shapes onto the mini-calendar or click the schedule icon — reminders sync to rSchedule with email notifications.
+Lock shapes in place to prevent accidental moves. Locked shapes show a persistent badge and resist drag, resize, and deletion.
++ Every shape is a full application. Drop it on the canvas, connect it to others, and watch your workspace come alive. +
+Rich text with TipTap — formatting, checklists, code blocks, and live collaboration.
+Chat with Gemini or Ollama models. Tool mode spawns maps, notes, and embeds on the canvas.
+Generate images with Flux Pro via fal.ai or Gemini — drag results onto the canvas.
+Text-to-video and image-to-video with Kling and WAN 2.1 via fal.ai.
+Interactive OpenStreetMap with routing, privacy controls, meeting points, and GPS sharing.
+Spatiotemporal calendar with lunar overlays, multi-source sync, and ten zoom levels.
+Real-time group chat with presence, typing indicators, and message history.
+Embed any URL — videos, documents, dashboards, web apps — live inside the canvas.
+Drag-and-drop images with zoom, caption, and full-size preview.
+Rich link previews with auto-fetched title, description, and favicon.
+Polls, ranked choice, conviction voting, and spider diagrams for group decisions.
+AI-generated 8-page zines with editable text, per-section regeneration, and PDF export.
+Presentation slides with themes, transitions, and fullscreen mode.
+CRDT token ledger, Gnosis Safe integration, and cUSDC balance viewer.
+Live voice transcription and audio file processing — entirely in-browser.
+Freehand drawing with AI sketch-to-image generation via tldraw.
++ Plus: Social Posts, 3D Splat Viewer, Blender Viewer, Video Chat, Obs Notes, Workflow Blocks, Wrappers, and more. +
++ AI in rSpace isn’t a sidebar — it’s a first-class canvas citizen. Prompts spawn shapes, + generate images and videos, and compose entire visual layouts. +
+Toggle Tools mode and ask the AI to “show me Tokyo on a map and find flights.” Gemini calls create_map, create_embed, and other tools to spawn shapes directly on the canvas.
Flux Pro, Kling 2.1, and WAN 2.1 via fal.ai. Gemini Imagen for text-to-image. Generated media drops onto the canvas as draggable, connectable shapes.
+Describe a topic and get an AI-generated 8-page zine with custom illustrations, editable text, per-section regeneration, and PDF/flipbook export.
+Switch between Gemini Flash, Gemini Pro, and local Ollama models (Llama, Mistral, Qwen) per prompt. Run AI fully offline with self-hosted models.
+Sign in with a passkey (no passwords) and create a space for your group, project, or community.
+Add notes, maps, calendars, AI prompts, embeds, and more from the toolbar. Drag to position, resize to fit.
+Draw arrows between shapes to build flows. Add governance gates and data transforms. Everything is linked.
+Share the space URL. Collaborators see real-time cursors, live edits, and shape changes — no refresh needed.
++ The canvas is the hub. Each of 25+ rApps can be dropped as a shape, embedded, or connected through the shared context API. +
+Rich text notes with voice transcription, tagging, and Logseq-compatible memory cards.
+Spatiotemporal calendar with lunar phases, multi-source sync, and canvas shape scheduling.
+Interactive maps with routing, privacy controls, meeting points, and real-time GPS sharing.
+Polls, ranked choice, conviction voting, and multi-criteria spider diagrams.
+CRDT token ledger, Gnosis Safe smart wallets, and x402 micropayments.
+Collaborative trip planning with itineraries, destinations, budgets, and packing lists.
+The libraries and protocols that power rSpace.
+Local-first CRDT for conflict-free real-time sync. Your canvas works offline and merges seamlessly when you reconnect.
+Ultra-fast web framework on Bun runtime. API routes, SSR, and WebSocket sync in under 50ms.
+Every shape is a native custom element with shadow DOM. No framework lock-in — standard HTML all the way down.
+Passwordless authentication via passkeys and the FIDO2 standard. Your identity is a cryptographic key, not a password.
+How rSpace keeps your workspace safe.
+Per-document encryption before data leaves your device. Not even the server can read your canvas.
+The server syncs encrypted blobs without ever seeing your content in the clear.
+Docker Compose, Traefik, and your own domain. Your server, your rules, your data.
++ Try the collaborative canvas with 25+ tools, AI generation, real-time sync, and local-first architecture. + No account needed for the demo. +
+ +