Skip to content

philip-zhan/decentralized-social-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentralized Social Network

As the majority of the social network is hosting their services on their owen server, the privacy as well as the content is usually controlled by the service provider. Our decentralized social network allows the user to post without data stored on a central data server but distributed to all user nodes.

How to run?

  • Server:
    In order to make the server up and accessible by users outside the LAN, the ngrok is required.
    Start the server by running python3 run.py and remember to install all python packages needed to run the server.
    Now, the server should be up successfully with statistics and network traffic information displayed.
    🎉🎉🎉

  • Client:
    In the IDE or in the terminal, simply run the client.py with a port that does not collide with other services. In PyCharm, the port is 5000 by default.
    Once the client is up, the URL to the application will be provided in the terminal. Click the link to access the web application.
    Now you have the decentralized social network! Have Fun!
    💃💃💃

For more explanation of the functionality, please refer to the user manual below

User Manual

  • Making a post

    Currently, there is no requirements on the account registration. Anyone could make a post providing the username and the post content.
    After the post is made, the server will mine the block of that post and then display the content of post with time descending order.

About Us

University of Waterloo DSN team
alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •