mirror of
https://github.com/saymrwulf/JupyterManager.git
synced 2026-05-14 20:38:00 +00:00
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>
18 lines
869 B
Bash
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"
|
|
)
|