How bear2305/pp-script works
PP is a small Bash launcher for Python’s built-in HTTP server. The documented workflow is: invoke pp, select the supplied directory or default to the current directory, show network-interface information, then start serving that directory on port 8000. Source excerpts were unavailable, so the relationships shown are limited to those explicitly described in the README.
Main entry points: pp PP launcher
Components 6
Other components
- Terminal user
- PP launcher
pp - Selected directory
- ip command
- Python HTTP server
- Local network clients
Connections 9
- Terminal user → PP launcher: invokes
- Terminal user → Selected directory: selects directory
- PP launcher → Selected directory: defaults to cwd
- PP launcher → ip command: checks interface
- ip command → PP launcher: returns IP info
- PP launcher → Terminal user: displays IP info
- PP launcher → Python HTTP server: starts server
- Python HTTP server → Selected directory: serves files
- Local network clients → Python HTTP server: requests files