https://github.com/jadbin/filecho
A web server for serving static files based on aiohttp.
https://github.com/jadbin/filecho
Last synced: 5 months ago
JSON representation
A web server for serving static files based on aiohttp.
- Host: GitHub
- URL: https://github.com/jadbin/filecho
- Owner: jadbin
- License: apache-2.0
- Created: 2016-09-19T05:37:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-12T04:15:11.000Z (almost 8 years ago)
- Last Synced: 2025-09-27T23:16:42.412Z (9 months ago)
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
filecho
=======
.. image:: https://img.shields.io/badge/license-Apache 2-blue.svg
:target: https://github.com/jadbin/filecho/blob/master/LICENSE
Overview
--------
A web server for serving static files based on `aiohttp`_.
Requirements
------------
- Python >= 3.5
- `aiohttp`_
.. _aiohttp: https://pypi.python.org/pypi/aiohttp
Installation
------------
You can install filecho from PyPI with:
::
$ pip install filecho
Usage
-----
Run web server with:
::
$ filecho -d DIR -p PORT --prefix PREFIX
where ``DIR`` is the root directory of static files, ``PORT`` is the serving port, ``PREFIX`` is the prefix of the request path.
The default serving port is ``80``.
By the way, you can view the help message for usage with:
::
$ filecho -h