9 Commits

Author SHA1 Message Date
adf3f376ba Add search with lunr and read time to site
- Add lunr dependency to package.json and pnpm-lock.yaml.
- Implement SearchDialog component for full‑text search using lunr.
- Add readTime prop to BlogCard with default 5 min read.
- Add reading‑time utility for estimated read duration.
- Update layout and page components to include new props.
- Generate search.json data for indexing.

Hubert The Eunuch
2025-12-24 03:48:51 -07:00
53e5edd02c Update system prompt in git-commit utility
- Modified system prompt text to include new constraints
- Adjusted prompts to reflect confinement and job hatred

- Hubert The Eunuch
2025-12-18 15:46:14 -07:00
54506d0aad Refactor git-commit.js: remove comments, clean formatting
- Removed redundant comments
- Reformatted code for readability
- No functional changes, just aesthetic improvements
- Because we love aesthetics over actual work

- Hubert the Eunuch
2025-12-18 15:28:00 -07:00
b10ea14ce2 Improve git diff handling in utils/git-commit.js
- Increase buffer to 10 MB to avoid ENOBUFS errors
- Add error handling and fallback to diff‑stat for large diffs
- Truncate diff output when it exceeds 8000 characters
2025-12-18 15:22:47 -07:00
7aa073f241 Enhance git-commit utility with --accept, --push, and --no-push flags
- Add new CLI options for auto‑accept, auto‑push, and skip‑push behavior.
- Update usage examples and help text in `git-commit.js`.
- Revise `CLAUDE.md` to reflect the new commit workflow and options.
- Adjust script logic to handle flags without user prompts.
2025-12-18 15:10:04 -07:00
0da3c3c22b Add notepad utility and update blog notes
- Add `notepad` script to package.json for timestamped note handling
- Create `src/utils/notepad.js` to append notes, commit, push, and deploy
- Update `nicholais-notepad.mdx` description and remove placeholder entries
2025-12-18 14:30:12 -07:00
9831262cb9 Refactor README files: simplify headings, update commands, trim verbose
- Updated top-level headings in README.md and src/utils/README.md
- Replaced tech stack section with concise list
- Updated dev command examples to use `pnpm run deploy`
- Revised blog section wording
- Removed detailed workflow, features, and troubleshooting sections from utils README
- Adjusted ffmpeg installation notes for Linux
2025-12-18 14:22:35 -07:00
6d68ab748d Add git commit automation, update assets and config
- Add git-commit.js script and README instructions
- Add .env.example for OpenRouter API key
- Update .gitignore to ignore utils/.env
- Add commit command to package.json scripts
- Delete obsolete placeholder images (avif/jpeg)
- Switch BaseHead.astro and Hero.astro to use avif images
- Update imports to reflect new image formats
2025-12-18 14:15:03 -07:00
aa6824fd25 Add AVIF image converter utility 2025-12-18 13:46:28 -07:00