Export
Learn how to export your PageSmith website code to GitHub.
PageSmith allows you to export your website code directly to a GitHub repository, giving you full ownership of your code.
GitHub Integration
Connect your GitHub account to export your website as a complete codebase.
Connecting GitHub
- Open your project in the AI Editor
- Go to Workspace → GitHub
- Click "Connect GitHub"
- Authorize PageSmith to access your GitHub account
- Select or create a repository for your project
Exporting Your Code
Once connected:
- Go to Workspace → GitHub
- Click "Export to GitHub"
- Your website code will be pushed to the connected repository
What Gets Exported
Your export includes:
- Complete Next.js project - Production-ready React/Next.js application
- All components - Every page and component you've built
- Assets - Images, fonts, and other media files
- Styling - Tailwind CSS configuration and styles
- TypeScript support - Full type definitions included
Using Your Exported Code
After exporting, you can:
- Clone the repository to your local machine
- Customize the code further in your preferred editor
- Deploy anywhere - Vercel, Netlify, or any Node.js host
- Continue development with your own team
Deployment Options
Your exported Next.js project works with all major hosting platforms:
Recommended:
Other options:
- Cloudflare Pages
- AWS Amplify
- DigitalOcean App Platform
- Any Node.js hosting provider
Keeping Code in Sync
You can export multiple times to keep your GitHub repository updated with changes made in PageSmith. Each export will push the latest version of your site to the connected repository.