🎧 The source for my personal site. Built using 11ty (and other tools). https://www.coryd.dev/colophon
Find a file
2025-06-08 17:21:05 -07:00
api chore(api/*): cleans up unnecessary network calls, fixes tag + genre assignments 2025-06-06 12:01:42 -07:00
cli feat(cli): add support for repeated directus tasks 2025-06-08 17:21:05 -07:00
config chore(package.json): replace JSDom with cheerio for faster relative link parsing 2025-06-03 14:01:30 -07:00
queries fix(scheduled_shows.sql): add missing metadata 2025-06-04 16:37:50 -07:00
scripts feat(cli): add support for running import and API jobs 2025-06-08 15:47:09 -07:00
server/utils feat(search.html): update to disable and show loading state w/load more button; improve fuzzy search + debounce 2025-05-30 17:33:41 -07:00
src fix(watching): correct typos on sub pages, add links out to other sub pages and hero images on landing pages 2025-06-06 16:53:53 -07:00
.dockerignore chore(Dockerfile): build and deploy via Docker, remove Nixpacks 2025-04-28 11:29:16 -07:00
.editorconfig feat: initial commit 2025-03-27 17:09:59 -07:00
.gitignore feat(cli): add site cli to run scripts + handle media 2025-06-05 20:20:58 -07:00
.markdownlint.json feat: initial commit 2025-03-27 17:09:59 -07:00
.npmrc feat: initial commit 2025-03-27 17:09:59 -07:00
.nvmrc feat: initial commit 2025-03-27 17:09:59 -07:00
composer.json feat(search.html): update to disable and show loading state w/load more button; improve fuzzy search + debounce 2025-05-30 17:33:41 -07:00
composer.lock feat(search.html): update to disable and show loading state w/load more button; improve fuzzy search + debounce 2025-05-30 17:33:41 -07:00
Dockerfile chore(Dockerfile): build and deploy via Docker, remove Nixpacks 2025-04-28 11:29:16 -07:00
eleventy.config.js feat(html): minify static and dynamic html output 2025-04-14 10:05:57 -07:00
package-lock.json feat(cli): add support for running import and API jobs 2025-06-08 15:47:09 -07:00
package.json feat(cli): add support for running import and API jobs 2025-06-08 15:47:09 -07:00
README.md chore(package.json): remove unnecessary commands 2025-06-05 21:00:03 -07:00

coryd.dev

This is the source for my personal site built using 11ty, PHP and a number of other tools.

Local dev setup

npm run setup

This will generate the required .env file, install dependencies and configure the CLI.

Once the CLI is installed, it is invoked by running coryd.

Remote dev setup

npm run setup:dev

This runs setup and generates apache configs, commands and php extensions to install and enable on the server.

Local dev workflow

  1. coryd run start
  2. Open http://localhost:8080

This will run eleventy --watch and the PHP cli concurrently, allowing for an environment similar to production where both static and dynamic pages are available.

CLI

  • cli init: begins a series of prompts to populate the config used by cli download.
  • cli run: presents a list of commands available to run (described below).
  • cli run [command]: runs the specified command immediately.
  • cli download: presents prompts to download images, name them consistently and place them in the directories specified when running cli init.

Commands

  • coryd run start: primary dev command that runs watch and php concurrently.
  • coryd run watch: watch and update when files change without running the web server.
  • coryd run php: starts a PHP server for local development.
  • coryd run build: builds static site output.
  • coryd run clean: removes the dist and .cache folders.
  • coryd run update: checks for dependency updates and updates 11ty.

Required environment variables

POSTGREST_URL              # client + server + build
POSTGREST_API_KEY          # client + server + build
MASTODON_ACCESS_TOKEN      # server
MASTODON_SYNDICATION_TOKEN # server
FORWARDEMAIL_API_KEY       # server
BOOK_IMPORT_TOKEN          # server
WATCHING_IMPORT_TOKEN      # server
TMDB_API_KEY               # server
NAVIDROME_SCROBBLE_TOKEN   # server
NAVIDROME_API_URL          # server
NAVIDROME_API_TOKEN        # server
ARTIST_IMPORT_TOKEN        # server
COOLIFY_REBUILD_TOKEN      # server
COOLIFY_REBUILD_URL        # server
GIT_REPO                   # build
SERVER_URL                 # build