Skip to content

djdevin/recflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

151 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RecFlare

image

RecFlare is a scalable implementation of RecNet — the Rec Room backend — built on Cloudflare Workers. It implements the network services the Rec Room client talks to — accounts, auth, rooms, matchmaking, economy, chat, notifications, and more — each as an independent Node.js Worker on their own subdomains, just how RecNet was.

⚠️ Disclaimer: This is an unofficial, fan-made project for preservation and experimentation. It is not affiliated with, endorsed by, or connected to Rec Room Inc. "Rec Room" is a trademark of its respective owner.

Why?

There are already so many multiplayer clones, why?

  1. None of them are fully open source (some had leaks of old code).
  2. None of them run on microservice architecture, most on a single server.
  3. None of them had unit tests, so servers are constantly buggy.
  4. "Upgrading the server" is not sustainable plan for growth.
  5. This was fun (sort of). The goal was to build a project that everyone could use. No gatekeeping or viruses.

Infrastructure

RecFlare uses a true microservice architecture which is infinitely scalable and could support the same number of concurrent users as the original game. It will never run out of CPU, memory, or disk space.

Of course, cloud services cost money. That's the only limitation. So we'll see!

And being truly open source means that this project should have more eyes on it, resulting in bugs getting fixed faster. I hope.

Game client

See RecFlare Client

RecFlare is compatible with the RecNet Plugin and the build of Rec Room with manifest 7859140924515540835 (around 2023). Other client or game versions may expect different endpoints and response shapes and are not supported.

Generally speaking any client that effectively rewrites the nameserver with the right mods can be used with this server.

Services

See SERVICES.md

Deploying

Want to run it yourself? See DEPLOYING.md

FAQ

What year is this for?

This works with 2023 clients. It has been tested with manifest 7859140924515540835. Other clients may not work.

See the "Client" section above for instructions on how to modify a client to connect to this server.

Can I run this locally on my PC?

It's not currently supported. But theoretically, you could.

See "Run the development microservices" above. It may be possible later as Wrangler will mock remote services. YMMV for now.

Can I use this to make my own server?

Yes, that's the point. Just set your custom domain and deploy it.

Is there an admin panel?

Not yet. But there could be.

Can I copy this project and modify it?

Yes, see the LICENSE.

I would love if you contributed your changes back.

Why a monorepo?

The services share types, auth logic, and tooling, so keeping them in one repo keeps those in sync: pnpm workspaces share dependencies, @repo/ packages share code, Turborepo runs build/test/lint with a single cached task graph, and cross-service changes land in one atomic commit.

Credits

I started this after the official servers shut down, so I could only see the request shapes coming from the game client. I used many different projects as resources to get response shapes, logic examples, enums, etc. They all had missing pieces. Again, another reason to come together on one project and stop gatekeeping.

Unfortunately, they were all leaked code except for CannedNet and jordanparki7's postman collection of RecNet APIs which is gone for some reason. So I will not list the leaks publicly.

About

2023 RecNet distributed microservice implementation designed for CloudFlare Workers

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors