Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to export? #48

Open
anthrolisp opened this issue Nov 6, 2019 · 5 comments
Open

Any way to export? #48

anthrolisp opened this issue Nov 6, 2019 · 5 comments

Comments

@anthrolisp
Copy link

Is there any way to export one's data? Many thanks in advance!

@deadjakk
Copy link

deadjakk commented Jan 7, 2020

it would be great if there were a option to use a designated directory that maintained "real" files so that the data could be edited/read/exported instead of placing the content into the voidmap itself.

@Alch-Emi
Copy link

Alch-Emi commented Jul 10, 2022

Considering implementing this myself. I know this thread is 2+ years dead, but what sort of format do folks think would be appropriate for this?

I'm thinking plaintext, with each node on one line, one tab per indentation level off of the root node. It'd lose node position and arrow data, but it's closest to how I would be representing the data if working just in plaintext + my editor

@deadjakk
Copy link

I think this was about exporting the information from the nodes using txt:blah at least in my case, that's what I want(ed).
So after hitting some keybinding, you could be prompted for a root directory name and then it could create a directory tree containing each of the nodes' names at their respective level. Any final 'leaves' could be an empty text file with the name of the leaves. If the leaf is a txt: node, then the plaintext leaf file could contain the same plaintext information within the txt: node.
You'd of course have to account for multiple root nodes and txt: nodes that are branches but it's do-able.
So for something like :
image

The following could be generated:

~ $ tree Some\ note/
Some note/
└── something
    ├── level
    │   └── another_level
    │       └── final.txt
    └── something.txt

3 directories, 2 files

@plavcik
Copy link

plavcik commented Feb 8, 2024

I see two possible future requests.

1st export binary void.db to human readable format, at least TXT, but formats "supporting" trees can be usefull to. Workarround for TXT is copy/paste from void terminal to text file in other terminal.

2nd export or even use nativelly tree structure on filesystem (advantage, you can use other tools for editing, searching, copying, deleting, .. void started at some level will take root from that part, challanges: encoding, unix vs dos end of lines, name of files in UTF-8, .. ) the native use of filesystem looks too complex
Jiří

@deadjakk
Copy link

deadjakk commented Feb 8, 2024

I see two possible future requests.

1st export binary void.db to human readable format, at least TXT, but formats "supporting" trees can be usefull to. Workarround for TXT is copy/paste from void terminal to text file in other terminal.

2nd export or even use nativelly tree structure on filesystem (advantage, you can use other tools for editing, searching, copying, deleting, .. void started at some level will take root from that part, challanges: encoding, unix vs dos end of lines, name of files in UTF-8, .. ) the native use of filesystem looks too complex Jiří

Well with the idea of using the filesystem tree as a possible export format is also the idea of creating an import/build function from the filesystem. this could be useful for visualization of a number of projects, such as project notes, code files, mdbooks, etc. lastly the implications of this is that void could then function as a way of altering file structures in a visual manner from the terminal without really impeding or redefining it's originally intended purpose.

Also if you had to make a number of changes to a lot of nodes or files within nodes, you could do so by exporting, make mass changes to the files, then re-build (import) the void map from the tree which is a neat help.

Just throwing out ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants