roam2github icon indicating copy to clipboard operation
roam2github copied to clipboard

Changes to Roam export process

Open stevenhill1 opened this issue 1 year ago • 4 comments

There was a very recent update to Roam, which has changed the export process (introducing a new backup format, MessagePack) and the script is no longer working.

stevenhill1 avatar Sep 04 '24 07:09 stevenhill1

Sorry to hear the script no longer works. Unfortunately, I've stopped using Roam years ago and no longer maintain this project. Plus, Roam has had built-in Auto Backups for awhile. But people are free to fork my code and try to get it working again, or do pull requests with a fix for me to push.

everruler12 avatar Sep 04 '24 08:09 everruler12

@stevenhill1 I fixed this for myself over at https://github.com/dbieber/roam2github

In addition to the code changes, I've also set these env variables:

          BACKUP_JSON: true
          BACKUP_EDN: true
          BACKUP_MARKDOWN: true
          BACKUP_FLAT_MARKDOWN: false
          BACKUP_MSGPACK: false

That's because flat markdown exports weren't loading for me (even if I tried to do it manually in Roam), and because I'm not using msgpack backups at this time.

dbieber avatar Nov 02 '24 17:11 dbieber

@everruler12 I've gone ahead and opened a PR to upstream the changes, but obv feel free to disregard since I know you're not maintaining this project anymore. https://github.com/everruler12/roam2github/pull/23

dbieber avatar Nov 02 '24 17:11 dbieber

@dbieber Cool, thanks! I've merged it

everruler12 avatar Nov 03 '24 01:11 everruler12