{"id":21229989,"url":"https://github.com/frklan/godot-peer-finder","last_synced_at":"2025-07-31T11:06:45.648Z","repository":{"id":178549497,"uuid":"282633847","full_name":"frklan/Godot-Peer-Finder","owner":"frklan","description":"A Godot node to find other peers on the same network","archived":false,"fork":false,"pushed_at":"2020-07-26T17:28:19.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T18:11:52.427Z","etag":null,"topics":["godot","godot3","multiplayer","udp"],"latest_commit_sha":null,"homepage":"","language":"GDScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frklan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-26T11:17:08.000Z","updated_at":"2023-08-08T11:01:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"af234abb-a662-4fbc-8f16-4c2e3f0d9b6c","html_url":"https://github.com/frklan/Godot-Peer-Finder","commit_stats":null,"previous_names":["frklan/godot-peer-finder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frklan%2FGodot-Peer-Finder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frklan%2FGodot-Peer-Finder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frklan%2FGodot-Peer-Finder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frklan%2FGodot-Peer-Finder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frklan","download_url":"https://codeload.github.com/frklan/Godot-Peer-Finder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243672487,"owners_count":20328768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["godot","godot3","multiplayer","udp"],"created_at":"2024-11-20T23:31:03.276Z","updated_at":"2025-03-15T02:16:36.903Z","avatar_url":"https://github.com/frklan.png","language":"GDScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Godot-Peer-Finder\n\nGodot-Peer-Finder is a script that finds other instances on the same subnet by sending and receiveing UDP packets on port 35434.\n\n## How to use\n\n- Download the latest release from [https://github.com/frklan/Godot-Peer-Finder](https://github.com/frklan/Godot-Peer-Finder) somewhere in your project (e.g. as a sumbodule)\n- Autoload the ´´´PeerFinder.gd´´´script in Godot (i.e. Project Settings -\u003e Autoload)\n- At a minimum, connect to the ```peer_found```and ```peer_lost``` signals, then call PeerFinder.start()\n\n## Example\n\nSee [https://github.com/frklan/Godot-Peer-Finder-Demo](https://github.com/frklan/Godot-Peer-Finder-Demo)\n\n## Documentation\n\n### Methods\n\n## Start()\n\nStarts the PeerFinder listening for peers and broadcasting it's existance.\n\n### Stop()\n\nStops the PeerFiner listening and broadcasting\n\n### Signals\n\n| Name                  | Signal          | Argument                                   |\n|-----------------------|-----------------|--------------------------------------------|\n| Server started        | server_started  | None                                       |\n| Server stopped        | server_stopped  | None                                       |\n| New peer found        | peer_found      | [PeerEventPeerFound](#PeerEventPeerFound)  |\n| Per lost/dissapeard   | peer_lost       | [PeerEventPeerLost](#PeerEventPeerLost)    |\n\n#### PeerEventPeerFound\n\nAn event that is dispatched when a new peer is discovered. Note the event will be dispatched again if the peer was previously seen and subsequently lost and rediscovered.\n\n***Properties***\n\n- peer_address: ***String*** A string containing the IP address of the remote peer\n- peer_port: ***int*** The port the Peer appeared at (will always be 35434)\n- packet_payload: ***String*** A string sent by the remote peer, currently hardcoded to \"Hello\"\n\n#### PeerEventPeerLost\n\nAn event sent when the PeerFinder has not received a UDP packet from the peer for more than 5 seconds\n\n***Properties***\n\n- peer_address: ***String*** A string containing the IP address of the remote peer\n- peer_port: ***int*** The port the Peer appeared at (will always be 35434)\n\n## Contributing\n\nContributions are always welcome!\n\nWhen contributing to this repository, please first discuss the change you wish to make via the issue tracker, email, or any other method with the owner of this repository before making a change.\n\nPlease note that we have a code of conduct, you are required to follow it in all your interactions with the project.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/frklan/[TBD]/tags).\n\n## Authors\n\n- **Fredrik Andersson** - [frklan](https://github.com/frklan)\n\n## License\n\nThis project is licensed under the CC BY-NC-SA License - see the [LICENSE](LICENSE) file for details\n\nFor commercial/proprietary licensing, please contact the project owner\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrklan%2Fgodot-peer-finder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrklan%2Fgodot-peer-finder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrklan%2Fgodot-peer-finder/lists"}