Commit graph

39 commits

Author SHA1 Message Date
Khoa.vo
bec553fd76 v3.2.0: Fix CORS - add nginx reverse proxy for production
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
- Add nginx to Dockerfile as reverse proxy
- Route /api/* to FastAPI, / to Next.js on single port 80
- Update all frontend components to use /api prefix in production
- Simplify docker-compose to single port 80
- Fixes CORS errors when deployed to remote servers
2026-01-13 08:11:28 +07:00
Khoa.vo
4050f4c853 v3.1.0: Integrate Meta AI video generation, remove redundant wrapper
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
- Add backend/services/meta_video_client.py (direct video generation)
- Update routers/meta.py with working /meta/video endpoint
- Delete services/metaai-api/ (~1500 lines removed)
- Simplify docker-compose.yml to single container
- No external service dependencies for Meta AI
2026-01-13 08:02:36 +07:00
Khoa.vo
2d301d6594 v3.0.1: Complete frontend integration with FastAPI backend
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
- Update Gallery.tsx to use FastAPI (5 API calls)
- Update PromptHero.tsx to use FastAPI (3 API calls)
- Update PromptLibrary.tsx to use FastAPI (4 API calls)
- Update UploadHistory.tsx to use FastAPI (1 API call)
- Add API_BASE constant to all components
2026-01-13 07:52:58 +07:00
Khoa.vo
0ef7e5475c v3.0.0: Add FastAPI backend
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
- Add Python FastAPI backend with Pydantic validation
- Port WhiskClient and MetaAIClient to Python
- Create API routers for all endpoints
- Add Swagger/ReDoc documentation at /docs
- Update Dockerfile for multi-service container
- Add lib/api.ts frontend client
- Update README for V3
2026-01-13 07:46:32 +07:00
Khoa.vo
793d80e9cf chore: update next.config to ignore build errors for deployment
Some checks failed
CI / build (18.x) (push) Has been cancelled
CI / build (20.x) (push) Has been cancelled
2026-01-07 23:10:45 +07:00
Khoa.vo
c25d2664b8 UI Polish: Refined Lightbox controls, added Cookie Expired popup, and improved mobile filters
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 23:05:28 +07:00
Khoa Vo
58126ca2a1 feat: Implement Unified Mobile Toolbar in PromptHero with compact pill styling
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 21:23:38 +07:00
Khoa Vo
e784d89873 fix: Resolve JSX syntax error in PromptHero.tsx and restore mobile toolbar layout
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 21:18:01 +07:00
Khoa Vo
d8cb0fb176 feat: Reorganize PromptHero mobile layout with scrollable toolbars and sticky-style buttons
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 21:16:34 +07:00
Khoa Vo
3d8fe9c782 feat: Add mobile cookie instructions (Android/iOS)
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 21:12:42 +07:00
Khoa Vo
6ac2d207f7 fix: Resolve mobile click issues by fixing z-index stacking and removing backdrop-blur
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 21:09:44 +07:00
Khoa Vo
a5bc7ddb39 feat: Improve mobile UI/UX with larger touch targets and better layouts
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 21:05:59 +07:00
Khoa Vo
8fd791df68 fix: Add ErrorBoundary for client-side error handling on mobile
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 20:57:06 +07:00
Khoa.vo
072c7adf89 chore: Remove unused grok and meta-chat API routes
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:50:03 +07:00
Khoa.vo
e8978bb086 fix: Replace BigInt literal with BigInt function for ES compatibility
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:40:49 +07:00
Khoa.vo
ad19603f7c fix: Remove GrokChat import and usage from page.tsx
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:39:29 +07:00
Khoa.vo
6e833b24a6 fix: Remove all remaining grok references, delete GrokChat.tsx
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:38:27 +07:00
Khoa.vo
5d4413ff51 fix: Update Settings type to remove grok and add meta wrapper props
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:36:46 +07:00
Khoa.vo
962ff4667c fix: Add explicit type for mergedCookies
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:34:47 +07:00
Khoa.vo
ccfa897ac9 fix: Remove final grok reference from modal styling
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:32:59 +07:00
Khoa.vo
d43d979e43 fix: Remove grok from provider badge styling
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:31:25 +07:00
Khoa.vo
21abb11766 fix: Add removeVideo to store imports
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:29:57 +07:00
Khoa.vo
2e203dad19 fix: Replace addGeneratedImage with addToGallery
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:28:08 +07:00
Khoa.vo
bf4a56e550 fix: Remove grok from provider type union
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:26:50 +07:00
Khoa.vo
2173eb1446 fix: Add provider to editSource type in Gallery.tsx
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-07 19:25:07 +07:00
Khoa.vo
e69c6ba64d chore: Remove Grok integration, simplify Settings UI
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
- Removed all Grok-related code, API routes, and services
- Removed crawl4ai service and meta-crawl client
- Simplified Settings to always show cookie inputs for Meta AI
- Hid advanced wrapper settings behind collapsible section
- Provider selection now only shows Whisk and Meta AI
- Fixed unused imports and type definitions
2026-01-07 19:21:51 +07:00
Khoa.vo
537b1b80e5 refactor: simplify gallery thumbnail UI
Some checks failed
CI / build (18.x) (push) Has been cancelled
CI / build (20.x) (push) Has been cancelled
- Remove all action buttons from thumbnail overlay
- Keep only provider tag and delete button (X)
- Keep prompt text visible on hover
- All actions (download, video, remix, etc.) now in lightbox
2026-01-06 14:58:14 +07:00
Khoa.vo
c2ee01b7b7 feat: enable Subject upload for Meta AI video generation
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
- Subject button now enabled for Meta AI (Scene/Style still disabled)
- Video button appears when Subject reference is uploaded
- Uses Subject image for image-to-video generation
- Added handleGenerateVideo() in PromptHero
- Tooltip: 'Upload image to animate into video'
2026-01-06 14:51:08 +07:00
Khoa.vo
7aaa4c8166 refactor: simplify Meta AI video workflow
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
- Remove Video button from PromptHero (generate images first, video from gallery)
- Add Meta AI image-to-video in Gallery component
- Redesign lightbox with split panel layout (image left, controls right)
- Add handleGenerateMetaVideo() for Meta AI video from gallery
- Fix reference buttons (all disabled for Meta AI)
- Lightbox now shows: Download, Generate Video, Remix/Edit, Copy Prompt, Delete
2026-01-06 14:33:44 +07:00
Khoa.vo
bae4c487da feat: add image-to-video support for Meta AI
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
- Add Litterbox temporary image hosting for image URLs
- Update backend to accept image_base64 parameter
- Update TypeScript client and API route
- Subject button now enabled for Meta AI (for image-to-video)
- Button changes from 'Video' to 'Animate' when subject is set
- Pink/purple gradient for image-to-video, blue/cyan for text-to-video
2026-01-06 14:11:26 +07:00
Khoa.vo
0f87b8ef99 feat: add Meta AI video generation
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
- Add /video/generate endpoint to crawl4ai Python service
- Add VideoGenerateRequest and VideoGenerateResponse models
- Add generateVideo method to MetaCrawlClient TypeScript client
- Add /api/meta/video Next.js API route
- Add 'Video' button in PromptHero UI (visible only for Meta AI provider)
- Blue/cyan gradient styling for Video button to differentiate from Generate
2026-01-06 13:52:31 +07:00
Khoa.vo
2a4bf8b58b feat: updates before deployment
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-06 13:26:11 +07:00
Khoa.vo
0efc0dc2e1 fix: Update Whisk and Cookie-Editor links in Settings
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-05 15:24:55 +07:00
Khoa.vo
32359cc2d1 feat: Multiple reference uploads per category
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
- Enable multi-file selection for Subject, Scene, Style inputs
- Show stacked thumbnails with count badge
- Add reference preview panel with individual delete buttons
- Add '+' button to add more refs per category
2026-01-05 15:18:57 +07:00
Khoa.vo
2a8125f6d7 fix: Cookie parsing for JSON format in upload and generate APIs
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
- Fixed upload route to properly trim and parse JSON-formatted cookies
- Added same cookie normalization logic to generate route
- Handles pretty-printed JSON with leading newlines from Cookie-Editor export
2026-01-05 15:01:24 +07:00
Khoa.vo
6209665659 fix: Use Forgejo registry URL for Docker image
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-05 13:59:58 +07:00
Khoa.vo
31e56f0bad fix: Add video ref to fileInputRefs for TypeScript build
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-05 13:54:55 +07:00
Khoa.vo
b78f2b188a chore: Update port to 8558 2026-01-05 13:52:10 +07:00
Khoa.vo
8741e3b89f feat: Initial commit with multi-provider image generation
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
2026-01-05 13:50:35 +07:00