P2P Zero-Knowledge-Proof based Opensource Social Network - HexHoot

I find that the domain name that I purchased on an impulse, hexhoot.com, would be the ideal name for the p2p social network; both of which I described in some of my previous posts. I have been working on it during my pasttime for about a month now, and I decided to make it opensource. You can have a look at the project using the following link: https://github.com/zenineasa/hexhoot I have attempted to follow all the best development practices as much as I can. I have written tests, and, enabled continuous integration feature in GitHub to run all the tests, lint and copyright checks for the code changes that is being made. I also have captured all the foreseeable tasks in a Trello dashboard. This helps me keep track of all the bugs that I have detected and all the important tasks that need to be completed. There are quite a lot of tasks left to make this bug-free and feature-rich. I hope I will find enough time and motivation to do the same in the coming days.

Transferring Files between Computers and Phones using Wi-Fi

Phones are essentially miniaturized computers. If you connect your phone to a monitor, keyboard and mouse, it essentially becomes a computer. In this article, let us discuss about how to use an Android phone or a computer as a server and transfer the data into another phone or computer.

Doing this procedure on an Android device, you just need to install the app named Termux, which provides you with a Linux Terminal on Android.

If you don't have python installed already, install it using apt-get or apt using the respective commands listed below on your Linux Terminal or Termux. Note that admin privileges may be required to do so.
apt install python
apt-get install python
After you are done installing, before you create the server, you need to know what your IP address is so that other devices can access it. To obtain the IP address, simply type in the following command:
ifconfig 


In this case, the highlighted portion in the image above is the IP Address, 192.168.43.182. Now let us create the server and access it. The following command helps with the same:
python -m SimpleHTTPServer
or
python -m http.server 

The server would be available at http://192.168.43.182:8000. You can open that using your browser on your phone or computer connected to the same network as the server. If you wish to share a different directory, use cd command to move into a different folder and use the command above to host the server. If you want to share everything on your phone, perhaps running cd ../../../ and then running the command above would help.

Interesting use case:

Once upon a time, I did not have any application installed on my phone that could be used for sharing files. I had a file which I needed to transfer with a few of my friends. So, I went ahead with setting up a hotspot and asked everyone to connect to the hotspot. This ensured that we were in the same network. After that I went ahead to create a server using the method suggested above. And everyone could download the file that I wanted to share.

Comments

Popular posts from this blog

Regarding a Covid-19 related project that I worked on a few months ago

Went into the University for the first time

P2P Zero-Knowledge-Proof based Opensource Social Network - HexHoot