Skip to content
6

Privacy and permissions ​

What Diagit reads, what it stores and where anything goes. In short: it collects no data, and file contents only travel between your browser and the Git host you are viewing.

What Diagit reads ​

  • Model files on pages you open. On a supported Git host, Diagit reads the content of the model files on the page, with the login you already have in the browser. That is how private repositories on GitLab and GitHub Enterprise work.
  • Pull request and commit data. For a diff it reads which files changed and their two versions, from the same host. On github.com, the list of changed files comes from api.github.com. Public repositories work without a token; once you connect, the token is attached to every request to api.github.com.
  • Local files in the viewer page are read in the browser and never sent anywhere.
  • A file opened with Open in Diagit is read by the viewer page with the login you already have in the browser and without the token, only from GitHub, GitLab and the domains you allowed.
  • A diff opened with Open in Diagit is read by the viewer page like the diff on the pull request page: the file versions with the login you already have in the browser, and on github.com the list of changed files from api.github.com, with the token once you connect.

Diagit has no server. There are no analytics and no tracking.

What Diagit stores ​

Everything stays in your browser's extension storage:

StoredWhyRemoved by
Self-hosted domains you allowTo know where to draw modelsRemove in the options
A GitHub access token, only if you connectPrivate repositories on github.comDisconnect in the options
Your GitHub username, only if you connectTo show which account is connectedDisconnect in the options

The access token is sent only to api.github.com, and only for the data of pull requests and commits, and to show which account you connected.

Connecting also stores the refresh token that renews the access token. It is sent only to github.com, and Disconnect removes it too.

Permissions ​

PermissionUsed for
Access to github.com, gitlab.com, raw.githubusercontent.comRead and draw model files on these sites
Access to api.github.comPull request and commit data on github.com, with the token if you connected
Access to a self-hosted domainOnly after you allow that domain
scripting, storageDraw the viewer on the page; remember your domains and the token
contextMenus, activeTabEnable Diagit on this domain from the toolbar icon or the right-click menu

Where this is decided ​

The full privacy policy is PRIVACY.md in the repository, and the code is open under the MIT License.

Next steps ​