DEV Community

Cover image for Connect your Anvil apps to GitHub
Brooke Myers for Anvil

Posted on • Originally published at anvil.works

Connect your Anvil apps to GitHub

Version control, collaboration and open-source made easy

Anvil's new GitHub integration is here to make development and collaboration more efficient than ever by allowing you to keep your Anvil app's source code in a GitHub repository. Whether you're collaborating with teammates or on open-source projects, you can store your source code on GitHub, make pull requests and use all of GitHub's version control and collaboration tools. You don't need to be a Git expert to collaborate using GitHub: Anvil takes care of keeping your app and GitHub repository in sync.

Learn more in our documentation.

Streamlined development and collaboration

The Anvil GitHub integration fits neatly into your workflow. On Anvil's Business Plan and above, you can create private repositories to store and manage Anvil code with the rest of your company's codebase. Open issues, create pull requests, review changes and manage conflicts within GitHub. Anvil's built-in version control tab lets you manage your repository and keep track of code changes from within your app.

The version control tab in the Anvil Editor

Create and contribute to open-source projects

All Anvil users can connect to public repositories for free, so you can create and contribute to open-source projects. Publish your Anvil code on GitHub and share it with other Anvil developers, or open pull requests in other repositories to contribute to Anvil community projects. Show off your Anvil code on your GitHub profile and build a portfolio of your Anvil projects.

The Anvil Extras open-source project

How does it work?

To get started with the GitHub integration, you'll need to either save an app to a new GitHub repository or clone an existing repository into Anvil. No need to be a pro at Git to get started: all your changes will automatically be pushed to the repository, and other developers’ changes will show up live in your app.

Want to use Git but don't want to use GitHub? No problem. Anvil supports other Git remotes as well.

Ready to get started? Check out our GitHub integration quickstart tutorial or dive right in and start building an app.


More about Anvil

Anvil is a platform for building full-stack web apps with nothing but Python. No need to wrestle with JS, HTML, CSS, Python, SQL and all their frameworks – just build it all in Python.

Sign up for Anvil

Top comments (0)