Assets 2

With this release comes a few new features and slightly easier setup. In order to run this version, you must use a the following command:


Once you've done this, look at the URL in your console and browse to it. This is includes the IP address you can give to your friends on the same network. This version is still only for communication between computers on the same network, however there's nothing to say that it wouldn't work technically through a gateway router. There would have to be port-forwarding set-up on the gateway in front of the servers however.

New Features 🎈

  • The default login is a username of "user", and a password of "password". When you login, you will be prompted for a username. This is what people will call you for the rest of your friendship with them unless they change what they call you on their machine. It is assumed in places that this will stay the same for the rest of time, so choose wisely. In future, you should be able to change it as many times as you want however.
  • Become friends with someone my browsing to http://your.ip.address/o2m/non_friend/TheirUsername@their.ip.address:their_port where 'their_port' will be 8000 by default. Then click on the link underneath the placeholder for their profile picture.
  • View notifications by going to http://your.ip.address/o2m/notifications (they don't do much at the moment)
  • Accept a friend request by doing the same as above.
  • Link and Content removal are now possible (if you're on Mac, Safari - see bugs)
  • Visit /admin for the standard Django admin page to administer your site. Be careful what you change or things might stop working πŸ˜„

Bugs πŸ›

  • If you're running Windows with Chrome, then you won't be able to delete anything (through the standard interface)

@lukebarnard1 lukebarnard1 released this Mar 25, 2015 · 120 commits to master since this release

Assets 2

This release marks the first version that could potentially be used for actual social networking. It comes in the form of a client and a server, separated by being different Django apps.

To run, do:

python runserver

Or use and an Apache web server with some extra configuration and the mod_wsgi extension for a more secure method of hosting.


  • Add posts and comments to your own wall
  • Add comments to your friends' walls
  • View friends timelines all merged into one (/o2m/timeline)
  • View your own posts and nobody else's (/o2m/home)


  • If someone's computer isn't turned on, or is unreachable, then exceptions occur and are not handled

#Desired Features

  • Security needs improving:
    • Passwords for accessing self or friend's servers are currently just stored as plain text
    • Determining who's running the server program itself (or in other words, determining the owner of the server) is currently done by setting the name of the User and Friend in
  • Link and content deletion should both be possible with or without the deletion of one another
  • Adding friends (would involve adding someone as a friend but with a flag to say whether they are 'accepted', then only 'accepted' friends are allowed to post comments and view posts of the owner. This should be easily achieved with Django's user groups (although there is already a similar-sounding flag).
  • Adding link content - content from another website, such as YouTube for instance by simply typing a URL
  • Markdown support
  • Removal of HTML support - it gives too much flexibility and could introduce dangerous javascript to friend's computers
  • Extensive documentation in the code and also in the github wiki to help contributors