# Put your Framer site on GitHub

URL: https://frametonext.com/convert/framer-to-github · Updated 2026-11-18

> Get your Framer website into a GitHub repository as real source code: React components, CSS and routes you can review, version and deploy from GitHub.

A repository needs source files, not a published bundle. Convert your Framer site into a Next.js or Vite + React project, commit it, and you get pull requests, history for every line and deploys from GitHub.

- **Source, not a snapshot:** Readable .tsx components and CSS named after your own components and styles, so diffs mean something in code review.
- **History from day one:** Commit the first conversion, then bring in later conversions on a branch and merge them without losing your edits.
- **Deploy from the repo:** Connect the repository to Vercel or Netlify, or build a Vite + React project with GitHub Actions and serve it with GitHub Pages.

## Push a converted site to GitHub

Five commands after you download the project.

- `git init` in the project folder
- `git add -A` and `git commit -m "Converted from Framer"`
- Create an empty repository on GitHub
- `git remote add origin <repository URL>`
- `git push -u origin main`

## Hosting on GitHub Pages

GitHub Pages serves static files, so choose the Vite + React project type and publish the `dist/` folder of `npm run build`. Page paths start at the root (`/about`), so serve the site from a custom domain or from a user or organization site rather than a project subfolder.

## What about Framer's GitHub plugins?

Framer's marketplace has plugins that sync code components you wrote in Framer with a repository. They cover those code files, not the pages, layout and interactions you designed on the canvas. A conversion gives you the whole site as source.

## Frequently asked questions

**Can I connect Framer to GitHub directly?**

Framer's marketplace has plugins that sync code components with a repository. To put the whole site in GitHub as source code, convert it into a Next.js or Vite + React project and push that.

**Is the project ready to commit?**

Yes. It includes a .gitignore, a README and an ordinary package.json with every dependency pinned to an exact version.

**How do I update the repository when the Framer design changes?**

Convert again, bring the new download in on a branch that starts from the first conversion, and merge. Your edits stay and conflicts are shown, not overwritten.

---

FrameToNext (Framer to Next.js converter) · https://frametonext.com/ · All pages: https://frametonext.com/llms.txt · Start free: https://frametonext.com/sign-up
