Foam: Roam Import

Created on 28 Jun 2020  Â·  1Comment  Â·  Source: foambubble/foam

First of all great work!

I've been working on importing my roam knowledge graph into foam. There's a couple of features/issues which I was wondering about.

  1. Roam's export doesn't generate # Headings which are required for the markdown links graph, this seems relatively easy to resolve by simply making the file name the heading.
  2. Roam notes feature backlinks showing which notes reference the note you're on, something like this was implemented by andy matuschak
  3. Resolving block embeds and block references implemented by roam export

I was wondering what the best way to integrate all of this into something Roam users can get up and running quickly in — wether as part of foam, an extension or just simply shipping a js script users can run on import?

documentation enhancement help wanted

Most helpful comment

Thank you for this issue! Migrating to Foam from Roam (and other tools) is on the roadmap and all help is very much appreciated!

Headings

For the time being this is a hard constraint by third party extensions, but you should be able to write a script to generate headings from file names pretty easily. I might do this at some point, but if you need it and end up doing it, please share it and we'll make it available to other Roam/Foam users

Backlinks

Backlinking is already supported in VS Code. See https://foambubble.github.io/foam/backlinking.

I'm considering doing something like Andy's script and bringing them into the files themselves, see: https://foambubble.github.io/foam/materialized-backlinks . I have all the data available already, just haven't decided if it's a good idea or not.

Block embeds

Haven't thought about this yet. When I used Roam, I didn't use block embeds, so need to familiarise myself with the feature. Ideas welcome.

>All comments

Thank you for this issue! Migrating to Foam from Roam (and other tools) is on the roadmap and all help is very much appreciated!

Headings

For the time being this is a hard constraint by third party extensions, but you should be able to write a script to generate headings from file names pretty easily. I might do this at some point, but if you need it and end up doing it, please share it and we'll make it available to other Roam/Foam users

Backlinks

Backlinking is already supported in VS Code. See https://foambubble.github.io/foam/backlinking.

I'm considering doing something like Andy's script and bringing them into the files themselves, see: https://foambubble.github.io/foam/materialized-backlinks . I have all the data available already, just haven't decided if it's a good idea or not.

Block embeds

Haven't thought about this yet. When I used Roam, I didn't use block embeds, so need to familiarise myself with the feature. Ideas welcome.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jmg-duarte picture jmg-duarte  Â·  5Comments

Josh2K picture Josh2K  Â·  3Comments

jsjoeio picture jsjoeio  Â·  3Comments

srid picture srid  Â·  3Comments

jsjoeio picture jsjoeio  Â·  5Comments