What the hell is it?

> If you wanna hang out you’ve got to take her out; cocaine.
> If you wanna get down, down on the ground; cocaine.
> She don’t lie, she don’t lie, she don’t lie; cocaine.

Gary Louris & Eric Clapton

Your personal app engine. Technically speaking, it’s an open-source cloud platform enabling you to build your own PaaS clouds using simple yet effective dynamic components.

Notable features:

At the moment, Cocaine Core supports the following languages and specifications:

We have the following services:

And the following event drivers built-in:

A motivating example

Here’s some extremely useful Cocaine app written in Python.

#!/usr/bin/env python

from cocaine.services import Service
from cocaine.worker import Worker

storage = Service("storage")

def process(value):
    return len(value)

def handle(request, response):
    key = yield request.read()
    value = yield storage.read("collection", key)


    'calculate_length': handle

Okay, I want to try it!

Then it’s time to read our Wiki for installation instructions, reference manuals and cookies!