https://github.com/aturley/pony-rc-together-realtime
A pony program that connects to Recurse Center's virtual space
https://github.com/aturley/pony-rc-together-realtime
Last synced: 7 months ago
JSON representation
A pony program that connects to Recurse Center's virtual space
- Host: GitHub
- URL: https://github.com/aturley/pony-rc-together-realtime
- Owner: aturley
- Created: 2022-04-01T18:25:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-07T02:40:59.000Z (over 3 years ago)
- Last Synced: 2025-01-28T10:51:32.539Z (9 months ago)
- Language: Pony
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RC Together Real-Time
## Overview
This program uses websockets to maintain a real-time connection to RC
Together, the virtual Recurse Center space.## Features
Currently it does the following:
* connects to RC Together using a websocket connection
* subscribes to the `ApiChannel` channel
* dumps where users (or at least their avatars) are## Build
### Prerequisites
You must have [`corral`](https://github.com/ponylang/corral) (the Pony
package manager) and [`ponyc`](https://github.com/ponylang/ponyc) (the
Pony compiler) installed in order to build this project. The easiest way to get these tools is to [install `ponyup`](https://github.com/ponylang/ponyup) and then run the following commands```bash
ponyup update ponyc release
ponyup update corral release
```### Building
To build the project, run the following commands:
```bash
corral fetch
corral run -- ponyc -Dopenssl_0.9.0 --output build
```You may need to change `-Dopenssl_0.9.0` to `-Dopenssl_1.1.x`
[depending on which version of OpenSSL you are
using](https://github.com/ponylang/net_ssl#supported-ssl-versions).## Run
The program depends on the environment variables `APP_ID` and
`APP_SECRET`. You can get these by [creating an app in RC
Together](https://recurse.rctogether.com/apps).