Commit graph

120 commits

Author SHA1 Message Date
sudipnext
5766e252aa feat: Implement PDF export functionality with session handling
- Added middleware to handle session cookies for the PDF export route.
- Introduced a new API endpoint for exporting presentation data using session cookies.
- Updated the PdfMakerPage component to accept and utilize the export cookie.
- Enhanced the presentation export logic to include session token extraction from cookies.
- Updated routing configuration to include the new PDF maker path.
2026-04-27 21:13:57 +05:45
sudipnext
6ccd223576 feat: Add settings.json for pitch deck presentation templates 2026-04-27 20:57:59 +05:45
sudipnext
46d2f02da4 feat: update presentation export version and enhance export functionality with cookie handling
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 12:01:54 +05:45
sauravniraula
11904c6cb0
refactor: cleans old unused export files from both docker and electron and uses package for export 2026-04-24 10:12:23 +05:45
sudipnext
effa9ad026 feat: implement single-user authentication with environment variable support and update FastAPI middleware for session management 2026-04-21 17:41:37 +05:45
Sudip Parajuli
7f4d6acdd8
Merge branch 'main' into feat/docker-release-electron-sync 2026-04-20 20:56:20 +05:45
shiva raj badu
48047cf288
refactor: improve export filename safety and config handling, cleanup components 2026-04-19 23:04:32 +05:45
sudipnext
3a4aacd0dd feat: enhance user configuration handling and add error messaging for model pulling 2026-04-19 13:15:19 +05:45
sudipnext
3d06644914 feat: update placeholder image references and improve asset handling
- Replaced all instances of the placeholder image path from "/static/images/placeholder.jpg" to "/static/images/replaceable_template_image.png".
- Added a new Nginx location block for serving app data with a long cache expiration.
- Enhanced the image generation service to return the new template image when generation fails.
- Updated various services and endpoints to ensure consistent handling of asset paths, including resolving backend asset URLs.
- Removed Electron-specific checks from several components to streamline API calls and improve compatibility with web deployments.
- Improved error handling and logging in the PDF export process.
- Adjusted Next.js configuration for API routing to ensure proper asset serving in Docker environments.
2026-04-18 20:56:37 +05:45
sudipnext
5e4ee9e039 Refactor presentation export runtime handling
- Update sync-presentation-export script to read version from package.json instead of export-version.json.
- Change entrypoint from index.js to index.cjs for CommonJS compatibility.
- Implement logic to ensure CommonJS entrypoint is created if missing.
- Modify ExportTaskService to resolve entrypoint path dynamically.
- Remove inline Puppeteer PDF export logic in favor of bundled export package.
- Add runtime availability checks and sync script execution in start.js.
- Introduce helper functions for output path normalization and entrypoint resolution.
2026-04-18 16:49:42 +05:45
sudipnext
a3a6a1acd2 Refactor code structure and remove redundant changes in multiple sections 2026-04-16 13:33:21 +05:45
sudipnext
c7860127f2 feat: add support for optional embedded Ollama and enhance database migration handling
- Updated docker-compose.yml to allow disabling embedded Ollama via environment variable.
- Refactored Dockerfile and Dockerfile.dev for improved dependency management and installation process.
- Enhanced FastAPI migration scripts to handle orphaned Alembic revisions and added new database migration logic.
- Improved error handling in background tasks and Codex authentication endpoints.
- Added support for font file uploads with better validation and extraction of font names.
- Introduced new image search functionality with support for Pexels and Pixabay APIs.
2026-04-15 15:39:35 +05:45
Christopher Quenneville
f2703ec003 feat: add Open WebUI as image generation provider
Add native support for Open WebUI's image generation API as a new
image provider option. Open WebUI exposes an OpenAI-like
/v1/images/generations endpoint but with key differences that
require special handling:

- Response is a bare JSON array instead of {"data": [...]}
- Image URLs are relative paths (e.g. /api/v1/files/.../content)
- File downloads require the same Bearer auth token

The implementation uses raw HTTP calls via aiohttp rather than the
OpenAI SDK to handle these differences. No model parameter is sent
since Open WebUI manages the image model in its own admin settings.

Backend changes:
- New OPEN_WEBUI enum value in ImageProvider
- generate_image_open_webui() method in ImageGenerationService
- Environment getters/setters for OPEN_WEBUI_IMAGE_URL and
  OPEN_WEBUI_IMAGE_API_KEY
- UserConfig model and config loading/saving pipeline updated

Frontend changes:
- New "Open WebUI" option in image provider dropdown
- Settings UI with URL and optional API key fields
- Validation, field mappings, and config persistence

Docker:
- OPEN_WEBUI_IMAGE_URL and OPEN_WEBUI_IMAGE_API_KEY added to all
  docker-compose service definitions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 12:27:45 -05:00
shiva raj badu
5f191ebf11
feat: add telemetry in electron app & UI improvements 2026-04-02 01:10:53 +05:45
sudipnext
d2e85a8ffa feat: implement Codex OAuth flow and integrate into application
- Added Codex authentication endpoints and logic for OAuth flow.
- Updated Docker configuration to expose port 1455 for Codex callback.
- Enhanced user configuration model to include Codex-related fields.
- Integrated Codex selection into the LLM provider UI.
- Implemented token management and refresh logic for Codex.
- Added utility functions for handling Codex OAuth tokens and state management.
2026-02-24 18:51:35 +05:45
sauravniraula
908bea18b5
feat: adds gpt image 1.5 2025-12-21 01:14:31 +05:45
shiva raj badu
ea8db1bfdd
feat: replace local image provider with ComfyUI configuration in environment variables and user settings 2025-12-18 22:42:53 +05:45
shiva raj badu
e72cea3655
feat: integrate ComfyUI workflow for local image generation 2025-12-17 21:04:32 +05:45
shiva raj badu
c34fb75302
feat: local image provider 2025-12-15 19:12:34 +05:45
sauravniraula
bcf8dabbed
feat: adds option to disable image generation for slides 2025-11-28 00:27:54 +05:45
shiva raj badu
18f3466258
fix(nextjs): Handle missing directory paths in API routes 2025-11-12 19:39:09 +05:45
shiva raj badu
c64cc86684
refactor(nextjs): use template keyword instead of group/group layouts 2025-09-22 17:20:55 +05:45
sauravniraula
cc78faea73
fix(fastapi): /edit, /derive and /export endpoints 2025-09-12 02:27:59 +05:45
sauravniraula
73c097bd31
fix: export issue in chromium 2025-09-09 05:19:57 +05:45
shiva raj badu
c5b465eb02
feat: implement image upload, retrieval & deletetion endpoints, Also implemented on Nextjs 2025-08-29 20:04:18 +05:45
Suraj Jha
044aa243d4
feat: custom number of slides 2025-08-20 00:43:38 +05:45
Suraj Jha
05a9229d4a
fix: minor issue with pdf export 2025-08-19 18:06:04 +05:45
sauravniraula
667415997e
chore: uses proper naming for vars and functions 2025-08-13 13:59:09 +05:45
sauravniraula
4b2a84b320
feat(nextjs): adds basic anonymous tracking that tracks navigation, api calls (Just name of endpoint is tracked) and button clicks 2025-08-12 20:15:17 +05:45
sauravniraula
5278146126
feat(nextjs): adds speaker note attribute in HtmlElement and extracts it on export 2025-08-12 16:57:57 +05:45
sauravniraula
362af45189
fix(fastapi): solves issue on PPTX export where markdown content was not correctly parsed 2025-08-12 13:10:29 +05:45
sauravniraula
c1b56747c9
chore: updates presentation-layouts to presentation-templates 2025-08-11 15:12:59 +05:45
sauravniraula
56cd69a8b6
fix: division by zero, no paragraphs in text box model and elements with 0 width or height issue solved 2025-08-10 17:52:52 +05:45
shiva raj badu
910b3aa68d
Merged 2025-08-09 20:27:31 +05:45
shiva raj badu
bb93648a61
feat(nextjs): Timer added in Each layout convert 2025-08-09 20:00:00 +05:45
Suraj Jha
36bbefa5aa
fix: change 'layout' to 'layout' 2025-08-09 19:42:21 +05:45
Suraj Jha
68bb4bae3a
Merge main into pdf-pptx-layout 2025-08-09 15:36:43 +05:45
sauravniraula
3f523f1491
refactor: removes redis service and env variables, fix(fastapi): user config bool env variables issues, parse tool fix for custom llm on tool call structured output 2025-08-09 03:03:13 +05:45
shiva raj badu
d9cbf3ea5a
Merged with main 2025-08-05 22:37:25 +05:45
shiva raj badu
40dde6ea44
Merged with main 2025-08-05 20:32:05 +05:45
shiva raj badu
3084b848a0
refactor: Seperate layouts.tsx for schema & rest of routes 2025-08-05 19:48:11 +05:45
sauravniraula
c3449986ea
fix(user_config): fix user config set for bool fields 2025-08-04 14:56:12 +05:45
sauravniraula
c599aa15e4
feat: adds options to select between tool calls/json schema and enable disable thinking for custom models 2025-08-04 14:50:55 +05:45
Saurav Niraula
edf7373dab
Merge branch 'main' into presentation-mcp-server 2025-08-04 00:21:21 +05:45
shiva raj badu
04a67014eb
fix(nextjs): TextEditor Not applying styles issue 2025-08-02 23:12:12 +05:45
sudipnext
14774e26eb feat: Initiate presentation MCP server setup 2025-08-02 09:19:42 +05:45
sauravniraula
4b6de697ec
feat: adds support for deepseek using custom llm (tool calls for deepseek) 2025-08-01 18:16:59 +05:45
sauravniraula
6b9635d165
feat(nextjs): adds model selection options for openai and google, refactor 2025-08-01 00:15:56 +05:45
shiva raj badu
049824836c
feat(Nextjs): Save Layout implemented 2025-07-31 22:36:58 +05:45
shiva raj badu
0b8db37b73
feat(Nextjs): Custom Layout Editing & convert to React Component 2025-07-31 14:25:58 +05:45