Import from GitHub
Bring an existing app's code into Draftship, keep building it with the AI, and push the changes back to its repository.
Bring an existing app's code into Draftship, keep building it with the AI, and push the changes back to its repository.
Already have an app on GitHub? Import it, and keep building it here with the AI.
apps/web.The code comes in, and the AI makes it run on Draftship, keeping its pages, features, text and look. Then it builds and checks the app like any other. An import counts as one message.
Private repositories work the same way. An organization's repositories appear once the organization allows Draftship in its GitHub settings. You can disconnect GitHub any time under Settings → Integrations.
package.json, lockfile, Next.js and TypeScript config, so the app builds here.Draftship apps are Next.js apps. A Next.js repository comes in almost as it is. Other React apps (for example Vite) are moved to Next.js by the AI, page by page.
On Pro+, choose Push to send your changes back to the repository the app came from. They go to a branch called draftship, never to your main branch, and Draftship opens the page to create a pull request. Files you deleted in Draftship are deleted on the branch; the repository's other files stay as they are.
Draftship needs permission to write to the repository. If it doesn't have it, fork the repository and import your fork.