Commit graph

312 commits

Author SHA1 Message Date
LUIS NOVO
4e5f8c9a6a docs: add GHCR registry information
- Add Docker image registry section explaining both Docker Hub and GHCR options
- Include GHCR alternative in Quick Start examples
- Add comments showing how to use GHCR in docker-compose examples
- Help users understand they can use either registry interchangeably
2025-10-18 13:09:16 -03:00
Luis Novo
f2e153b230
Add GitHub Container Registry (GHCR) support (#163)
* Add GHCR support with conditional Docker Hub publishing

This commit enhances the CI/CD pipeline to support both GitHub Container
Registry (GHCR) and Docker Hub, with Docker Hub being optional based on
the presence of credentials.

Changes:
- Add GHCR as the primary container registry
- Make Docker Hub publishing conditional on DOCKER_USERNAME and DOCKER_PASSWORD secrets
- Dynamically determine image names from repository owner/name (e.g., aperim/open-notebook)
- Images are pushed to:
  * GHCR: ghcr.io/{owner}/{repo}:{version|latest}
  * Docker Hub (if credentials available): {owner}/{repo}:{version|latest}
- Update build summary to show which registries were used

Benefits:
- Forks can build and publish to GHCR without Docker Hub credentials
- Original repo can continue publishing to both registries
- Image names automatically match the repository structure
- More flexible deployment options for contributors

Technical Details:
- Added extract-version job outputs: ghcr_image, dockerhub_image, has_dockerhub_secrets
- Added GHCR login step using GITHUB_TOKEN (always runs)
- Made Docker Hub login conditional on has_dockerhub_secrets flag
- Updated image tags to use dynamic repository-based names
- Enhanced build summary to show registry usage

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add GITHUB_TOKEN permissions for GHCR publishing

The workflow needs 'packages: write' permission to push images to GitHub
Container Registry (GHCR).

Permissions added:
- contents: read (required for checkout)
- packages: write (required for GHCR push)

Without these permissions, the docker login and push to ghcr.io would fail
with a 403 Forbidden error.

---------

Co-authored-by: Troy Kelly <troy@aperim.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-18 13:07:15 -03:00
Troy Kelly
9ade6b4b04
Increase timeout for source creation API calls (#152)
Changed create_source() timeout from default 30s to 300s (5 minutes) to handle
long-running operations like PDF processing with OCR.

Issue:
- PDF imports were timing out after 30 seconds with "Failed to connect to API: timed out"
- PDF processing (especially with OCR/parsing) takes longer than the default timeout
- Users were unable to import PDF documents

Solution:
- Increased timeout to 300 seconds (5 minutes), matching the timeout used by ask_simple()
- This gives sufficient time for document processing operations to complete
- Prevents premature connection timeout errors

Technical Details:
- Modified api/client.py create_source() method
- Added timeout=300.0 parameter to _make_request() call
- Consistent with existing long-running operations (ask_simple uses same timeout)

Testing:
- Users should now be able to import PDFs without timeout errors
- Smaller PDFs will still complete quickly
- Larger PDFs have sufficient time to process
2025-10-18 12:55:17 -03:00
dependabot[bot]
34a60e515e
chore(deps): bump next from 15.4.2 to 15.4.7 in /frontend (#162)
Bumps [next](https://github.com/vercel/next.js) from 15.4.2 to 15.4.7.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.4.2...v15.4.7)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 15.4.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-18 12:52:05 -03:00
dependabot[bot]
5b2c7bdca4
chore(deps): bump axios from 1.10.0 to 1.12.0 in /frontend (#161)
Bumps [axios](https://github.com/axios/axios) from 1.10.0 to 1.12.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.10.0...v1.12.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-18 12:51:46 -03:00
Luis Novo
b7e656a319
Version 1 (#160)
New front-end
Launch Chat API
Manage Sources
Enable re-embedding of all contents
Sources can be added without a notebook now
Improved settings
Enable model selector on all chats
Background processing for better experience
Dark mode
Improved Notes

Improved Docs: 
- Remove all Streamlit references from documentation
- Update deployment guides with React frontend setup
- Fix Docker environment variables format (SURREAL_URL, SURREAL_PASSWORD)
- Update docker image tag from :latest to :v1-latest
- Change navigation references (Settings → Models to just Models)
- Update development setup to include frontend npm commands
- Add MIGRATION.md guide for users upgrading from Streamlit
- Update quick-start guide with correct environment variables
- Add port 5055 documentation for API access
- Update project structure to reflect frontend/ directory
- Remove outdated source-chat documentation files
2025-10-18 12:46:22 -03:00
LUIS NOVO
124d7d110c docs: TTS_BATCH_SIZE
Some checks failed
Development Build / extract-version (push) Has been cancelled
Development Build / lint-and-check (push) Has been cancelled
Development Build / test-build-regular (push) Has been cancelled
Development Build / test-build-single (push) Has been cancelled
Development Build / summary (push) Has been cancelled
2025-09-14 11:05:34 -03:00
Luis Novo
fa27fe561a
Several hotfixes (#130)
* fix: prevent project failing to start when cannot talk to github - fixes #128

* improve ollama documentation - see #127

* chore: update esperanto library to enable gpt-5 - see #107; update podcast-creator library to enable TTS_BATCH_SIZE - fixes #125

* add info on ollama env variables

* chore: ignore dev logs

* chore: bump
2025-09-14 10:58:16 -03:00
LUIS NOVO
dcef3751cc docs: docs for openai-compatible
Some checks failed
Development Build / extract-version (push) Has been cancelled
Development Build / lint-and-check (push) Has been cancelled
Development Build / test-build-regular (push) Has been cancelled
Development Build / test-build-single (push) Has been cancelled
Development Build / summary (push) Has been cancelled
2025-07-27 22:53:36 -03:00
LUIS NOVO
adc8629ea9 docs: add openai compatible env var documentation 2025-07-27 22:39:28 -03:00
LUIS NOVO
893b2f408b docs: fix env example 2025-07-27 22:31:51 -03:00
LUIS NOVO
6440beb089 feat: add openai compatible support 2025-07-27 22:30:32 -03:00
LUIS NOVO
929cd262a6 fix: fix open router, google and vertex ai provider selection 2025-07-27 22:30:15 -03:00
LUIS NOVO
4a79093503 docs: improve docs 2025-07-17 14:37:14 -03:00
LUIS NOVO
376a044136 docs: better docs 2025-07-17 12:55:58 -03:00
LUIS NOVO
dc1a02e35f docs: remove old docs 2025-07-17 12:47:08 -03:00
LUIS NOVO
b20c62df47 docs: new docs 2025-07-17 12:38:40 -03:00
LUIS NOVO
3bb691d0b8 chore: configurable latest push 2025-07-17 11:11:47 -03:00
LUIS NOVO
fbc3f3ad42 chore: bump 2025-07-17 09:55:30 -03:00
Luis Novo
3b2ced54e2
fix environment variable error and enable docker build automation (#94)
* chore: fix database import error

* remove unused file and improve env example

* docker build automation
2025-07-17 09:54:28 -03:00
Luis Novo
d7b0fff954
Api podcast migration (#93)
Creates the API layer for Open Notebook
Creates a services API gateway for the Streamlit front-end
Migrates the SurrealDB SDK to the official one
Change all database calls to async
New podcast framework supporting multiple speaker configurations
Implement the surreal-commands library for async processing
Improve docker image and docker-compose configurations
2025-07-17 08:36:11 -03:00
LUIS NOVO
9814103cc8 docs: update reasoning model instructions 2025-06-26 12:12:05 -03:00
Luis Novo
17b3ad010b
Merge pull request #86 from lfnovo/thinking_fix
Thinking fix
2025-06-26 11:59:33 -03:00
LUIS NOVO
f92b41e510 chore: bump version 2025-06-26 11:56:27 -03:00
LUIS NOVO
37fb92370f review: fallback if content is empty 2025-06-26 11:56:12 -03:00
LUIS NOVO
26da01935a review: prevent mutation and remove duplicate final_score calculation 2025-06-26 11:56:01 -03:00
LUIS NOVO
e3ee803a42 review: add validation and compile regex just once 2025-06-26 11:55:41 -03:00
LUIS NOVO
7eee271232 feat: extract think tags from reasoning models 2025-06-26 11:41:15 -03:00
LUIS NOVO
01dc2240a2 feat: sort search results 2025-06-26 11:40:23 -03:00
LUIS NOVO
957a8853f2 chore: update dependencies to enable Azure Embedding, fix docker build 2025-06-19 18:28:16 -03:00
LUIS NOVO
008fc91def Merge branch 'main' of github.com:lfnovo/open-notebook 2025-06-19 16:35:44 -03:00
Luis Novo
9b635c2451
Merge pull request #80 from lfnovo/add-claude-github-actions-1749929990695
Add Claude Code GitHub Workflow
2025-06-14 16:40:29 -03:00
Luis Novo
93360c8367 Claude Code Review workflow 2025-06-14 16:39:53 -03:00
Luis Novo
3b7024f152 Claude PR Assistant workflow 2025-06-14 16:39:52 -03:00
LUIS NOVO
c77c84ffd2 chore: update deps 2025-06-14 09:31:22 -03:00
Luis Novo
d0ca466e40
Merge pull request #74 from lfnovo/esperanto
Esperanto
2025-06-10 13:56:39 -03:00
Luis Novo
74874ba35a
Merge branch 'main' into esperanto 2025-06-10 13:56:24 -03:00
LUIS NOVO
da63fc257a chore: improve dockerignore 2025-06-10 13:53:37 -03:00
LUIS NOVO
62a2a39017 docs: remove old chunking configuration 2025-06-10 12:15:49 -03:00
LUIS NOVO
05b28a1f99 docs: remove unneded API BASE 2025-06-10 12:14:49 -03:00
LUIS NOVO
69c0840a25 docs: add voyage API requirements 2025-06-10 12:14:28 -03:00
LUIS NOVO
7d96417806 doc: fix link to the configuration docs 2025-06-10 11:58:31 -03:00
LUIS NOVO
219c752aca chore: add new langchain packages for new providers 2025-06-10 11:56:51 -03:00
LUIS NOVO
5426801228 fix: temporary fix for the torch streamlit conflict 2025-06-10 11:56:19 -03:00
LUIS NOVO
f35ccbbed5 chore: improve ux in the model provider page 2025-06-10 11:55:58 -03:00
LUIS NOVO
c377ebae83 chore: fix voice links 2025-06-10 11:55:42 -03:00
LUIS NOVO
05a64d90a8 docs: new env variable examples 2025-06-10 11:55:07 -03:00
LUIS NOVO
f4d233925e docs: add new models env variable examples 2025-06-10 11:54:51 -03:00
LUIS NOVO
f4b9ccbb22 fix: remove provider check, not needed 2025-06-10 11:54:15 -03:00
LUIS NOVO
7239f719fd fix: enforce env variables are present 2025-06-10 11:53:53 -03:00