Description
roam-to-git is a script that backs up a Roam Research graph to a Git repository automatically. Each run downloads a Markdown archive, a JSON archive and the full EDN export of your Roam workspace, unzips them into your Git directory, formats the Markdown including backlinks, and commits and pushes the differences to GitHub. The README gives three reasons to use it: you have a backup if Roam loses data, you keep a history of your notes, and you can browse the repository on a mobile device. The recommended way to run it is through GitHub Actions, using a private GitHub repository for your notes and three GitHub secrets. The README says version 0.2 uses the Selenium library, which made it faster and more stable, and that it also downloads the EDN archive. For accounts that use Login with Google, the README explains that they cannot be snapshotted, so you create a native Roam account through the reset password link. The repository also hosts an unofficial backup of the Roam help database.…
Highlights
- Markdown, JSON and EDN exports of a Roam graph
- Backlinks in formatted Markdown
- Commits and pushes changes to GitHub
- Runs on GitHub Actions
Ratings & Reviews
No ratings yet
Be the first to rate Roam To Git.
People also visit

open-notebook
Organizes research with the self-hosted Open Notebook alternative to NotebookLM
Roam To Git FAQ
What does it back up?
A Markdown archive, a JSON archive and the full EDN export of your Roam Research workspace.
How does it run?
The README recommends GitHub Actions. Create a private repository for your notes and add three secrets to it.
Does it work with Login with Google accounts?
Not directly. The README says those accounts cannot be snapshotted, so you create a native Roam account through the reset password link.
What changed in version 0.2?
It uses the Selenium library, which the README says is faster and more stable, and it now downloads the EDN archive.
Where can I see the history?
Each backup is a commit in a GitHub repository, so you can browse the history there, including from a mobile device.
What are the best Roam To Git alternatives?
Popular alternatives to Roam To Git include Org Roam, Crossnote App and Osmosmemo. See all Roam To Git alternatives



