diff --git a/uwsgicc/__init__.py b/uwsgicc/__init__.py
new file mode 100644
index 00000000..f2ce560d
--- /dev/null
+++ b/uwsgicc/__init__.py
@@ -0,0 +1,3 @@
+from uwsgicc import app
+
+application = app
diff --git a/uwsgicc/templates/index.html b/uwsgicc/templates/index.html
new file mode 100644
index 00000000..27b9c077
--- /dev/null
+++ b/uwsgicc/templates/index.html
@@ -0,0 +1,74 @@
+
uWSGI {{uwsgi.version}} Control Center
+
+nodename: {{uwsgi.cluster_node_name()}}
+mode: {{uwsgi.mode}}
+started_on: {{uwsgi.started_on|unixtime}}
+workers: {{uwsgi.numproc}}
+masterpid: {{uwsgi.masterpid()}}
+cluster: {{uwsgi.cluster()}}
+
+options
+{% for k in uwsgi.opt.keys() %}
+ {{k}}={{uwsgi.opt[k]}}
+{% endfor %}
+
+workers
+
+{% for w in uwsgi.workers() %}
+
+ | {{w.id}} |
+ {{w.pid}} |
+ {{w.requests}} |
+ {{w.respawn_count}} |
+
+{% endfor %}
+
+
+cluster nodes
+best is {{ uwsgi.cluster_best_node() }}
+
+
+
+
+
+
+{% for ucn in uwsgi.cluster_nodes() %}
+
+ | {{ uwsgi.cluster_node_name(ucn) }} |
+ {{ ucn }} |
+
+
+
+
+
+
+{% endfor %}
+
+
+
+
diff --git a/uwsgicc/uwsgicc.py b/uwsgicc/uwsgicc.py
new file mode 100644
index 00000000..60c27d4a
--- /dev/null
+++ b/uwsgicc/uwsgicc.py
@@ -0,0 +1,14 @@
+import uwsgi
+from flask import Flask, render_template
+import time
+
+app = Flask(__name__)
+
+@app.template_filter('unixtime')
+def unixtime(s):
+ return time.strftime("%d/%m/%Y %H:%M:%S", time.localtime(s))
+
+
+@app.route("/")
+def index():
+ return render_template("index.html", uwsgi=uwsgi)