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/
