https://github.com/topfreegames/libpitaya-cluster
This repo contains a c++ lib with pitaya's cluster logic for creating backend pitaya servers in other programming languages
https://github.com/topfreegames/libpitaya-cluster
pitaya
Last synced: 4 days ago
JSON representation
This repo contains a c++ lib with pitaya's cluster logic for creating backend pitaya servers in other programming languages
- Host: GitHub
- URL: https://github.com/topfreegames/libpitaya-cluster
- Owner: topfreegames
- License: mit
- Created: 2018-06-04T16:56:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-08-26T14:04:04.000Z (about 1 month ago)
- Last Synced: 2025-09-24T10:59:17.311Z (14 days ago)
- Topics: pitaya
- Language: C#
- Homepage:
- Size: 563 MB
- Stars: 23
- Watchers: 11
- Forks: 8
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# [WIP] pitaya-server
## Overview
The original [Pitaya](https://github.com/topfreegames/pitaya) project supports building pitaya servers in Go. This project aims to provide the same functionality, however aimed towards other programming languages. Currently, however, the supported languages are C++ and C#.**Note**: This library is still in early stage, meaning the there might be several bugs. Also, the API is not stable.
## About the components of the project
- **cpp-lib**: the C++ core library.
- **pitaya-sharp**: this is a solution with multiple C# projects. The main one is `NPitaya`, a library that wraps the native C++ library and provides a conveninent interface for writing pitaya servers in C#.
- **python-lib**: this a python lib that wraps the shared library methods, you can include it in python projects to create python pitaya servers
- **go-server**: thats an example server for using with the other components, you can run it with ```make run-go-server```
- **unity-example**: this is an unity example that uses NPitaya. For running it you must place (or link) out/libpitaya_cluster.dylib into Assets/Plugins folder## Installation
| Language | Project Location |
| -------- |------------------------------|
| C++ | [cpp-lib](cpp-lib) |
| C# | [pitaya-sharp](pitaya-sharp) |## Releasing a new version in OpenUPM
- Wait for the Github Actions Pipeline to run, to generate the platform specific "libpitaya_cpp" binaries.
- Put the linux, windows, and macos (unity/fat) in the folder pitaya-sharp/NPitaya/Runtime/Plugins
- Change the version in the file pitaya-sharp/NPitaya/package.json
- Create a new tag in the format "vX.Y.Z" and push it to the repositoryNew lib version will be available in [OpenUPM](https://openupm.com/packages/com.wildlifestudios.npitaya/) in a few minutes. Read documentation [here](https://openupm.com/docs/#how-it-works) for more information.