https://github.com/0x9n0p/pluto
No code is needed to have customized backend services.
https://github.com/0x9n0p/pluto
backend backend-as-a-service backend-framework plutoengine realtime
Last synced: about 1 month ago
JSON representation
No code is needed to have customized backend services.
- Host: GitHub
- URL: https://github.com/0x9n0p/pluto
- Owner: 0x9n0p
- License: unlicense
- Created: 2023-11-10T11:32:39.000Z (over 2 years ago)
- Default Branch: release
- Last Pushed: 2024-02-02T11:25:06.000Z (about 2 years ago)
- Last Synced: 2024-02-02T12:31:53.818Z (about 2 years ago)
- Topics: backend, backend-as-a-service, backend-framework, plutoengine, realtime
- Language: Go
- Homepage: http://PlutoEngine.ir
- Size: 15.4 MB
- Stars: 11
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Pluto
No code is needed to launch multiplayer game servers.

## SDK
* [Golang](https://github.com/0x9n0p/pluto/tree/dev/sdk)
* Unity (WIP, Help wanted)
* Unreal Engine (Contributor needed)
## Build & Run
Pluto gives you a single binary file, so you may clone the project and execute the command below.
```bash
go build -o pluto bin/main.go && ./pluto
```
The binary file does not take arguments, but you can pass environment variables to it.
```bash
PLUTO_HOST=localhost,127.0.0.1 PLUTO_HTTP_SERVER=0.0.0.0:80 PLUTO_PANEL_STORAGE=./tmp/ PLUTO_DEBUG=true ./pluto
```
## Panel
### APIs Examples
#### Login
```bash
curl -X POST http://panel.localhost/api/v1/auth \ ✔
-H 'Content-Type: application/json' \
-d '{"email":"admin", "password":"admin"}'
```
```json
{
"email": "admin",
"token": "$TOKEN"
}
```
#### Create/Save pipelines
This API Creates/Saves the pipeline and returns the saved pipeline in response.
```bash
curl -X POST http://panel.localhost/api/v1/pipelines \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer $TOKEN' \
-d '{"name":"PIPELINE_NAME","processors":[{"name":"Write to input/output","arguments":[{"name":"io_interface","type":"InternalInterface","value":"ARGUMENT_VALUE"}]}]}'
```
```json
{
"name": "PIPELINE_NAME",
"processors": [
{
"name": "Write to input/output",
"arguments": [
{
"name": "io_interface",
"type": "InternalInterface",
"value": "ARGUMENT_VALUE"
}
]
}
]
}
```
## Configuration
## Architecture Overview