mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +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 😅
20 lines
531 B
TypeScript
20 lines
531 B
TypeScript
import { resolve } from "path";
|
|
import { writeFileSync } from "fs";
|
|
|
|
export const privateKey = new tls.PrivateKey("NestriGPUPrivateKey", {
|
|
algorithm: "RSA",
|
|
rsaBits: 4096,
|
|
});
|
|
|
|
// Just in case you want to SSH
|
|
export const sshKey = new aws.ec2.KeyPair("NestriGPUKey", {
|
|
keyName: "NestriGPUKeyProd",
|
|
publicKey: privateKey.publicKeyOpenssh
|
|
})
|
|
|
|
export const keyPath = privateKey.privateKeyOpenssh.apply((key) => {
|
|
const path = "key_ssh";
|
|
writeFileSync(path, key, { mode: 0o600 });
|
|
return resolve(path);
|
|
});
|