Hi! I'm Cory. 👋🏻
This is the code for my personal website and portfolio. Built using 11ty and other tools.
- Follow me on Mastodon
- Buy me a coffee
- What I'm listening to
- What I'm watching
- What I'm reading
- What I'm doing now
npm run setup
npm start
- Open
http://localhost:8080
To debug and develop php components, run npm run php
. This will start the PHP server on http://localhost:8000
and inject required environment variables from .env
. It will also serve the static 11ty files from dist
, so you can test the full site locally while leaving 11ty running to generate updates to files it watches.
npm run start
: starts 11ty.npm run start:quick
: starts 11ty a bit quicker (provided it's already been built).npm run build
: builds static site output.npm run debug
: runs 11ty with additional debug output.npm run php
: starts a PHP server for local development.npm run update:deps
: checks for dependency updates and updates 11ty.npm run setup
: populates.env
from 1Password and installs dependencies usingnpm
andcomposer
.npm run clean
: removes the build output folder to allow for a clean build.
POSTGREST_URL # client + server
POSTGREST_API_KEY # client + server
MASTODON_ACCESS_TOKEN # server
MASTODON_SYNDICATION_TOKEN # server
FORWARDEMAIL_API_KEY # server
BOOK_IMPORT_TOKEN # server
WATCHING_IMPORT_TOKEN # server
TMDB_API_KEY # server
JELLYFIN_SCROBBLE_TOKEN # server
JELLYFIN_URL # server
JELLYFIN_API_KEY # server
ARTIST_IMPORT_TOKEN # server