A simple P2P network library for decentralized node connections
Discover public IP and port using STUN servers for direct connections
Signaling Server Setup β’ Client Installation β’ Usage β’ Customization
Before using Fungi, set up a signaling server to track and share node information:
docker run -p 8000:8000 victorgoubet/fungi_server:v1π‘ Replace
v1with your desired release version.
Choose between pip or Docker for client installation:
- Install Fungi:
pip install https://github.com/VictorGoubet/fungi/archive/refs/tags/v1.tar.gz- Configure the signaling server URL in
utils/constants.py:
SERVER_URL = "http://localhost:8000"- Launch the client:
launch-fungiRun the Fungi client container:
docker run -p 8080:8080 victorgoubet/fungi_client:v1π‘ Replace
v1with your desired release version.
After launching the client, navigate to http://localhost:8080 in your web browser.
To build your own signaling server Docker image, utilize the scripts in the server/scripts folder:
- π§ Linux:
fungi/server/scripts/linux/ - π macOS:
fungi/server/scripts/macos/ - πͺ Windows:
fungi/server/scripts/windows/
