{"id":24647015,"url":"https://github.com/stiledevs/growtopia.js","last_synced_at":"2025-05-12T23:09:36.491Z","repository":{"id":167291048,"uuid":"642837574","full_name":"StileDevs/growtopia.js","owner":"StileDevs","description":"A Rust based, cross-platform, high-performance Growtopia private server framework utilizing Node.js, Bun.js.","archived":false,"fork":false,"pushed_at":"2025-05-05T15:37:26.000Z","size":2938,"stargazers_count":16,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-12T23:09:26.717Z","etag":null,"topics":["enet","growtopia","growtopiaserver","gtps","rust","rust-lang"],"latest_commit_sha":null,"homepage":"http://gtjs.jad.li","language":"TypeScript","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/StileDevs.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}},"created_at":"2023-05-19T13:07:24.000Z","updated_at":"2025-05-05T15:37:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"afff52e0-981b-4038-9c0b-72af45e5a4b5","html_url":"https://github.com/StileDevs/growtopia.js","commit_stats":null,"previous_names":["jadlionhd/growtopia.js","stiledevs/growtopia.js"],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StileDevs%2Fgrowtopia.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StileDevs%2Fgrowtopia.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StileDevs%2Fgrowtopia.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StileDevs%2Fgrowtopia.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StileDevs","download_url":"https://codeload.github.com/StileDevs/growtopia.js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837451,"owners_count":21971984,"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":["enet","growtopia","growtopiaserver","gtps","rust","rust-lang"],"created_at":"2025-01-25T15:13:56.095Z","updated_at":"2025-05-12T23:09:36.480Z","avatar_url":"https://github.com/StileDevs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GrowtopiaJS](/assets/images/banner.png)][github-growtopia-js-url]\n[![Github Stars](https://img.shields.io/github/stars/StileDevs/growtopia.js?style=flat-square\u0026link=https%3A%2F%2Fgithub.com%2FStileDevs%2Fgrowtopia.js)][github-star-growtopia-js-url]\n[![NPM Version](https://img.shields.io/npm/v/growtopia.js?style=flat-square\u0026link=https%3A%2F%2Fnpmjs.com%2Fpackage%2Fgrowtopia.js)][npm-growtopia-js-url]\n[![NPM Downloads](https://img.shields.io/npm/dw/growtopia.js?link=https%3A%2F%2Fnpmjs.com%2Fpackage%2Fgrowtopia.js\u0026color=blue)][npm-growtopia-js-url]\n[![NPM Minified](https://img.shields.io/bundlephobia/min/growtopia.js?style=flat-square\u0026link=https%3A%2F%2Fnpmjs.com%2Fpackage%2Fgrowtopia.js\u0026color=blue)][npm-growtopia-js-url]\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/StileDevs/growtopia.js/CI.yml?branch=main\u0026link=https%3A%2F%2Fgithub.com%2FStileDevs%2Fgrowtopia.js%2Factions)][github-ci-cd-growtopia-js-url]\n\nA Rust based, cross-platform, high-performance Growtopia private server ENet framework utilizing Node.js, Bun.js.\n\n## Features\n\n- Stable\n- Built-in ItemsDat tools\n\n## Installation\n\n```sh\nnpm i growtopia.js\n```\n\n## Example\n\n```js\nconst { Client, TextPacket, Peer } = require(\"growtopia.js\");\n\nconst client = new Client({\n  enet: {\n    ip: \"0.0.0.0\",\n    port: 17091\n  }\n});\n\nclient.on(\"ready\", () =\u003e {\n  console.log(`ENet server: port ${client.config.enet.port} on ${client.config.enet.ip}`);\n});\n\nclient.on(\"error\", (err) =\u003e {\n  console.log(\"Something wrong\", err);\n});\n\nclient.on(\"connect\", (netID) =\u003e {\n  console.log(`Connected netID ${netID}`);\n  const peer = new Peer(client, netID);\n  peer.send(TextPacket.from(0x1));\n});\n\nclient.on(\"disconnect\", (netID) =\u003e {\n  console.log(`Disconnected netID ${netID}`);\n});\n\nclient.on(\"raw\", (netID, channelID, data) =\u003e {\n  const peer = new Peer(client, netID);\n  console.log(\"raw\", data);\n});\n\nclient.listen();\n```\n\n## Links\n\n- [Documentation](https://jadlionhd.github.io/growtopia.js/)\n- [Discord Server](https://discord.gg/sGrxfKZY5t)\n\n## Credits\n\nGive a thumbs to these cool people\n\n- [Syn9673](https://github.com/Syn9673)\n\n[github-growtopia-js-url]: https://github.com/StileDevs/growtopia.js\n[github-ci-cd-growtopia-js-url]: https://github.com/StileDevs/growtopia.js/actions\n[github-star-growtopia-js-url]: https://github.com/StileDevs/growtopia.js/stargazers\n[npm-growtopia-js-url]: https://github.com/StileDevs/growtopia.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstiledevs%2Fgrowtopia.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstiledevs%2Fgrowtopia.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstiledevs%2Fgrowtopia.js/lists"}