JupyterManager/config/defaults.sh
saymrwulf d191344eb5 Initial commit: jupyter-hub cross-project Jupyter manager
CLI tool that discovers and manages JupyterLab instances across
multiple projects. Prevents port conflicts, finds orphan processes,
provides unified status and stop-all functionality.

Includes:
- bin/jupyter-hub: the CLI (status, ports, stop-all, orphans, which, config)
- config/defaults.sh: default scan dirs and port range
- docs/LIFECYCLE_SPEC.md: client project requirements
- docs/AGENT_PROMPT.md: prompt for coding agents to align projects
- install.sh: symlink installer to ~/bin
- tests/test_jupyter_hub.sh: 15 functional tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 09:07:43 +02:00

18 lines
869 B
Bash

# ──────────────────────────────────────────────────────────────────────
# jupyter-hub default configuration
#
# Override these in ~/.config/jupyter-hub/config.sh
# ──────────────────────────────────────────────────────────────────────
# Port range to scan for Jupyter instances
PORT_RANGE_START=8888
PORT_RANGE_END=8899
# Directories to scan for projects with scripts/app.sh
# A project is recognized if it has:
# 1. scripts/app.sh AND
# 2. a notebooks/ directory OR jupyter in pyproject.toml
SCAN_DIRS=(
"$HOME/GitClone/ClaudeCodeProjects"
"$HOME/GitClone/CodexProjects"
)