{"id":13537515,"url":"https://github.com/node-pinus/pinus","last_synced_at":"2025-05-13T19:16:27.370Z","repository":{"id":27829496,"uuid":"115299192","full_name":"node-pinus/pinus","owner":"node-pinus","description":"A fast,scalable,distributed game server framework for Node.js, Powered by TypeScript.  一个TypeScript写的node.js分布式游戏/应用服务器框架（原型基于pomelo）。","archived":false,"fork":false,"pushed_at":"2025-03-29T05:07:43.000Z","size":10310,"stargazers_count":1884,"open_issues_count":39,"forks_count":391,"subscribers_count":78,"default_branch":"master","last_synced_at":"2025-05-08T21:56:11.484Z","etag":null,"topics":["game-server","nodejs","typescript"],"latest_commit_sha":null,"homepage":"https://pinus.io","language":"JavaScript","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/node-pinus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-12-25T02:22:29.000Z","updated_at":"2025-05-08T06:26:16.000Z","dependencies_parsed_at":"2024-07-25T07:31:00.929Z","dependency_job_id":"29273319-565c-4ac4-9b85-cb62b2bc280b","html_url":"https://github.com/node-pinus/pinus","commit_stats":{"total_commits":941,"total_committers":30,"mean_commits":"31.366666666666667","dds":0.6354941551540914,"last_synced_commit":"aecbf99dd24b0c4ce16bf2df2acb4ddfc04f4fff"},"previous_names":[],"tags_count":85,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-pinus%2Fpinus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-pinus%2Fpinus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-pinus%2Fpinus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-pinus%2Fpinus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-pinus","download_url":"https://codeload.github.com/node-pinus/pinus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254010823,"owners_count":21999003,"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":["game-server","nodejs","typescript"],"created_at":"2024-08-01T09:00:59.976Z","updated_at":"2025-05-13T19:16:22.351Z","avatar_url":"https://github.com/node-pinus.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Utilities"],"sub_categories":["Development tools and services"],"readme":"\n[![Actions Status](https://github.com/node-pinus/pinus/workflows/ci/badge.svg?branch=master\u0026event=push)](https://github.com/node-pinus/pinus/actions)\n\n官方网站：[https://pinus.io](https://pinus.io)\n欢迎加Pinus官方QQ群：102530089\n\n\n示例工程请参见：https://github.com/node-pinus/pinus/tree/master/examples/simple-example\n\n手动安装：\nnpm install pinus -g\n\nmkdir testProject\ncd testProject\n初始化项目\npinus init\n\n### 与Pomelo的关系\n\n1. pinus是pomelo的TS版本，框架内部把回调改为了Promise。\n1. 框架与pomelo一样，所以可以看pomelo的相关教程。\n1. 协议与pomelo一样，所以pomelo的客户端代码可以直接对接上pinus服务端。\n\n\n### 框架编译方法\n\n```\ngit clone https://github.com/node-pinus/pinus.git\ncd pinus\nyarn\nyarn run build\n```\n\n编译好以后可以使用 yarn link 或者 npm link 软链接到自己的项目。\n也可以用 yarn 的 workspace\n\n#### [查看pinus CHANGELOG](CHANGELOG.md)\n\n## Pinus -- a fast, scalable game server framework for node.js\n\nPinus is a fast, scalable game server framework for [node.js](http://nodejs.org).\nIt provides the basic development framework and many related components, including libraries and tools.\nPinus is also suitable for real-time web applications; its distributed architecture makes pinus scale better than other real-time web frameworks.\n\n## Features\n\n### Complete support of game server and realtime application server architecture\n\n* Multiple-player game: mobile, social, web, MMO rpg(middle size)\n* Realtime application: chat,  message push, etc.\n\n### Fast, scalable\n\n* Distributed (multi-process) architecture, can be easily scale up\n* Flexible server extension\n* Full performance optimization and test\n\n### Easy\n\n* Simple API: request, response, broadcast, etc.\n* Lightweight: high development efficiency based on node.js\n* Convention over configuration: almost zero config\n\n### Powerful\n\n* Many clients support, including javascript, flash, android, iOS, cocos2d-x, C\n* Many libraries and tools, including command line tool, admin tool, performance test tool, AI, path finding etc.\n* Good reference materials: full docs, many examples and [an open-source MMO RPG demo](https://github.com/NetEase/pinus/wiki/Introduction-to--Lord-of-Pinus)\n\n### Extensible\n\n* Support plugin architecture, easy to add new features through plugins. We also provide many plugins like online status, master high availability.\n* Custom features, users can define their own network protocol, custom components very easy.\n\n## Why should I use pinus?\nFast, scalable, real-time game server development is not an easy job, and a good container or framework can reduce its complexity.\nUnfortunately, unlike web, finding a game server framework solution is difficult, especially an open source solution. Pinus fills this gap, providing a full solution for building game server frameworks.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-pinus%2Fpinus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-pinus%2Fpinus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-pinus%2Fpinus/lists"}