Files
kapow/README.rst
Roberto Abdelkader Martínez Pérez 0397ad647f Update README.rst
2019-11-15 13:33:34 +01:00

43 lines
965 B
ReStructuredText

Welcome to *Kapow!*
===================
With *Kapow!* you can publish simple **shell scripts** as **HTTP services** easily.
*Kapow!* with an example
------------------------
**Goal**
We want users on the Internet to be able to ``ping`` an *Internal Host*
which is inside a private network.
.. image:: https://github.com/BBVA/kapow/raw/feature-new-doc/docs/source/_static/network.png
**Limitations**
- We can't allow users to log into any host.
- We need to have full control over the precise command is run as
well as the parameters used.
**Solution**
With a *Kapow!* one-liner you can allow your users to run a command inside
*External Host* through an HTTP call.
.. image:: https://github.com/BBVA/kapow/raw/feature-new-doc/docs/source/_static/sequence.png
This is the only line you'll need:
.. code-block:: bash
$ kapow route add /ping -c 'ping -c1 10.10.10.100 | kapow set /response/body'
.. todo::
Mention license and contributing