# zservice-py3http **Repository Path**: zdharma/zservice-py3http ## Basic Information - **Project Name**: zservice-py3http - **Description**: This Zsh service plugin will serve the given directory (plugin's directory by default) using Python's 3 HTTP server. - **Primary Language**: Shell - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-05 - **Last Updated**: 2022-02-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PY3HTTP This Zsh service-plugin will serve given directory (plugin's directory by default) using Python's 3 HTTP server. ## [ZI](https://github.com/z-shell/zi) A service-plugin needs a plugin manager that supports loading single plugin instance per all active Zsh sessions, in background. Zinit supports this, just add: ``` zi ice service'py3http' zi light z-shell/zservice-py3http ``` to `~/.zshrc`. ## Explanation of Zsh-spawned services First Zsh instance that will gain a lock will spawn the service. Other Zsh instances will wait. When you close the initial Zsh session, another Zsh will gain lock and resume the service.