everruler12 / roam2github

Automatic backups from Roam Research into your private GitHub repo
MIT License
150 stars 32 forks source link

Changes to Roam export process #22

Open stevenhill1 opened 2 months ago

stevenhill1 commented 2 months ago

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.

everruler12 commented 2 months ago

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.

dbieber commented 1 week ago

@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 commented 1 week ago

@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

everruler12 commented 1 week ago

@dbieber Cool, thanks! I've merged it