org-roam-server icon indicating copy to clipboard operation
org-roam-server copied to clipboard

[Feature Request] Save local static copy of the graph

Open forkrul opened this issue 4 years ago • 3 comments

The graph is absolutely great for visualising note relationships and weekly reviews.

If I want to export a topical Buffer Network (or even a full database network), it would be great to be able to share a "static local" copy of the graph + notes that can then be added to for example, an online blog, or a quick set of notes with friends.

Usecase - example: you study for a course, and have your notes, but also want to share this with others in the class. Example: you create a course and want to give people a layout view of the topics, from which they can drill down.

forkrul avatar Jun 15 '20 10:06 forkrul

While it might be possible, it would be hard and it would be tedious to convert every feature to a static version. For example, org-roam-buffer is generated on the fly depending on the note you are currently looking at. They can be exported but now I have to change the javascript code so that it will read the exported file instead of sending a request to the server. There are other parts of the code that needs to be changed so they don't need the server. To make it exportable to static, I have to keep two versions of the index.html and I have to add static versions of the new features to the second HTML file. If there is something I am missing which makes this whole process a breeze I am open to it.

goktug97 avatar Jun 15 '20 18:06 goktug97

I'll have a look at get back to you.

forkrul avatar Jun 16 '20 19:06 forkrul

Can't you just do a screenshot of the graph?

jmburgos avatar Jun 19 '20 17:06 jmburgos