Commit Graph
12 Commits
Author SHA1 Message Date
spaghet 80577d6404 feat: serve site content from Appwrite TablesDB with .md fallback
Replace astro:content getCollection() reads in all 9 content pages with
src/lib/content-source.ts: Appwrite TablesDB (spaghet-home database on
appwrite.spaghet.io) first, bundled src/content/*.md fallback on a
cold-cache outage. Blog/project/legal detail pages flip from prerender
to SSR (content now arrives at request time); sitemap keeps every
detail URL via customPages computed from the bundled .md copies.

- src/lib/appwrite.ts: TablesDB service (node-appwrite), markdown
  rendered through Astro's own satteri+shiki pipeline (dual-theme, same
  config as astro.config.mjs) — article HTML verified byte-identical to
  production. Public reads: tables grant read(any), no secret required.
  60s in-process cache, stale-serving on refresh failure.
- src/lib/__tests__/appwrite.test.ts: 11 tests mocking the SDK boundary
  (the SDK binds its own fetch, so global stubs do not intercept it).
- Draft posts now 302 to /blog and drop off listings/RSS/search at
  request time instead of at build time.
- astro check: 0 errors; vitest: 94 pass; build clean; end-to-end
  verified against live Appwrite and against a forced outage.
2026-11-26 19:29:31 -05:00
spaghet 3fef5d378e chore(deps): upgrade tailwind to v4 via vite plugin
Replace @astrojs/tailwind with @tailwindcss/vite in the Astro config and lockfile to adopt Tailwind CSS v4 and simplify the build setup. Also update Markdown site content with current SpaghetAI/MarvinBlade infrastructure details.
2026-11-04 12:31:58 -05:00
spaghet ac545c4668 chore: migrate hosting documentation from Appwrite to self-hosted
Update README.md and astro.config.mjs to reflect the migration from
Appwrite to self-hosted infrastructure. Remove Appwrite-specific
environment variable schema from Astro config. Add .clinerules and
.cline to .gitignore.
2026-10-15 14:32:15 -04:00
Spaghet 6ab3254384 refactor: Reorganize project structure and update dependencies
- Removed blog, project, and work content files
- Updated package dependencies including npm and removed license metadata
- Refactored component layouts and page routes
- Modified appwrite service for data operations
2025-08-22 00:08:32 -04:00
spaghet 7997eccb12 Refactor layouts to use Appwrite data types and implement search/pagination features 2025-08-21 13:50:56 -04:00
spaghet 03a79e2f79 Migrate content from markdown to Appwrite database
Remove static markdown file dependencies and update all pages/components to fetch data directly from Appwrite collections, while maintaining existing service functions for data retrieval and adding new CRUD operations for projects.
2025-08-19 10:59:50 -04:00
Spaghet 7e3b5b7a55 Appwrite migration WIP 2025-08-16 19:52:14 -04:00
SpaghetGaming 89c5e065de Starting infrastructure for server side image loading 2025-08-14 16:06:25 -04:00
SpaghetGaming 2ec6873ee0 Upgrade Astro and related dependencies to latest versions for improved functionality and compatibility 2025-08-14 13:42:06 -04:00
SpaghetGaming 773e8ebaeb Fix Astro configuration error and secure Appwrite integration 2025-08-14 13:16:53 -04:00
SpaghetGaming 0f5a38348e ignore update 2025-08-13 09:39:01 -04:00
Spaghet 1f1bf6e08b Initial commit: Setup Astro website with blog, projects, work experience and search functionality 2025-08-13 00:29:17 -04:00