Skip to content
Website friends system to connect friends from different game sources.
Python HTML JavaScript CSS Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Website community system to connect friends from different gaming sources like Steam, Battlenet and Teamspeak 3 used for

Ideas for the future:

  • make a comment feature on all sites/boxes (logged in) to the dev for ideas/improvements
  • statistic and/or ranking feature (lol, starcraft, ...)
  • groups
  • timers
  • message board
  • easy access filter for network selection like OS X dock on the left side

Install needed libraries (debian)

apt-get install python-pip python-dev redis-server libmysqlclient-dev
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r dist/requirements.txt

#pip install PyYAML Flask-Babel rauth feedparser Flask Flask-OpenID Flask-Babel celery redis requests numpy Flask-OpenID Flask-Compress Flask-Celery3 celery redis MySQL-python sqlalchemy

### Install TS3 Lib

git clone git:// libs/python-ts3
source venv/bin/activate
cd libs/python-ts3
python install

Tips and Tricks

### Init GIT Submodules

git submodule foreach git pull
git submodule update --init

Unable to write files to cache errors

If there is a problem caching the external image files, check the permissions on "MMOJunkiesPyFriends/mmofriends/static/cache/"

Generate a new application secret

import os

### How to start the redis server on OS X

sudo redis-server /opt/local/etc/redis.conf

Use this script to update all pip packages to the nwewst version. Especially useful, if you installed some libs via apt-get.

# Debian dependencies for pip update
apt-get install libmysqlclient-dev libffi-dev libacl1-dev libssl-dev
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import pip
from subprocess import call

for dist in pip.get_installed_distributions():
    print (":: Checking for %s" % dist.project_name)
    call("pip install --upgrade " + dist.project_name + "", shell=True)

Useful links:

## Used libs

## Planning sandbox: ### Groups

  • Name
  • Description
  • Nethandle (opt)
  • Game (opt)
  • Public (if false, invite only)
  • Timestamp (creation)
  • Members
  • Admins
  • Creator


  • Parent (Messageboard or Group)
  • Content (json data)
  • Timestamp
  • Owner
  • Type (text, appointment, link)

### Timer (Grouping for maps?)

  • Parent (Group or User?)
  • StartTimestamp
  • Duration
  • Owner
  • Public
  • Name
  • Description
  • Persistent (if false, only onetime timer)
  • Colors (json?)
You can’t perform that action at this time.