Adrian Castillo
Work Musings Contact
    Manage Musings

    How to add or publish

    1. New Entry or Edit → set the date, write the body → Save in the editor (this updates the page in the browser; it is not on disk yet).
    2. Save the JSON to your repo: while npm run dev is running, click Post to project to write public/musings-posts.json automatically. If you do not see that button, use Download or Copy JSON and replace public/musings-posts.json in your project by hand.
    3. Publish the site: commit and push public/musings-posts.json (and run your usual deploy) so the live site updates.

    Open this page with ?musings-admin=1 to get here without the keyboard shortcut, or use the same secret typing shortcut as before.

    List of Musings

      Entry Editor

      Select "New Entry" or "Edit" to begin writing…

      To publish to the web, commit and push public/musings-posts.json (and run your usual deploy). Run npm run build or npm run dev to verify locally.

      With Post to project (visible only while npm run dev is running), the file is written for you in public/ — you still push to GitHub for the live site.

      Download / Copy JSON are for editing the file outside the dev server or another machine.

      Tip: add ?musings-admin=1 to this page URL to open the editor without the keyboard shortcut.