'use client'; import Link from 'next/link'; import { GitFork, Terminal, Settings, Zap } from 'lucide-react'; import Header from '@/components/Header'; export default function ForkPage() { return (
{/* Site Header */}
{/* Hero Section - Asymmetric */}

Fork aturi.to

Run your own Atmosphere link sharing service with a custom domain

{/* Why Fork - Asymmetric Grid */}

Why Fork?

Community-Specific

Create a version tailored to your community with custom branding and curated platforms.

Regional Optimization

Host closer to your users for faster load times and better performance.

Full Control

Self-host on your infrastructure with complete control over features and data.

{/* Quick Start - Featured Section */}

Quick Start

Get your instance up and running in just a few minutes

Interactive Setup (Recommended)

{`# Clone the repository
git clone https://github.com/yourusername/aturi-to.git my-instance
cd my-instance

# Run interactive setup
node scripts/setup-fork.js

# Install and start
npm install
npm run dev`}

The setup script will ask for your domain, name, and preferences, then create a .env.local file with your configuration.

{/* Quick Links */}

Manual Setup

Step-by-step instructions

Full Guide

Detailed documentation

{/* Configuration - Diagonal Layout */}

Configuration

Customize your instance through environment variables

{`# .env.local
NEXT_PUBLIC_DOMAIN=yourdomain.com
NEXT_PUBLIC_SITE_NAME=Your Site Name
NEXT_PUBLIC_SITE_DESCRIPTION=Your description
NEXT_PUBLIC_AUTHOR_NAME=Your Name
NEXT_PUBLIC_REPO_URL=https://github.com/you/your-fork`}

See .env.example for all available options.

{/* Manual Setup - Organic Staggered Cards */}

Manual Setup

1. Clone & Configure

{`git clone https://github.com/yourusername/aturi-to.git
cd aturi-to
cp .env.example .env.local
# Edit .env.local with your settings`}

2. Customize Waypoints

Edit src/utils/waypoints.tsx to add/remove platforms:

{`export const waypoints: Waypoint[] = [
  {
    id: 'your-platform',
    name: 'Your Platform',
    urlPattern: (repo, collection, rkey) => {
      return \`https://platform.com/\${repo}/\${rkey}\`;
    },
  },
];`}

3. Update Branding

  • Replace logo in public/
  • Update colors in src/app/globals.css
  • Modify metadata in src/app/layout.tsx

4. Test & Deploy

{`npm install
npm run dev  # Test locally at http://localhost:3000

# Deploy to Vercel
vercel
# Add env vars in Vercel dashboard
# Add custom domain in Vercel settings`}

Test profile links and post links to ensure everything works before going live.

{/* GPL Requirements - Featured Card */}

⚖️ GPL v3 Requirements

When forking aturi.to, you must:

  • Keep your source code publicly available
  • Use GPL v3 or later for your fork
  • Include the LICENSE file
  • Mark any changes you make

Attribution to the original project is appreciated and helps the ecosystem!

{/* Resources - Asymmetric Layout */}

Resources

Everything you need to get started

→ Quick Start Guide (10 minutes) → Complete Forking Guide → Contributing Guidelines → Integration Guide
{/* Support - Full Width Centered */}

Need Help?

Check the documentation or open an issue on GitHub.

Report an issue
); }