A short walkthrough · GitHub

Save an Excalidraw diagram to GitHub.

Keep a diagram alongside your design docs and code. drawchi saves an editable .excalidraw file in your repository, with each save recorded as a commit.

No token needed to start drawing. You’ll connect GitHub only when you’re ready to save there.

01 / Start locally

Open or create a drawing.

Open drawchi and choose Start drawing for a blank canvas, or Try a sample for an editable diagram. Double-click a box in the sample to make it yours.

Your session starts in this browser; you don’t need a GitHub account or token to try it.

An editable sample diagram in drawchi, with Save to in the workspace header
The sample is yours to edit. Save to… is in the workspace header.
02 / Connect GitHub

Choose where it will live.

In the workspace, select Save to…, choose GitHub, and select Next. If you haven’t connected an account, the wizard helps you create and paste a fine-grained personal access token.

Give the token only what it needs. Under Repository access, select the repository you want to use. Under Repository permissions, set Contents: Read and write. The wizard links to a pre-filled token page; you still need to select your repository. See the GitHub connection guide for details.
03 / Save the file

Pick a place, then save.

Choose a Repository, Branch, and Folder, then accept or edit the file name. The branch step is skipped if there’s only one branch. Review the location and select Save here.

drawchi checks access before saving. The example below uses a mock repository; choose your own repository and path.

The GitHub save review showing the example repository alice/drawings, branch main, folder diagrams, file a-little-idea.excalidraw, and Save here button
Review the repository, branch, folder, and file before saving.
04 / Keep it in the loop

From sketch to design doc.

On GitHub, browse to the chosen repository, branch, and folder to check the .excalidraw file. You can also open the location menu in drawchi and choose Open in GitHub.

For later edits, use Sync to commit the current drawing to the same path. Keep the file with your design docs and use GitHub’s normal history and pull-request workflow to review changes. If the remote file changed, drawchi asks you how to resolve the conflict rather than silently overwriting it.

This is not real-time collaboration: changes are shared when you sync, not as you draw.