2025-12-14 11:30:22 -08:00
|
|
|
# Markdown Blog - Tasks
|
|
|
|
|
|
2025-12-20 11:05:38 -08:00
|
|
|
## To Do
|
|
|
|
|
|
2025-12-24 13:49:00 -08:00
|
|
|
- [ ] Newsletter signup
|
|
|
|
|
- [ ] Comments system
|
|
|
|
|
- [ ] Draft preview mode
|
2025-12-23 00:21:57 -08:00
|
|
|
|
2025-12-14 11:30:22 -08:00
|
|
|
## Current Status
|
|
|
|
|
|
2025-12-24 14:35:49 -08:00
|
|
|
v1.27.0 ready. Added homepage post limit and optional "read more" link configuration.
|
2025-12-14 11:30:22 -08:00
|
|
|
|
|
|
|
|
## Completed
|
2025-12-24 13:49:00 -08:00
|
|
|
|
2025-12-24 14:35:49 -08:00
|
|
|
- [x] Homepage post limit configuration (homePostsLimit in siteConfig.postsDisplay)
|
|
|
|
|
- [x] Optional "read more" link below limited post list (homePostsReadMore config)
|
|
|
|
|
- [x] Customizable link text and destination URL
|
|
|
|
|
- [x] CSS styling for read more link with hover effects
|
|
|
|
|
- [x] Conditional rendering logic to show link only when posts are limited
|
2025-12-24 13:49:00 -08:00
|
|
|
- [x] Tag pages at `/tags/[tag]` route with view mode toggle
|
|
|
|
|
- [x] Related posts component for blog post footers (up to 3 related posts by shared tags)
|
|
|
|
|
- [x] Tag links in post footers now navigate to tag archive pages
|
|
|
|
|
- [x] Open in AI links (ChatGPT, Claude, Perplexity) re-enabled using GitHub raw URLs
|
|
|
|
|
- [x] `gitHubRepo` configuration in siteConfig.ts for AI service URL construction
|
|
|
|
|
- [x] `by_tags` index added to posts table in convex/schema.ts
|
|
|
|
|
- [x] New Convex queries: `getAllTags`, `getPostsByTag`, `getRelatedPosts`
|
|
|
|
|
- [x] Sitemap updated to include dynamically generated tag pages
|
|
|
|
|
- [x] Documentation updated with git push requirement for AI links
|
|
|
|
|
- [x] Mobile responsive styling for tag pages and related posts
|
|
|
|
|
- [x] Fixed sidebar border width consistency using box-shadow instead of border-right
|
|
|
|
|
- [x] Hidden sidebar scrollbar while maintaining scroll functionality
|
|
|
|
|
- [x] Added top border and border-radius to sidebar wrapper using CSS variables
|
|
|
|
|
- [x] Updated CSS documentation for sidebar border implementation
|
|
|
|
|
- [x] Fixed mobile menu breakpoint to match sidebar hide breakpoint (1024px)
|
|
|
|
|
- [x] Mobile hamburger menu now shows whenever sidebar is hidden
|
2025-12-24 12:23:59 -08:00
|
|
|
- [x] add MIT Licensed. Do whatevs.
|
2025-12-23 00:21:57 -08:00
|
|
|
- [x] Blog page view mode toggle (list and card views)
|
|
|
|
|
- [x] Post cards component with thumbnails, titles, excerpts, and metadata
|
|
|
|
|
- [x] View preference saved to localStorage
|
|
|
|
|
- [x] Default view mode configurable in siteConfig.blogPage.viewMode
|
|
|
|
|
- [x] Toggle visibility controlled by siteConfig.blogPage.showViewToggle
|
|
|
|
|
- [x] Responsive grid: 3 columns (desktop), 2 columns (tablet), 1 column (mobile)
|
|
|
|
|
- [x] Theme-aware styling for all four themes
|
2025-12-22 00:07:24 -08:00
|
|
|
- [x] Raw markdown files now accessible to AI crawlers (ChatGPT, Perplexity)
|
|
|
|
|
- [x] Added /raw/ path bypass in botMeta edge function
|
|
|
|
|
- [x] Sitemap now includes static pages (about, docs, contact, etc.)
|
|
|
|
|
- [x] Security headers added to netlify.toml
|
|
|
|
|
- [x] Link header pointing to llms.txt for AI discovery
|
|
|
|
|
- [x] Preconnect hints for Convex backend
|
|
|
|
|
- [x] Fixed URL consistency in openapi.yaml and robots.txt
|
2025-12-21 15:58:43 -08:00
|
|
|
- [x] Write conflict prevention: increased dedup windows, added heartbeat jitter
|
|
|
|
|
- [x] Visitor map styling: removed box-shadow, increased land dot contrast and opacity
|
|
|
|
|
- [x] Real-time visitor map on stats page showing live visitor locations
|
|
|
|
|
- [x] Netlify edge function for geo detection (geo.ts)
|
|
|
|
|
- [x] VisitorMap component with dotted world map and pulsing dots
|
|
|
|
|
- [x] Theme-aware colors for all four themes (dark, light, tan, cloud)
|
|
|
|
|
- [x] visitorMap config option in siteConfig.ts to enable/disable
|
|
|
|
|
- [x] Privacy friendly: no IP addresses stored, only city/country/coordinates
|
|
|
|
|
- [x] Documentation updated: setup-guide, docs, FORK_CONFIG, fork-config.json.example
|
|
|
|
|
|
2025-12-21 13:59:50 -08:00
|
|
|
- [x] Author display for posts and pages with authorName and authorImage frontmatter fields
|
|
|
|
|
- [x] Round avatar image displayed next to date and read time on post/page views
|
|
|
|
|
- [x] Write page updated with new frontmatter field reference
|
|
|
|
|
- [x] Documentation updated: setup-guide.md, docs.md, files.md, README.md, AGENTS.md
|
|
|
|
|
- [x] PRD created: prds/howto-Frontmatter.md with reusable prompt for future updates
|
|
|
|
|
- [x] GitHub Stars card on Stats page with live count from repository
|
|
|
|
|
|
|
|
|
|
- [x] CopyPageDropdown AI services now use raw markdown URLs for better AI parsing
|
|
|
|
|
- [x] ChatGPT, Claude, and Perplexity receive /raw/{slug}.md URLs instead of page URLs
|
feat(fork-config): add automated fork configuration with npm run configure
Add a complete fork configuration system that allows users to set up their
forked site with a single command or follow manual instructions.
## New files
- FORK_CONFIG.md: Comprehensive guide with two setup options
- Option 1: Automated JSON config + npm run configure
- Option 2: Manual step-by-step instructions with code snippets
- AI agent prompt for automated updates
- fork-config.json.example: JSON template with all configuration fields
- Site info (name, title, description, URL, domain)
- GitHub and contact details
- Creator section for footer links
- Optional feature toggles (logo gallery, GitHub graph, blog page)
- Theme selection
- scripts/configure-fork.ts: Automated configuration script
- Reads fork-config.json and applies changes to all files
- Updates 11 configuration files in one command
- Type-safe with ForkConfig interface
- Detailed console output showing each file updated
## Updated files
- package.json: Added configure script (npm run configure)
- .gitignore: Added fork-config.json to keep user config local
- files.md: Added new fork configuration files
- changelog.md: Added v1.18.0 entry
- changelog-page.md: Added v1.18.0 section with full details
- TASK.md: Updated status and completed tasks
- README.md: Replaced Files to Update section with Fork Configuration
- content/blog/setup-guide.md: Added Fork Configuration Options section
- content/pages/docs.md: Added Fork Configuration section
- content/pages/about.md: Added fork configuration mention
- content/blog/fork-configuration-guide.md: New featured blog post
## Files updated by configure script
| File | What it updates |
| ----------------------------------- | -------------------------------------- |
| src/config/siteConfig.ts | Site name, bio, GitHub, features |
| src/pages/Home.tsx | Intro paragraph, footer links |
| src/pages/Post.tsx | SITE_URL, SITE_NAME constants |
| convex/http.ts | SITE_URL, SITE_NAME constants |
| convex/rss.ts | SITE_URL, SITE_TITLE, SITE_DESCRIPTION |
| index.html | Meta tags, JSON-LD, page title |
| public/llms.txt | Site info, GitHub link |
| public/robots.txt | Sitemap URL |
| public/openapi.yaml | Server URL, site name |
| public/.well-known/ai-plugin.json | Plugin metadata |
| src/context/ThemeContext.tsx | Default theme |
## Usage
Automated:
cp fork-config.json.example fork-config.json
# Edit fork-config.json
npm run configure
Manual:
Follow FORK_CONFIG.md step-by-step guide
2025-12-20 22:15:33 -08:00
|
|
|
- [x] Automated fork configuration with npm run configure
|
|
|
|
|
- [x] FORK_CONFIG.md comprehensive guide with two options (automated + manual)
|
|
|
|
|
- [x] fork-config.json.example template with all configuration options
|
|
|
|
|
- [x] scripts/configure-fork.ts for automated updates
|
|
|
|
|
- [x] Updates all 11 configuration files in one command
|
|
|
|
|
|
2025-12-20 20:46:34 -08:00
|
|
|
- [x] GitHub contributions graph on homepage with theme-aware colors
|
|
|
|
|
- [x] Year navigation with Phosphor icons (CaretLeft, CaretRight)
|
|
|
|
|
- [x] Click graph to visit GitHub profile
|
|
|
|
|
- [x] Configurable via siteConfig.gitHubContributions
|
|
|
|
|
- [x] Theme-specific contribution colors for all 4 themes
|
|
|
|
|
- [x] Mobile responsive design with scaled cells
|
|
|
|
|
|
2025-12-20 18:58:19 -08:00
|
|
|
- [x] Public /write page with three-column layout (not linked in nav)
|
|
|
|
|
- [x] Left sidebar: Home link, content type selector, actions (Clear, Theme, Font)
|
|
|
|
|
- [x] Center: Writing area with Copy All button and borderless textarea
|
|
|
|
|
- [x] Right sidebar: Frontmatter reference with per-field copy buttons
|
|
|
|
|
- [x] Font switcher to toggle between Serif and Sans-serif fonts
|
|
|
|
|
- [x] Font preference persistence in localStorage
|
|
|
|
|
- [x] Theme toggle icons matching ThemeToggle.tsx (Moon, Sun, Half2Icon, Cloud)
|
|
|
|
|
- [x] Content type switching (Blog Post/Page) updates writing area template
|
|
|
|
|
- [x] Word, line, and character counts in status bar
|
|
|
|
|
- [x] Warning banner about refresh losing content
|
|
|
|
|
- [x] localStorage persistence for content, type, and font
|
|
|
|
|
- [x] Redesign /write page with three-column Cursor docs-style layout
|
|
|
|
|
- [x] Add per-field copy icons to frontmatter reference panel
|
|
|
|
|
- [x] Add refresh warning message in left sidebar
|
|
|
|
|
- [x] Left sidebar with home link, content type selector, and actions
|
|
|
|
|
- [x] Right sidebar with frontmatter fields and copy buttons
|
|
|
|
|
- [x] Center area with title, Copy All button, and borderless textarea
|
|
|
|
|
- [x] Theme toggle with matching icons for all four themes
|
|
|
|
|
- [x] Redesign /write page with wider layout and modern Notion-like UI
|
|
|
|
|
- [x] Remove header from /write page (standalone writing experience)
|
|
|
|
|
- [x] Add inline theme toggle and home link to Write page toolbar
|
|
|
|
|
- [x] Collapsible frontmatter fields panel
|
|
|
|
|
- [x] Add markdown write page with copy option at /write
|
|
|
|
|
- [x] Centralized font-size CSS variables in global.css
|
|
|
|
|
- [x] Base size scale with semantic naming (3xs to hero)
|
|
|
|
|
- [x] Component-specific font-size variables
|
|
|
|
|
- [x] Mobile responsive font-size overrides
|
2025-12-20 16:34:48 -08:00
|
|
|
- [x] Open Graph image fix for posts and pages with frontmatter images
|
|
|
|
|
- [x] Dedicated blog page with configurable display options
|
|
|
|
|
- [x] Blog page navigation order via siteConfig.blogPage.order
|
|
|
|
|
- [x] Centralized siteConfig.ts for site configuration
|
|
|
|
|
- [x] Posts display toggle for homepage and/or blog page
|
|
|
|
|
- [x] move home to the top of the mobile menu
|
2025-12-20 11:05:38 -08:00
|
|
|
- [x] Fork configuration documentation in docs.md and setup-guide.md
|
|
|
|
|
- [x] "Files to Update When Forking" section with all 9 configuration files
|
|
|
|
|
- [x] Backend configuration examples for Convex files
|
|
|
|
|
- [x] Site branding updates across all AI discovery files
|
|
|
|
|
- [x] Fork documentation added to README.md
|
|
|
|
|
- [x] Blog post updated with v1.9.0 and v1.10.0 features
|
|
|
|
|
- [x] Scroll-to-top button with configurable threshold
|
|
|
|
|
- [x] Scroll-to-top documentation in docs.md and setup-guide.md
|
|
|
|
|
- [x] Mobile menu with hamburger navigation for mobile and tablet
|
|
|
|
|
- [x] Generate Skill feature in CopyPageDropdown
|
2025-12-14 11:30:22 -08:00
|
|
|
- [x] Project setup with Vite + React + TypeScript
|
|
|
|
|
- [x] Convex schema for posts, viewCounts, siteConfig, pages
|
|
|
|
|
- [x] Build-time markdown sync script
|
|
|
|
|
- [x] Theme system (dark/light/tan/cloud)
|
|
|
|
|
- [x] Default theme configuration (tan)
|
|
|
|
|
- [x] Home page with year-grouped post list
|
|
|
|
|
- [x] Post page with markdown rendering
|
|
|
|
|
- [x] Static pages support (About, Projects, Contact)
|
|
|
|
|
- [x] Syntax highlighting for code blocks
|
|
|
|
|
- [x] Open Graph and Twitter Card meta tags
|
|
|
|
|
- [x] Netlify edge function for bot detection
|
|
|
|
|
- [x] RSS feed support (standard and full content)
|
|
|
|
|
- [x] API endpoints for LLMs (/api/posts, /api/post)
|
|
|
|
|
- [x] Copy Page dropdown for AI tools
|
|
|
|
|
- [x] Sample blog posts and pages
|
|
|
|
|
- [x] Security audit completed
|
|
|
|
|
- [x] TypeScript type-safety verification
|
|
|
|
|
- [x] Netlify build configuration verified
|
|
|
|
|
- [x] SPA 404 fallback configured
|
|
|
|
|
- [x] Mobile responsive design
|
2025-12-14 17:00:46 -08:00
|
|
|
- [x] Edge functions for dynamic Convex HTTP proxying
|
|
|
|
|
- [x] Vite dev server proxy for local development
|
2025-12-14 23:07:11 -08:00
|
|
|
- [x] Real-time stats page at /stats
|
|
|
|
|
- [x] Page view tracking with event records pattern
|
|
|
|
|
- [x] Active session heartbeat system
|
|
|
|
|
- [x] Cron job for stale session cleanup
|
|
|
|
|
- [x] Stats link in homepage footer
|
2025-12-17 22:02:52 -08:00
|
|
|
- [x] Real-time search with Command+K shortcut
|
|
|
|
|
- [x] Search modal with keyboard navigation
|
|
|
|
|
- [x] Full text search indexes for posts and pages
|
2025-12-18 12:28:25 -08:00
|
|
|
- [x] Featured section with list/card view toggle
|
|
|
|
|
- [x] Logo gallery with continuous marquee scroll
|
|
|
|
|
- [x] Frontmatter-controlled featured items (featured, featuredOrder)
|
|
|
|
|
- [x] Featured items sync with npm run sync (no redeploy needed)
|
2025-12-18 12:47:07 -08:00
|
|
|
- [x] Firecrawl content importer (npm run import)
|
|
|
|
|
- [x] /api/export endpoint for batch content fetching
|
|
|
|
|
- [x] AI plugin discovery at /.well-known/ai-plugin.json
|
|
|
|
|
- [x] OpenAPI 3.0 spec at /openapi.yaml
|
|
|
|
|
- [x] AGENTS.md for AI coding agents
|
2025-12-20 11:05:38 -08:00
|
|
|
- [x] Static raw markdown files at /raw/{slug}.md
|
|
|
|
|
- [x] View as Markdown option in CopyPageDropdown
|
|
|
|
|
- [x] Perplexity added to AI service options
|
|
|
|
|
- [x] Featured image support with square thumbnails in card view
|
|
|
|
|
- [x] Improved markdown table CSS styling
|
2025-12-20 16:34:48 -08:00
|
|
|
- [x] Aggregate component integration for efficient stats counting (O(log n) vs O(n))
|
|
|
|
|
- [x] Three aggregate components: pageViewsByPath, totalPageViews, uniqueVisitors
|
|
|
|
|
- [x] Chunked backfilling mutation for existing page view data
|
|
|
|
|
- [x] Aggregate component registration in convex.config.ts
|
|
|
|
|
- [x] Stats query updated to use aggregate counts
|
|
|
|
|
- [x] Aggregate component documentation in prds/howstatsworks.md
|
2025-12-23 14:01:37 -08:00
|
|
|
- [x] Sidebar navigation anchor links fixed for collapsed/expanded sections
|
|
|
|
|
- [x] Navigation scroll calculation with proper header offset (80px)
|
|
|
|
|
- [x] Expand ancestors before scrolling to ensure target visibility
|
|
|
|
|
- [x] Removed auto-expand from scroll handler to preserve manual collapse state
|
|
|
|
|
- [x] Collapse button event handling improved to prevent link navigation
|
|
|
|
|
- [x] Heading extraction updated to filter out code blocks
|
|
|
|
|
- [x] Sidebar no longer shows example headings from markdown code examples
|
|
|
|
|
- [x] Mobile menu redesigned with left-aligned navigation controls
|
|
|
|
|
- [x] Hamburger menu order changed (hamburger, search, theme toggle)
|
|
|
|
|
- [x] Sidebar table of contents integrated into mobile menu
|
|
|
|
|
- [x] Desktop sidebar hidden on mobile when sidebar layout is enabled
|
|
|
|
|
- [x] SidebarContext created to share sidebar data between components
|
|
|
|
|
- [x] Mobile menu typography standardized with CSS variables
|
|
|
|
|
- [x] Font-family standardized using inherit for consistency
|
2025-12-23 17:01:22 -08:00
|
|
|
- [x] `showInNav` field for pages to control navigation visibility
|
|
|
|
|
- [x] Pages can be published but hidden from navigation menu
|
|
|
|
|
- [x] Defaults to `true` for backwards compatibility
|
|
|
|
|
- [x] Pages with `showInNav: false` remain accessible via direct URL, searchable, and available via API
|
|
|
|
|
- [x] Hardcoded navigation items configuration in siteConfig.ts
|
|
|
|
|
- [x] Add React route pages (like /stats, /write) to navigation via hardcodedNavItems
|
|
|
|
|
- [x] Configure navigation order, title, and visibility per route
|
|
|
|
|
- [x] Navigation combines Blog link, hardcoded nav items, and markdown pages
|
|
|
|
|
- [x] All nav items sorted by order field (lower = first)
|
2025-12-14 11:30:22 -08:00
|
|
|
|
|
|
|
|
## Deployment Steps
|
|
|
|
|
|
|
|
|
|
1. Run `npx convex dev` to initialize Convex
|
2025-12-14 17:00:46 -08:00
|
|
|
2. Set `CONVEX_DEPLOY_KEY` in Netlify environment variables
|
|
|
|
|
3. Connect repo to Netlify and deploy
|
|
|
|
|
4. Edge functions automatically handle RSS, sitemap, and API routes
|
2025-12-14 11:30:22 -08:00
|
|
|
|
2025-12-20 11:05:38 -08:00
|
|
|
## Someday Features TBD
|
2025-12-14 11:30:22 -08:00
|
|
|
|
|
|
|
|
- [ ] Newsletter signup
|
|
|
|
|
- [ ] Comments system
|
|
|
|
|
- [ ] Draft preview mode
|