Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⭐ feat(maitred): Update maitred - hookup to the API #198

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

wanjohiryan
Copy link
Member

Description

We are attempting to hookup maitred to the API
Maitred duties will be:

  • Hookup to the API
  • Wait for signal (from the API) to start Steam
  • Stop signal to stop the gaming session, clean up Steam... and maybe do the backup

Related Issues

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature that changes existing functionality)
  • Documentation update
  • Other (please describe):

Checklist

  • I have updated relevant documentation
  • My code follows the project's coding style
  • My changes generate no new warnings/errors

Notes for Reviewers

Screenshots/Demo

Additional Context

Copy link

cloudflare-workers-and-pages bot commented Feb 27, 2025

Deploying nestri with  Cloudflare Pages  Cloudflare Pages

Latest commit: 679fe6b
Status: ✅  Deploy successful!
Preview URL: https://f3173952.nestri.pages.dev
Branch Preview URL: https://feat-maitred.nestri.pages.dev

View logs

@wanjohiryan
Copy link
Member Author

How it works,

  1. the authorizer makes sure the machine that connects to the network is known
  2. the mqtt connection connects to AWS IoT core and waits for the API to send (JSON?) messages to it on whether to start/stop a game
  3. It starts a container and waits for it to get to desired state

@wanjohiryan
Copy link
Member Author

  1. Run sst dev
  2. Inside packages/maitred run bun dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants