Import a repository
Scan a public repository on GitHub, GitLab, Bitbucket or Azure DevOps and choose the diagrams to add.
- In Projects, choose Import repository (in the sidebar under Open file, or in an empty project).
- Paste the repository’s address:
github.com/owner/repository,gitlab.com/group/project,bitbucket.org/workspace/repositoryordev.azure.com/organisation/project/_git/repository. - To scan one folder of a large repository, add the branch and folder:
/tree/branch/folderon GitHub,/-/tree/branch/folderon GitLab,/src/branch/folderon Bitbucket. On Azure DevOps, open the branch and folder in Azure and paste that address. - Choose Scan repository. The dialog says what it’s doing: finding the latest commit, reading the files that describe the project, drawing.
- The result shows the branch, the commit (linked to the host) and the folder, any notes about what was left out, and the diagrams found. Each is ticked; untick those you don’t want, or use Clear all and Select all.
- Under Style, pick a theme, or the style of one of your templates or presets. Left as it is, the diagrams take the editor’s current style. Your choice is remembered in this browser.
- Choose Add and open (or Add 3 diagrams for several). They go into a new project named after the repository, or into the open project when your plan has no room for another.
- Plans: scanning needs no account. Adding diagrams needs one; Free counts repositories (see Limits on Free). No AI is used, so no credits.
- Your data: your browser reads a public repository straight from the host. The files aren’t sent to Flowgraph, which keeps only the diagrams you add and where they came from. Code diagrams of GitHub and Bitbucket are the exception: see Codebase map.
- If it doesn’t work: hosts limit how often one network can read without signing in. GitHub’s limit is shared by everyone on your network’s address, and Bitbucket allows only about 60 reads an hour, so scan one folder of a large Bitbucket repository. When a limit runs out, the scan says when to try again. Scan another goes back to the address.
Guides: GitHub, GitLab, Bitbucket, Azure DevOps.