# Fork Configuration Guide After forking this repo, update these files with your site information. Choose one of two options: --- ## Option 1: Automated Script (Recommended) Run a single command to configure all files automatically. ### Step 1: Create your config file ```bash cp fork-config.json.example fork-config.json ``` The file `fork-config.json` is gitignored, so your configuration stays local and is not committed. The `.example` file remains as a template. ### Step 2: Edit fork-config.json ```json { "siteName": "Your Site Name", "siteTitle": "Your Tagline", "siteDescription": "A one-sentence description of your site.", "siteUrl": "https://yoursite.netlify.app", "siteDomain": "yoursite.netlify.app", "githubUsername": "yourusername", "githubRepo": "your-repo-name", "contactEmail": "you@example.com", "creator": { "name": "Your Name", "twitter": "https://x.com/yourhandle", "linkedin": "https://www.linkedin.com/in/yourprofile/", "github": "https://github.com/yourusername" }, "bio": "Your bio text here.", "theme": "tan" } ``` ### Step 3: Run the configuration script ```bash npm run configure ``` This updates all 11 configuration files automatically: - `src/config/siteConfig.ts` - `src/pages/Home.tsx` - `src/pages/Post.tsx` - `convex/http.ts` - `convex/rss.ts` - `index.html` - `public/llms.txt` - `public/robots.txt` - `public/openapi.yaml` - `public/.well-known/ai-plugin.json` - `src/context/ThemeContext.tsx` ### Step 4: Review and deploy ```bash git diff # Review changes npx convex dev # Start Convex (if not running) npm run sync # Sync content npm run dev # Test locally ``` --- ## Option 2: Manual Configuration Edit each file individually following the guide below. ### Files to Update | File | What to Update | | ----------------------------------- | -------------------------------------------- | | `src/config/siteConfig.ts` | Site name, bio, GitHub username, features | | `src/pages/Home.tsx` | Intro paragraph, footer links | | `src/pages/Post.tsx` | `SITE_URL`, `SITE_NAME` constants | | `convex/http.ts` | `SITE_URL`, `SITE_NAME` constants | | `convex/rss.ts` | `SITE_URL`, `SITE_TITLE`, `SITE_DESCRIPTION` | | `index.html` | Meta tags, JSON-LD, page title | | `public/llms.txt` | Site info, GitHub link | | `public/robots.txt` | Sitemap URL | | `public/openapi.yaml` | Server URL, site name | | `public/.well-known/ai-plugin.json` | Plugin metadata | | `src/context/ThemeContext.tsx` | Default theme | --- ## Manual Configuration Details ### 1. src/config/siteConfig.ts Update the main site configuration: ```typescript export const siteConfig: SiteConfig = { name: "YOUR SITE NAME", title: "YOUR TAGLINE", logo: "/images/logo.svg", // or null to hide intro: null, bio: `YOUR BIO TEXT HERE.`, // Featured section featuredViewMode: "cards", // 'list' or 'cards' showViewToggle: true, // Logo gallery (set enabled: false to hide) logoGallery: { enabled: true, images: [ { src: "/images/logos/your-logo.svg", href: "https://example.com" }, ], position: "above-footer", speed: 30, title: "Built with", scrolling: false, maxItems: 4, }, // GitHub contributions graph gitHubContributions: { enabled: true, username: "YOURUSERNAME", showYearNavigation: true, linkToProfile: true, title: "GitHub Activity", }, // Blog page blogPage: { enabled: true, showInNav: true, title: "Blog", description: "All posts from the blog, sorted by date.", order: 2, }, // Posts display postsDisplay: { showOnHome: true, showOnBlogPage: true, }, links: { docs: "/setup-guide", convex: "https://convex.dev", netlify: "https://netlify.com", }, }; ``` ### 2. src/pages/Home.tsx Update the intro paragraph (lines 96-108): ```tsx
YOUR SITE DESCRIPTION HERE.{" "} Fork it , customize it, ship it.
``` Update the footer section (lines 203-271): ```tsxBuilt with{" "} Convex {" "} for real-time sync and deployed on{" "} Netlify . Read the{" "} project on GitHub {" "} to fork and deploy your own. View{" "} real-time site stats .
Created by{" "} YOUR NAME {" "} with Convex, Cursor, and Claude. Follow on{" "} Twitter/X ,{" "} LinkedIn , and{" "} GitHub .