2019-11-19 13:02:48 +01:00
2019-11-15 13:31:43 +01:00
2019-10-10 11:49:58 +02:00
2019-04-24 11:38:54 +02:00

Welcome to *Kapow!*
===================

.. image:: https://goreportcard.com/badge/github.com/bbva/kapow
    :target: https://goreportcard.com/report/github.com/bbva/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

Description
Kapow! If you can script it, you can HTTP it.
Readme Apache-2.0 7.9 MiB
Languages
Go 63.2%
Gherkin 14.7%
Nix 11.7%
Python 9.5%
Makefile 0.5%
Other 0.4%