Improvements
karlhorky opened this issue · comments
Hey @richartkeil, just wanted to ping you that I've finished my improvements to the script:
- Export from blocks instead of entire workspace (with
recursive
option) - Switch to ESM, top-level
await
- Change forking workflow to template workflow, simplify instructions
- Commit to same repo instead of an external one
https://github.com/upleveled/notion-backup
Feel free to take anything that is useful! (and close this issue whenever you like) Happy to answer any questions too.
Credited you at the bottom too, because your script proved to be a great basis for writing this.
Hey @karlhorky, thanks for improving the tool! I just got around to look into it again and your fixes were really helpful. I also added a mention pointing to your repository for users who prefer the same-repo solution :)
Nice, glad they were helpful! Thanks for the mention!
Btw I've been keeping this up to date (latest dependencies, etc), and I also switched to TypeScript: