Rebranding Guide
This guide explains how to rebrand the Shipkit boilerplate to your own project name and branding.
Automated Rebranding
The easiest way to rebrand is to use the automated rebranding script:
pnpm tsx scripts/rebrand.ts
This script will prompt you for essential branding information and update the necessary files automatically.
Dry Run Mode
If you want to preview the changes without actually modifying any files, use the --dry-run flag:
pnpm tsx scripts/rebrand.ts --dry-run
This will show you what changes would be made without actually writing to any files.
Command Line Arguments
You can also provide the branding information as command line arguments:
pnpm tsx scripts/rebrand.ts --name "MyApp" --domain "myapp.com" --creator-name "John Doe"
Available arguments:
--name: Project name (e.g., "MyApp")--slug: Project slug, lowercase and hyphenated (e.g., "my-app")--domain: Domain without protocol (e.g., "myapp.com")--creator-name: Your name (optional)
The script will automatically derive sensible defaults for other values based on these inputs.
Manual Rebranding
If you prefer to rebrand manually, you can update the following files:
src/config/site.ts: This is the main configuration file that contains most of the branding information..env.example: Update the database name.package.json: Update the project name.
Site Configuration
The src/config/site.ts file contains a branding section that centralizes most of the branding information:
branding: {
projectName: "Shipkit", // Change this to your project name
projectSlug: "shipkit", // Change this to your project slug
productNames: {
bones: "Core", // Product tiers
muscles: "Pro",
brains: "Enterprise",
main: "Shipkit",
},
domain: "shipkit.io", // Change this to your domain
protocol: "web+shipkit", // Change this to your protocol
githubOrg: "shipkit-io", // Change this to your GitHub organization
githubRepo: "bones", // Change this to your GitHub repository
vercelProjectName: "bones-app", // Change this to your Vercel project name
databaseName: "shipkit", // Change this to your database name
},
You should also update the following sections:
name: The project nameurl: The project URLogImage: The Open Graph image URLemail: Email addressescreator: Creator informationrepo: Repository informationmetadata.keywords: Keywords for SEO
After Rebranding
After rebranding, you should:
- Update your
.envfile with the new database name - Restart your development server
- Check that all branding references have been updated correctly
Troubleshooting
If you encounter any issues during rebranding:
- Check the
src/config/site.tsfile to ensure all branding information has been updated correctly - Look for any hardcoded references to "Shipkit" or "bones" in the codebase
- Update any references that weren't caught by the rebranding script
If you find any hardcoded references that weren't updated by the rebranding script, please consider contributing to improve the script.