Skip to content
Distributed Social Network made with Python
JavaScript Python CSS CoffeeScript Shell
Find file
Failed to load latest commit information.
patches [PEP8] Applied PEP8 to patches/ Sep 13, 2012
README.rst update README Jul 29, 2014
setup.cfg wrong package added for client Dec 7, 2013


Newebe, Feel Free to Share

Growth of web applications has been a huge improvement for social sharing and collaborative work. Unfortunately, to enjoy these new tools, we have traded our privacy. Newebe aims to solve this problem by providing a social tool you host at your home and that connects directly with your contacts.

Before you ask, Newebe is not like Diaspora, it is thinked distributed in a peer-2-peer manner : it is designed to be self-hosted and does not require 3rd party server.

Installation Instructions

Check the website install section :

Set up a development environment (Ubuntu and Debian)


Install following packages:

python python-setuptools python-pip python-pycurl python-imaging couchdb
git libxml2-dev libxslt-dev

For ubuntu:

sudo apt-get build-dep python-imaging

Add link required by PIL:

ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib

Install virtualenv:

sudo pip install virtualenv

Retrieve Newebe project:

git clone
cd newebe

Create and activate virtualenv:

virtualenv --no-site-packages virtualenv
. virtualenv/bin/activate

Then via easy_install:

pip install -r deploy/requirements.txt
pip install -r deploy/requirements-dev.txt

In Newebe settings file (, set DEBUG variable to True.

Go inside newebe folder:

cd newebe

Then, still in Newebe directory set DB by running:

python tools/

Change parameters such as port, debug mode and timezone inside a config file called config.yaml. Here is an exemple of config file (see wiki for a complete descritpion):

    port: 8000
    timezone: "Europe/Paris"
    debug: True
    name: "newebe"
    cookie_key: "61oETzKXQAGaYdkL5gEmGeJJFuYh7EQnp2XdTP1o/Vo="

Run server:

python --debug=True

In your browser, connect to http://localhost:8000/ and check that everything is fine.


To work on client you will need node.js. So first install it:

git clone

cd node
make install

Now install Brunch the front-end assembler:

npm install brunch -g

Install build dependencies

cd client npm install

Then watch for file modifications to build the client on change:

cd client brunch w

Run tests (backend)

Activate your virtual env, then install test dependencies:

virtualenv --distribute --no-site-packages virtualenv
. virtualenv/bin/activate
pip install -r deploy/requirements-dev.txt

Then run tests for each module. Tests require that a second newebe runs on port 8889:



Description:Newebe is a distributed social network
Author:Gelnior (
License:AGPL v3.0
Something went wrong with that request. Please try again.