Commit Graph
26 Commits
Author SHA1 Message Date
Siddharth Kumar Sah ccac5b885c feat(image-engine): add Sharp wrapper with 14 image operations
Operations: resize, crop, rotate, flip, convert, compress, strip-metadata,
brightness, contrast, saturation, color-channels, grayscale, sepia, invert.
Includes format detection, MIME mapping, metadata parsing, and engine orchestrator.
2026-03-22 03:42:40 +08:00
Siddharth Kumar Sah 5ab4c96ef7 docs: add Phase 2 implementation plan for core tools
Covers image engine (Sharp wrapper with 14 operations), file upload/download
system, generic tool route factory, and first 10 tools (resize, crop, rotate,
convert, compress, strip-metadata, color adjustments, before/after preview,
batch processing with ZIP download). 12 tasks total, ~48 new files.
2026-03-22 03:37:03 +08:00
Siddharth Kumar Sah 8aa4c35db0 fix: remove explicit pnpm version from CI to avoid conflict with packageManager
pnpm/action-setup@v4 errors when both `version` input and `packageManager`
in package.json are set. Let it read the version from package.json instead.
2026-03-22 03:13:48 +08:00
Siddharth Kumar SahandGitHub 7b1ca3aa8a Merge pull request #1 from siddharthksah/phase1-foundation
Phase 1: Foundation - Monorepo, Auth, Layout, Docker
2026-03-22 03:13:08 +08:00
Siddharth Kumar Sah 4069f4db42 feat: add Swagger/OpenAPI documentation at /api/docs
Registers @fastify/swagger and @fastify/swagger-ui, adds /api/docs to
public auth paths, and wires up static serving + cleanup cron in
index.ts.
2026-03-22 03:09:33 +08:00
Siddharth Kumar Sah 8bda22033f feat: add automatic workspace file cleanup cron 2026-03-22 03:09:26 +08:00
Siddharth Kumar Sah 1d8761a976 feat: serve React SPA from Fastify in production mode 2026-03-22 03:09:20 +08:00
Siddharth Kumar Sah 5c7d1e1f3d feat: add multi-stage Docker build with Python ML dependencies 2026-03-22 03:09:14 +08:00
Siddharth Kumar Sah de3d544ab6 feat: add generic tool page template with settings panel and dropzone 2026-03-22 03:05:45 +08:00
Siddharth Kumar Sah b7900ed4ef feat: add login page with split layout matching Stirling-PDF style 2026-03-22 03:05:42 +08:00
Siddharth Kumar Sah e8dfd2e628 fix: deduplicate react in Vite to prevent zustand hook errors in monorepo 2026-03-22 03:03:07 +08:00
Siddharth Kumar Sah e920021da1 feat: add Stirling-PDF-style layout with sidebar, tool panel, dropzone, and theme toggle 2026-03-22 03:01:23 +08:00
Siddharth Kumar Sah 541e49576c feat: add theme system with dark/light/system support and persistence 2026-03-22 03:01:17 +08:00
Siddharth Kumar Sah 5fa012e44b feat: add Vite + React SPA with Tailwind CSS and routing 2026-03-22 02:57:49 +08:00
Siddharth Kumar Sah 3cb7123070 feat: add authentication with default admin user
Implement custom auth using crypto.scrypt password hashing and UUID
session tokens. Includes login/logout/session endpoints, preHandler
middleware that skips public routes, and automatic default admin
creation on first startup.
2026-03-22 02:55:10 +08:00
Siddharth Kumar Sah a24c6dd014 feat: add SQLite database with Drizzle ORM schema and migrations 2026-03-22 02:51:57 +08:00
Siddharth Kumar Sah 1e7fb11da0 feat: add Fastify API server with health check and env config 2026-03-22 02:46:34 +08:00
Siddharth Kumar Sah 19e48203bb feat: add image-engine and ai stub packages 2026-03-22 02:44:46 +08:00
Siddharth Kumar Sah f210de1a13 feat: add shared package with types, tool definitions, and constants 2026-03-22 02:44:43 +08:00
Siddharth Kumar Sah 58fbb38fd8 feat: initialize Turborepo monorepo with pnpm workspaces 2026-03-22 02:41:44 +08:00
Siddharth Kumar Sah 7457e0ad47 Add GitHub Actions CI pipeline
- Lint & typecheck on every push/PR
- Build verification
- Docker build test
- Multi-arch Docker publish to GHCR on main (amd64 + arm64)
- Build cache via GitHub Actions cache
- Concurrency control to cancel stale runs
2026-03-22 02:38:56 +08:00
Siddharth Kumar Sah b7998a79f7 Add Phase 1 Foundation implementation plan
15 tasks covering monorepo setup, Fastify API, SQLite/Drizzle,
Better-Auth, React SPA with Stirling-PDF layout, theme system,
login page, tool page template, Docker multi-stage build, and
file cleanup cron.
2026-03-22 02:38:12 +08:00
Siddharth Kumar Sah 84c593dccb Upgrade to production Python ML stack, multi-arch Docker
- Switch from Node.js ONNX to production Python ML libraries:
  rembg, Real-ESRGAN, LaMa, PaddleOCR, MediaPipe
- AI models baked into Docker image for instant reliability
- Multi-architecture support (linux/amd64 + linux/arm64)
- No Docker size limits - reliability over size (expect 3-5GB)
- Object Eraser upgraded from experimental to production (LaMa)
- All AI tools now use state-of-the-art models
2026-03-22 02:38:12 +08:00
Siddharth Kumar Sah c3777a9d68 Fix 22 spec review issues in PRD
Critical: Use Real-ESRGAN ONNX (not UpscalerJS/TF.js) for upscaling,
mark Object Eraser as experimental, switch to Debian slim (not Alpine)
for HEIC/libraw/libjxl support, add libraw for RAW formats.

Significant: Revise Docker target to 700MB-1GB, add SSE progress events,
fix StorageAdapter to use streams, add API error schema, define SQLite
write concurrency model, add CORS/SSRF/rate-limiting specs.
2026-03-22 02:38:12 +08:00
Siddharth Kumar Sah 3c81b51e95 Add Stirling-Image product requirements document
Comprehensive PRD covering tech stack (Vite+React+Fastify+Sharp+SQLite),
37+ image tools across 9 categories, Docker deployment on port 1349,
UI/UX architecture, API spec, and development roadmap.
2026-03-22 02:38:12 +08:00
Siddharth Kumar SahandGitHub cd2690d0ec Initial commit 2026-03-22 02:33:47 +08:00