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
This commit is contained in:
Luis Novo 2025-10-18 12:46:22 -03:00 committed by GitHub
parent 124d7d110c
commit b7e656a319
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
319 changed files with 46747 additions and 7408 deletions

View file

@ -32,7 +32,7 @@ For Docker deployments, add the password to your environment:
# docker-compose.yml
services:
open_notebook:
image: lfnovo/open_notebook:latest-single
image: lfnovo/open_notebook:v1-latest-single
ports:
- "8502:8502"
environment:
@ -91,7 +91,7 @@ OPEN_NOTEBOOK_PASSWORD=admin
## 🛡️ How Security Works
### Streamlit UI Protection
### React frontend Protection
When password protection is enabled:
@ -126,7 +126,7 @@ These endpoints work without authentication:
# docker-compose.single.yml
services:
open_notebook_single:
image: lfnovo/open_notebook:latest-single
image: lfnovo/open_notebook:v1-latest-single
ports:
- "8502:8502"
- "5055:5055"
@ -146,7 +146,7 @@ services:
# docker-compose.yml
services:
surrealdb:
image: surrealdb/surrealdb:latest
image: surrealdb/surrealdb:v1-latest
ports:
- "127.0.0.1:8000:8000" # Bind to localhost only
command: start --log warn --user root --pass root file:///mydata/database.db
@ -155,7 +155,7 @@ services:
restart: always
open_notebook:
image: lfnovo/open_notebook:latest
image: lfnovo/open_notebook:v1-latest
ports:
- "8502:8502"
- "5055:5055"
@ -217,7 +217,7 @@ server {
add_header X-XSS-Protection "1; mode=block";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
# Streamlit UI
# React frontend
location / {
proxy_pass http://127.0.0.1:8502;
proxy_set_header Host $host;
@ -251,7 +251,7 @@ Configure your firewall to restrict access:
sudo ufw allow ssh
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw deny 8502/tcp # Block direct access to Streamlit
sudo ufw deny 8502/tcp # Block direct access to Next.js
sudo ufw deny 5055/tcp # Block direct access to API
sudo ufw enable
@ -269,7 +269,7 @@ iptables -A INPUT -p tcp --dport 5055 -j DROP
# Production docker-compose.yml with security
services:
open_notebook:
image: lfnovo/open_notebook:latest
image: lfnovo/open_notebook:v1-latest
ports:
- "127.0.0.1:8502:8502" # Bind to localhost only
- "127.0.0.1:5055:5055"