Nascent attempt at using Foam to curate and leverage a personal memex
post_title='Getting started with memex'
layout="post"
published=false
id=17864
link="https://djon.es/blog/2020/07/07/getting-started-with-memex/"
category="memex"
My last post was an exploration of Foam (a nascent personal knowledge management and sharing system) and how I might use it. This post documents two steps toward implementation
The end result is that my personal memex is slowly taking shape and a growing familiarity and resonance with how Foam works.
Based on Jarche’s Seek > Sense > Share framework the home page points off to three main sections:
Having more content here has really started to highlight the functionality of Foam and its potential benefits. The auto-complete on Wiki links is very usable and appears likely to help understanding. e.g. it’s already encouraged me to spend more time on naming of notes which means spending more time on thinking about how all this fits together.
At the start, I hadn’t fully grokked the importance of naming files. The wiki-links autocompletion feature means that the location in the file hierarchy isn’t has important as the name.
It’s also reinforced that the very act of using Foam is a form of sharing.
It’s also reinforced the benefit of the “best-of-breed” ecosystem approach to the way Foam is constructed. Each of the VSCode extensions adding a necessary and useful functionality. There’s also been some of the complications of getting disparate systems to talk together. e.g. the aborted first attempt to sync this post and Wordpress.
Different bits of the ecosystem introducing unexpected side effects. e.g. if there’s not a blank line before the auto-generated wiki links, it doesn’t display on github.
There are a few limitations/changes to workflow that I haven’t yet figured out/got to
And generally start embedding this into how I work.
One of the assumptions of Foam is that the authoing environment (VSCode/markdown) can be a positive writing experience. I’m not such a fan of markedown. Writing blog posts in Foam will help me explore/change that in addition to all the benefits of POSSE and Foam.
The hope is that the Wordpress <–> GitHub sync plugin for Wordpress will help.
Installation seems to have worked, but I’ve decided not to import existing posts here. Start afresh.
Is it working? That is the question.
After a bit of fiddling it works. However, it is removing files that Foam uses. Mmmm, not good. It’s not 100% clear to me how and when its removing and moving files in the repo. This is making me nervous.
It’s also 3 years since the last update to the repo, which include a call for maintainers. Moving on.
There is an option with Python but it’s even longer since it was last updated. But it works. There’s also a [Python markdown module] to convert markdown to HTML.
I’m currently in the process of adding a featured image for each post. Which I’ll do manually to start the post. I need a script that’s going to: read the markdown file, extract config about which post/page it’s related to, and then update that page.
That’s done. Sufficient for now, but a huge kludge. But that’s nothing new to what I do.
Needs some tidying up, but that’s tomorrow’s (which never comes?) job.
From previous experimentations I have a Wikity install that contains a collection (not very big) of candidate “zettels”. The idea is that importing those into memex should provide a good collection of zettels to experiment with using Foam. Giving some insights into if and how Foam can work managing such a collection.
The plan here is:
Wikity (I believe) was based on the idea of Cards and CardBoxes. Cards are the equivalent of zettels (which is German for a small piece of paper) and CardBoxes are the equivalent of structure notes (memex’s paths).
One of the problems I face is that I doubt I ever used Wikity all that well. And what is there seems to have broken links
Card:Three types of decentralisation as some wonky content but does include a “see” link that is meant to point to a Cardbox. The content is in markdown and the “see” link is a wiki link [[BAD]]
Cardbox:Affordances contains two cards. It shows that a CardBox is essentially only links to other cards. The content is shown in the left hand nav bar. The content of this Wordpress post is two wiki links to the cards e.g.
[[Why the web scales]]
[[Blackboard tweaks]]
It appears that the only sign that it’s a CardBox is that inclusion of CardBox:: in the title.
Suggesting it should just be a matter of extracting the content of each post and writing it to a proper place and all should be good?
Wikity is a theme on top of Wordpress. Hence the python-wordpress.xmlrpc package used above should be able to grab the cards.
And it can. Quite easily. The question now is how to insert it into memex.
Since Wikity uses markdown (as does Foam/memex) there is no immediate need to transform. The question will be if there are any specific additional transformations (e.g. links) that need to be made to make it all work in Foam.
Plan is to insert the wikity cards and card boxes into the Sense section of memex. At some level the cards have already been ‘sensed’, just not very well. The question in my mind is how to do this? What structure to use?
The Foam community to the rescue with this example found on Twitter. A concrete example to explore. The concepts directory is holding the equivalent of card boxes. Semi-equivalent to the sense directory in memex. Each “card box” then has its own “index” and directory for cards
Steps:
It’s simple to write the files using Python. But doing so bypasses VS-Code so doesn’t run the plugin that enable wiki links to work.
Problem 1 is a step too far for my knowledge and time at the moment.
The wikity notes are imported, but github pages isn’t building. Potentially because the wikity stuff was all over the place. Some HTML, some markdown. Trawling through those, fixing problems and re-allocating notes.
Also removing colons from filenames.
It does appear to be working