mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
>Adds `maitred` in charge of handling automated game installs, updates,
and even execution.
>Not only that, we have the hosted stuff here
>- [x] AWS Task on ECS GPUs
>- [ ] Add a service to listen for game starts and stops
(docker-compose.yml)
>- [x] Add a queue for requesting a game to start
>- [x] Fix up the play/watch UI
>TODO:
>- Add a README
>- Add an SST docs
Edit:
- This adds a new landing page, updates the homepage etc etc
>I forgot what the rest of the updated stuff are 😅
22 lines
432 B
Go
22 lines
432 B
Go
package main
|
|
|
|
import (
|
|
"nestri/maitred/pkg/party"
|
|
"os"
|
|
|
|
"github.com/charmbracelet/log"
|
|
)
|
|
|
|
func main() {
|
|
var teamSlug string //FIXME: Switch to team-slug as they are more memorable but still unique
|
|
|
|
if len(os.Args) > 1 {
|
|
teamSlug = os.Args[1]
|
|
} else {
|
|
log.Fatal("Nestri needs a team slug to register this container to")
|
|
}
|
|
party.Run(teamSlug)
|
|
|
|
//TODO: On stop here, set the API as the instance is not running (stopped)
|
|
}
|