Metadata-Version: 2.1
Name: pyprerender
Version: 0.0.9
Summary: A python prerender
Home-page: https://github.com/thingiesmm/pyprerender
Author: Matas Minelga
Author-email: minematas@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: pychrome (~=0.2.3)
Requires-Dist: uvicorn (~=0.11.8)
Requires-Dist: starlette (~=0.13.8)
Requires-Dist: setuptools (~=49.6.0)

# pyprerender
A python prerenderer

## About

Intended to be a fully replaceable [prerender](https://github.com/prerender/prerender) alternative. For now it is very barebones and does not support the majority of the features.

## Install instructions

To install, you can simply use pip:

`pip install pyprerender`

To install a git version, simply do this:

    git clone https://github.com/thingiesmm/pyprerender.git
    pip install ./pyprerender/


## Run instructions

After installing just run `pyprerender-api.py` (_You may need to set your chrome bin location by running `CHROME_LOCATION=/my/chrome/location pyprerender-api.py`_)

Then you can test it by running `curl "0.0.0.0:8080/render?url=https://example.com"`


## Contributing

TODO


