by rcarmo · 6y ago · 0 comments
It’s the same issue with static sites: you get a posts folder, dump everything in it, and then you dump all the images in an images folder and lose association between them.
I would much prefer if these tools took front matter metadata (or a pathname) to link to each other and had a note-per-folder approach (my own site does that, and I store images for each post in the same folder as “index.md”—the pathname becomes the final URL).
FWIW, subdirectory linking support is not far away. Work is being tracked on GitHub at the issue below, and I already have a WIP PR in the works: https://github.com/foambubble/foam-vscode/issues/8
If you have any more suggestions and ideas on how to improve Foam, feel free to open issues on GitHub!
Storing them into folders is just giving you problems. I would need to put them into many folders, to get any benefits, but than again, this could be done by tags so much more easily.
In the end there is no reason to directly manipulate the file structure. It is just easier to have a flat hierarchy. If I need to find something: there are tags, there is the graph, and of course there is a full text search.
If I'm looking for the word cow in a doc that I think is in a folder (even if it's in subfolders), then I can do this:
grep --color=always -r "cow"
(I like setting color to always, and for some reason I'm too lazy to set up an alias so I don't have to type it)
I can get way more complicated by escaping spaces, looking for certain file types, etc.... really this does about the same as grep though - but still interesting:
find -name ".txt" -o -name ".md" -type f | sed 's/\ /\\\ /'g | xargs grep --color=always -n "cow"
Using these utilities, I've been able to find things in lots of lines of code, or lots of lines of md files.
On our platform, everything is a card (rather than a document), and if you want an actual structured hierarchy, you can nest cards inside other cards. Each card can have multiple parents, so if you are collaborating with others you can easily have the same "card" in different places to keep yourself organized. In that way it works similar to symbolic links in a filesystem, except it's nesting so there are no folders – just cards all the way down.
At the same time, because your cards are not actually siloed into different folders, we have things like the "home", which has all the cards you've ever made so that you can easily filter your entire library by tag / author / etc. and see all of those cards at once.
Unlike the OC solution, however, Supernotes is not self-hosted, and so probably isn't as appealing to a lot of the techie HN crowd.
https://www.amazon.com/Dreaming-Code-Programmers-Transcenden...
https://www.chandlerproject.org/vision/
> cards can not only have multiple parents but can have different parents for different users. This aspect might be novel
Very nice.
Question: Do you have an option where your backend could be used to supply content to a frontend public website? Mind you, given your data structure, I'm not sure how that would work.
Let me give you an example. I like to read, mostly long form non-fiction (i.e., books). Naturally, I highlight things of importance. I want to take those ideas and get them into something where I can organize, add categories and tags, etc.
Yes. A basic WordPress site would be sufficient. But given a tool like yours, why not try to take up a level? On the backend, my "thoughts" well organized. The frontend some view of that I'd want to share with the public.
Thoughts?
Hopefully quite soon (we already have a working demo) we will introduce "card pages", which will be public (or semi-private, it'll be configurable) pages that represent either a card itself or that card's children. These pages can then be embedded into any other webpage.
The idea is to both support behavior akin to embedding a tweet, where you are just viewing a singular card as a card, but also to allow people to effectively create "documents" on Supernotes (that can then be shared publicly) by displaying the children of a card in "seamless" mode, so that even though it's actually a bunch of cards under the hood, it'll look like a blog post, or wiki article, or readme, or whatever.
Every card on Supernotes will be able to have multiple pages, so that you can have a truly publicly-facing representation (which might limit how people can interact with it) but simultaneously embed your card somewhere else that is semi-private (like a Notion doc for your team) and allow people to actually interact / edit the card from there.
Being an HNer working on the product is a pretty big pro for me. Will be showing this specific comment to a few people for reference to Supernotes as well.
Being around HN for a while has definitely influenced how I think about the product and what I want to build. For a while I was wanting to build Supernotes as a federated service (and at some level I still want to do that), but for now the focus is mostly on making the most seamless UX.
But you can tag your ideas, or create "folder" notes that contain list of other notes. And you can nest those notes or course, and even have loops in your graph, so it's more flexible than folders.
Also, for static sites, I use Jekyll and I create a folder for each post in the image directory. It's very convenient.
That's not a bug, but a feature of Zettelkasten.
I generally like to annotate or mark stuff instead of sorting them into folders to search through them later. It's by far easier to remember _what_ you're looking for than _where_ you can find it. If you're trying to find a place you have been to before, it's easier to remember a land mark next to it than the streets you have to drive down.
Not with page bundles in Hugo: https://gohugo.io/content-management/organization/
I'm using a a much less capable tool for managing my notes called `mkdocs`. It converts a collection of markdown pages to HTML that I serve from a script running on a Raspberry Pi (`python3 -m http.server 8100`) `mkdocs` provides Github integration but I keep the repo on a private server so I don;t have to worry about private information leaking. Point is, It does nothing with directories so that is completely under my control. It links the pages hierarchically but I can insert links between pages and to images. Manually.
A full hierarchical approach (not just single level) is much better (believe me, I’ve been doing this for 16 years and have nearly 8000 notes/posts at taoofmac.com).
In fact, insisting to placing notes in a single hierarchy only serves to support a common but incorrect notion IMO: that things have but one single, universally valid, most important attribute. Of course no one will seriously argue that this is the case, but the notion is nonetheless ubiquitous because of our need to simplify, probably.
I think it would be better if you recognized that while this works neatly for you, some of us have other systems that work nicely for us.
Tags and search in particular are really empowering to me because I can file things in multiple places and find them in all of them - or I can search for multiple tags at once to slice out a subset of my notes or bookmarks.
If only that was limited to static site generators. Wordpress does not have any media organizing by default, no folders, no nothing. There are plugins, of course.
That was my biggest surprise when I recently looked at Wordpress.