SEP 48: Remove assets from notes directory

Currently all the sites assets and everything needed to build it live within my ‘notes’ directory.

This has advantages in terms of keeping everything needed all together, meaning less has to be mentally kept track of, but as this project grows I find that I want more separation. I don’t like having a subset of my images duplicated between my ~/images and ~/notes dirs.

For reasons, I like for my text centric repos to remain small, referencing only those text files. Extraneous assets bloat repos.

I see there being two stages to this proposal:

  1. Migrate image assets out of notes dir (currently at ~/notes/assets/images). Most of them are simply duplicated from my ~/images directory anyway and I don’t like duplication. Any that for whatever reason are not in my ~/images directory will be moved there.

    • Create an asset list that allows me to reference images by UUID and also accomodates local and remote refs (for local and production builds of the site).
  2. Extract site specific assets and the build script out to a separate repo for development, leaving my ~/notes directly purely for… notes!

  3. Begin storing site assets remotely, eg assets.silasjelley.com
    Given that I spend much of my time ‘offline’, it will be necessary to also support a local assets store/cache so I can continue to run site builds locally with full asset presence. For this I propose a new handler (see SEP 49: Handler for asset referencing.