Its fun to connect computers. Lets see what we can do with that, what if we played telephone?
timebomb and the lovers
Computers that pass around a file, and change it as they do.
You'll need Python 3 installed.
-
Download this repository (with git or just the zip file)
-
Use pip to install the dependencies
pip3 install pyzmq flask waitress
-
Run the install python script
python3 installer.py
-
Set parameters in the
/app/data/config.json
for your site. -
Run the Program by double clicking the
run.bat
file. -
Hit
Ctrl+C
to stop the server.
This will allow the server to run on startup.
-
Install git.
sudo apt install git
-
Download the files from this repository.
git clone https://github.com/starmaid/netkiss.git
-
Navigate to, make executable, and run the install script. Get a cup of tea, it will take some time.
cd ./netkiss chmod +x ./install.sh ./install.sh
-
Set parameters in the
/app/data/config.json
for your site. -
Reboot the pi. The server should start as the pi powers on.
hostname: the public endpoint for your server. If you do not have a hostname, you can use your IP address.
debug: tells how much to print and if the server is availible externally. You will need to set this to false
if you want to connect to the server from another computer.
zmqservport: this is the port number you will open in your router to allow traffic in.
flaskport: this is the port number you navigate to in your browser to access the console.
I'm currently trying to get the most basic functionality working. This includes basic contact management, connecting/disconnecting, and basic data transfer.
My backend code is being made with an eye for the future, but the frontend is very "just enough to prove it works"
app/
templates/
data/
config.json # what port to use
server/
pubkey.key
secret.key
friends/
friends.json
friend1.key
friend2.key
friend3.key
app.py
networking.py