Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        



Logo

❮ ZI ❯ Service - Py3HTTP

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.