Commit graph

40 commits

Author SHA1 Message Date
sudipnext
b20199a4e3 feat: Integrate Vertex AI and Azure OpenAI support
- Added environment variables for Vertex AI and Azure OpenAI configurations in docker-compose and user configuration models.
- Updated the application logic to handle Vertex and Azure as new LLM providers, including validation and API key management.
- Enhanced the UI components to support model selection and API key input for Vertex and Azure.
- Updated relevant utility functions and constants to accommodate the new providers.
- Ensured proper error handling for configuration requirements specific to Vertex and Azure.
2026-04-30 06:03:39 +05:45
sauravniraula
f76d17314a
feat: integrates llmai instead of using old llm client and tool call handlers 2026-04-23 11:42:15 +05:45
sudipnext
ad3b31a359 Enhance Docker configuration by adding new environment variables for image generation and updating dependencies in Dockerfile and FastAPI. This includes support for image providers and quality settings, improving flexibility in deployment configurations. 2026-04-22 17:32:13 +05:45
Sudip Parajuli
4e96a652e9
Merge pull request #531 from presenton/fix/reduce-docker-image-size
Fix/reduce docker image size
2026-04-22 16:54:48 +05:45
sauravniraula
501a155ad0
refactor: reduces images size to around 2.5gb 2026-04-21 17:43:07 +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
sudipnext
ba5d51ad76 fix: update environment variables in docker-compose.yml for Open WebUI integration 2026-04-20 21:04:37 +05:45
Sudip Parajuli
7f4d6acdd8
Merge branch 'main' into feat/docker-release-electron-sync 2026-04-20 20:56:20 +05:45
sudipnext
e0a66c8963 Refactor code structure for improved readability and maintainability 2026-04-20 19:47:59 +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
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
sudipnext
2d462d8df4 feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +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
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
0581d5593b
feat: add local image URL and workflow environment variables to docker-compose 2025-12-18 00:41:24 +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
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
shiva raj badu
910b3aa68d
Merged 2025-08-09 20:27:31 +05:45
Suraj Jha
68bb4bae3a
Merge main into pdf-pptx-layout 2025-08-09 15:36:43 +05:45
sauravniraula
dc474cf0d5
docs(readme): adds new Web Grounding environment variable 2025-08-09 03:07:33 +05:45
shiva raj badu
d9cbf3ea5a
Merged with main 2025-08-05 22:37:25 +05:45
sauravniraula
e8a5da2e5f
chore(docker): adds new environment variables in docker compose 2025-08-01 18:58:30 +05:45
sauravniraula
41cd7e2b61
fix(docker): removes sh scripts to fix format error on windows, moves script logic to start.js 2025-08-01 13:57:15 +05:45
sauravniraula
0c02eafeca
Merge branch 'main' 2025-07-31 12:32:34 +05:45
shiva raj badu
201e2ee11d
feat(Nextjs): Custom Layout Extractor & Canvas Draw implemented 2025-07-31 01:56:29 +05:45
sauravniraula
e07ddf8669
docs(fastapi): exposes fastapi docs on /docs 2025-07-23 17:36:58 +05:45
sauravniraula
03b2b06ff0
feat(fastapi): adds slide assets generation, adds dict and schema processors, fix(nextjs): changes image and icon schema fields to __xxxxx__ 2025-07-17 06:38:02 +05:45
sauravniraula
fb2b31d91b
chore: changes port to 5000 2025-07-12 20:07:39 +05:45
shiva raj badu
94b8503843 feat(nextjs/dashboard): slide data rendered 2025-07-12 19:03:48 +05:45
sauravniraula
e86bc5259a
fix(env): changes SQL_URL to database url, feat(fastapi): returns first slide with presentation 2025-07-12 18:46:30 +05:45
shiva raj badu
1914358297 Main Rebased 2025-07-12 01:59:44 +05:45
sauravniraula
6d5d77d874
feat(fastapi): adds support for custom database postgresql and mysql 2025-07-12 00:15:27 +05:45
sauravniraula
eb25416219
feat(fastapi, nextjs): adds custom openai compartible url support 2025-07-08 13:12:01 +05:45
sauravniraula
62e56b988d
fix(fastapi, nextjs): fixes errors while using Custom Ollama URL 2025-07-06 15:29:23 +05:45
sauravniraula
eb3653a865
fix(docker): adds seperate docker start scripts to fix node_modules issue on development 2025-06-26 16:57:22 +05:45
sauravniraula
31073b6016
refactor!: use presenton docker codebase 2025-06-23 15:13:04 +05:45