{"id":34819002,"url":"https://github.com/cg955gtr/switchnet","last_synced_at":"2026-04-04T07:02:51.869Z","repository":{"id":325784535,"uuid":"1102371489","full_name":"cg955gtr/SwitchNet","owner":"cg955gtr","description":"A blazingly fast and easy to use networking module for reducing bandwidth and overhead across remotes.","archived":false,"fork":false,"pushed_at":"2026-03-24T10:53:53.000Z","size":67,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-25T13:32:15.807Z","etag":null,"topics":["buffer","luau","network","networking","roblox"],"latest_commit_sha":null,"homepage":"","language":"Luau","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cg955gtr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-23T10:43:30.000Z","updated_at":"2026-03-24T10:51:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cg955gtr/SwitchNet","commit_stats":null,"previous_names":["cg955gtr/switchnet"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/cg955gtr/SwitchNet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cg955gtr%2FSwitchNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cg955gtr%2FSwitchNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cg955gtr%2FSwitchNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cg955gtr%2FSwitchNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cg955gtr","download_url":"https://codeload.github.com/cg955gtr/SwitchNet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cg955gtr%2FSwitchNet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31390695,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["buffer","luau","network","networking","roblox"],"created_at":"2025-12-25T14:02:03.831Z","updated_at":"2026-04-04T07:02:51.861Z","avatar_url":"https://github.com/cg955gtr.png","language":"Luau","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwitchNet\n\nA blazingly fast and easy to use buffer-based networking module for reducing bandwidth and overhead across remotes.\nIt is designed to be easy to use and allows for communication via reliable, unreliable, and remote functions, while also prioritizing performance.\n\n\u003e **NOTE:** Unsupported objects (e.g. Instances) are simply passed through a reference routing table, as instances like that are not possible to compress currently.\n\nThis library is also compatible with --!strict typechecking.\n\n# Installation\n\n\u003e SwitchNet can be installed via. Wally, or via the .rbxm in latest releases.\n\n# Documentation\n\n\u003e For documentation, refer to the `DOCS.md` file.\n\n# Some basic usage examples\n\n### Server\n\n```luau\n--!strict\nlocal SwitchNet = require(game.ReplicatedStorage.SwitchNet)\n\nlocal Remote: SwitchNet.Server = SwitchNet.Server.new(\"NetTest\")\n--// ^ Creates a new server instance, also creating and adding the remote instances to ReplicatedStorage.\n\nSwitchNet.Server.Connect(Remote, \"Main\", function(Sender: Player, ...: any)\n\t--// ^ Basically as if you did .OnServerEvent\n\tprint(`The server sent us data! Data:`, ...)\n\n\tSwitchNet.Server.FireClient(Remote, Sender, \"Hello from the server!\")\nend)\n\nSwitchNet.Server.SetOnInvoke(Remote, function(Sender: Player, Action: string)\n\t--// ^ Basically as if you did .OnServerInvoke\n\tif Action == \"HelloMessage\" then\n\t\treturn \"Hello again, from the server!\"\n\tend\nend)\n```\n\n### Client\n\n```luau\n--!strict\nlocal SwitchNet = require(game.ReplicatedStorage:WaitForChild(\"SwitchNet\"))\n\nlocal Remote: SwitchNet.Client = SwitchNet.Client.new(\"NetTest\")\n--// ^ Creates a new client instance, which automatically searches ReplicatedStorage for the remote instances and listens to them.\n\nSwitchNet.Client.Connect(Remote, \"Main\", function(...: any)\n\t--// ^ Basically as if you did .OnClientEvent\n\tprint(`The server sent us data! Data:`, ...)\nend)\n\n--// Send some data to the server!\nSwitchNet.Client.FireServer(Remote, workspace:WaitForChild(\"Baseplate\"), \"Hello from client!\")\n\n--// Get some data from the server too\nlocal ServerMessage: string = SwitchNet.Client.InvokeServer(Remote, \"HelloMessage\")\n\nwarn(`The server responded! Message: {ServerMessage}`)\n```\n\n### And thats it in terms of setting it up! Its really easy to use, and heaps of bandwidth is being saved.\nMade by 8ch99","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcg955gtr%2Fswitchnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcg955gtr%2Fswitchnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcg955gtr%2Fswitchnet/lists"}