This commit is contained in:
2025-06-17 13:06:48 +02:00
parent 9146896837
commit 8c6ed3d642
9 changed files with 1235 additions and 0 deletions

24
.env.example Normal file
View File

@@ -0,0 +1,24 @@
# JupyterHub Notebook Viewer Configuration
# Copy this file to .env and modify as needed
# Core Settings
JUPYTERHUB_SHARED_DIR=/shared
APP_TITLE=JupyterHub Notebook Viewer
# Flask Settings
FLASK_HOST=0.0.0.0
FLASK_PORT=5000
FLASK_DEBUG=True
FLASK_SECRET_KEY=your-secret-key-change-in-production
# File Handling
MAX_FILE_SIZE=16777216 # 16MB in bytes
NOTEBOOKS_PER_PAGE=50
ALLOWED_EXTENSIONS=.ipynb,.py,.md
# Feature Toggles
ENABLE_DOWNLOAD=True
ENABLE_API=True
# UI Settings
THEME=dark # dark or light