Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dkter/srv
Serve a directory with one command
https://github.com/dkter/srv
Last synced: about 2 months ago
JSON representation
Serve a directory with one command
- Host: GitHub
- URL: https://github.com/dkter/srv
- Owner: dkter
- License: mpl-2.0
- Created: 2020-04-30T18:42:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-25T16:38:42.000Z (almost 4 years ago)
- Last Synced: 2024-11-06T13:47:44.427Z (2 months ago)
- Language: Python
- Size: 44.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
srv
---Serve a directory with one command.
### Install
pip install srv
### Usage
srv [-p PORT] [dir]
To serve the current directory from port 8000:
srv
![Screenshot](https://raw.githubusercontent.com/dkter/srv/assets/screenshot.png)