Commit Graph

20 Commits

Author SHA1 Message Date
Riccardo Giorato 8730b1053b Add PDF download functionality for stories with images 2025-12-27 12:08:52 +01:00
Riccardo Giorato a618754337 Use frontend-selected characters instead of fetching recent ones 2025-12-26 21:57:25 +01:00
Riccardo Giorato ddf05e6259 Add page deletion functionality with confirmation dialog and API endpoin 2025-12-26 21:42:56 +01:00
Riccardo Giorato d8f0046c14 Add keyboard shortcut for info sheet and fix input field shortcut blocki 2025-12-26 21:36:55 +01:00
Riccardo Giorato 0710982f9d Add AI-generated title and description for new comic stories 2025-12-26 21:31:30 +01:00
Riccardo Giorato 0ff8a4e685 Add ownership checks and share functionality to story editor 2025-12-26 21:02:36 +01:00
Riccardo Giorato 5917508175 Sort stories by most recently updated page 2025-12-26 20:02:57 +01:00
Riccardo Giorato 89048bae15 Add redraw page functionality with pageId support and UI updates 2025-12-26 19:43:28 +01:00
Riccardo Giorato 85f18f0ed1 Add reference images from previous page and story characters for consist 2025-12-26 18:08:21 +01:00
Riccardo Giorato 7fd5367577 Refactor comic page generation and add add-page API
Introduces a new /api/add-page endpoint for adding pages to existing comics, refactors prompt construction into a shared utility (lib/prompt.ts), and updates the editor and modal components to use the new API and prompt builder. Removes manual style and character selection in the modal, streamlining the page generation workflow and ensuring previous story context is referenced automatically.
2025-12-26 17:51:08 +01:00
Riccardo Giorato a2dd20ccdb Upload comic images to S3 and update database with S3 URLs 2025-12-26 13:33:38 +01:00
Riccardo Giorato 66b252fb2e Add loading state and style constants, enhance API key modal with delete 2025-12-26 12:15:01 +01:00
Riccardo Giorato 14b247ffaa Add stories dashboard with API endpoint and navigation updates 2025-12-26 11:36:45 +01:00
Riccardo Giorato 79bd750630 Add free tier rate limiting with Upstash Redis and API key handling 2025-12-25 16:04:00 +01:00
Riccardo Giorato 8bc68eb102 Add Clerk authentication and update auth flow for stories and API routes 2025-12-25 14:17:32 +01:00
Riccardo Giorato bbe8c8caf8 Refactor image model selection and dimensions 2025-12-23 21:41:38 +01:00
Riccardo Giorato ff25be7c85 This commit adds support for reusing existing character images from exis 2025-12-23 13:43:35 +01:00
Riccardo Giorato d2b94bde98 Refactor character image handling and API calls 2025-12-23 12:31:54 +01:00
Riccardo Giorato 3eea61625d feat: add S3 upload configuration and Together.ai API integration 2025-12-23 12:20:03 +01:00
Riccardo Giorato 3731e3f476 initial commit with Youssef work 2025-12-22 20:20:39 +01:00