Viewing a single comment thread. View all comments

raddleboy OP wrote (edited )

You seem like a friend on here /u/inthedustoftheplanet

Instead of clarifying myself further, i'll give you the problem.

The problem -

YOU have a personal diary/journal. You want to add pictures, videos and whatnot to it. But adding them would make your diary/journal unusable (bcz it would be insanely huge 100-200 gb atleast, by the time you die). You tried adding hyperlinks but they were useless when you inevitably changed your setup or moved or renamed the file. But you still want to add objects. how do you do it?

Rules -

Keep it offline

keep it as safe as possible

5

moonlune wrote

Her methode is still the best way to do it and have workarounds to your problems.

(bcz it would be insanely huge 100-200 gb atleast, by the time you die)

the whole of wikipedia is 70 gb (20gb compressed). You've got time.

5

inthedustofthisplanet wrote (edited )

Your best option is to compress the images given the constraints you have. If the unusability is due to the file size then I would consider breaking the journal/diary into smaller parts and compress and encrypt all entries older than a certain date.

I would consider getting an external hard-drive to store the data on, which can then be encrypted. Honestly, compression isn't even the biggest help here, but I think if I understand correctly you have one massive file that possibly takes a long time to load in which case follow my advice above and begin cutting it into smaller sections.

The setup I would do is something like this:

diary/
├── 12-10-2021
│   ├── entries
│   └── img
├── 13-10-2021
│   ├── entries
│   └── img
├── 14-10-2021
│   ├── entries
│   └── img
├── 15-10-2021
│   ├── entries
│   └── img
├── 16-10-2021
│   ├── entries
│   └── img
├── 17-10-2021
│   ├── entries
│   └── img
└── 18-10-2021
    ├── entries
    └── img

I would use Typora to make a Markdown file for each day and make the references to the images in the /img sub-directory for each day and store the markdown and pdf files in their respective places like so, using mkdir $(date +"%d-%m-%Y/entries/img") -p, which creates a directory with the current date and the entries and img sub directories:

12-10-2021/
└── entries
    ├── img
    │   ├── anotherexample.mp4
    │   └── example.jpg
    ├── journalentry.md
    └── journalentry.pdf

I am sure there is ways of improving this and to be honest tools that probably automate a lot of it. I've considered writing my own journal program in python before... just more reason to do so!


You seem like a friend on here /u/inthedustoftheplanet

<3

4

raddleboy OP wrote (edited )

Okay... it took me a while to wrap my head around the replies i got to my query.

What i have figured out is that an offline wiki would be perfect; (right?). Something like foam, zettlr or obsidian. They would allow me to add whatever filetype or size i want without actually increasing the size of the .md file.

Just one thing... I didn't completely understand your answer completely,

Could you kindly ELI5? because all i can think right now is that i will have a .md file for 1 year i.e.,

<div>
**2021** *this_is_a_folder_in_a_markdown_app*

    |--- the_file_with_the_text.md
    
    |--- the_sub-folder_containing_attachments

--------------------------------------------------------------
**2022** *this_is_a_folder_in_a_markdown_app*

    |--- the_file_with_the_text.md

    |--- the_sub-folder_containing_attachments
</div>

Is this format reasonable or is a better setup possible? Any and all suggestions are earnestly welcome.

3