Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/z-shell/zservice-py3http
This Zsh service plugin will serve the given directory (plugin's directory by default) using Python's 3 HTTP server.
https://github.com/z-shell/zservice-py3http
python-httpserver shell zservice zsh zsh-plugin
Last synced: about 15 hours ago
JSON representation
This Zsh service plugin will serve the given directory (plugin's directory by default) using Python's 3 HTTP server.
- Host: GitHub
- URL: https://github.com/z-shell/zservice-py3http
- Owner: z-shell
- License: mit
- Created: 2021-11-08T09:21:04.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-01T11:27:06.000Z (11 months ago)
- Last Synced: 2024-04-18T10:18:32.604Z (7 months ago)
- Topics: python-httpserver, shell, zservice, zsh, zsh-plugin
- Language: Shell
- Homepage: https://z.digitalclouds.dev
- Size: 6.84 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This **Zsh** service-plugin will serve given directory _(plugin's directory by default)_ using **Python's 3 HTTP server**.
## Install with ❮ [ZI](https://github.com/z-shell/zi/) ❯
The service-plugin supports loading single plugin instance per all active Zsh sessions, in background.
```shell title="~/.zshrc"
zi ice service'py3http'
zi light z-shell/zservice-py3http
```## 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.