Commit Graph

320 Commits

Author SHA1 Message Date
Wanjohi
86959f93d9 feat: How to create a session 2025-11-04 00:09:31 +03:00
Wanjohi
6947230a1d feat: Add types and IDE comments to session 2025-11-03 23:04:29 +03:00
Wanjohi
c99962ee1d fix: Add ns3-mini 2025-11-03 17:55:22 +03:00
Wanjohi
caf0bbbee2 feat: I do not remember 2025-10-28 06:47:08 +03:00
Wanjohi
3a08e27614 feat: Add Session 2025-10-27 11:38:05 +03:00
Wanjohi
13cb3f15a7 feat: Move id 2025-10-27 08:39:50 +03:00
Wanjohi
e9dd18818b fix: Remove dead code 2025-10-27 08:26:33 +03:00
Wanjohi
2dbfb02c52 fix: Use a better ID format 2025-10-27 08:25:31 +03:00
Wanjohi
3d3a303eb9 fix: Use Zod in the actor.ts file 2025-10-27 05:51:44 +03:00
Wanjohi
ef5e626c9d fix: Fix the auth API middleware 2025-10-27 01:23:14 +03:00
Wanjohi
53390524ff feat: Add user to auth.ts function 2025-10-26 05:56:22 +03:00
Wanjohi
752f3e94d0 feat: Add member table 2025-10-26 05:05:02 +03:00
Wanjohi
16a1c8c145 feat: Add fresh fucking entities 2025-10-26 04:39:36 +03:00
Wanjohi
6f6616ce6c feat: Add some more logging to hono 2025-10-26 00:45:15 +03:00
Wanjohi
a3ad061c25 feat: Add some openapi spec stuff 2025-10-26 00:26:37 +03:00
Wanjohi
f8f6aae64b fix: Fix ts on logs 2025-10-26 00:06:07 +03:00
Wanjohi
815246afc0 feat: Change logs a lil bit 2025-10-25 23:57:15 +03:00
Wanjohi
687bc47870 chore: Do some minor cleanup 2025-10-25 22:27:35 +03:00
Wanjohi
01eb63b36f feat: Use bun's redis client 2025-10-25 22:19:33 +03:00
Wanjohi
c5d0242d50 feat: Add a lot of stuff 2025-10-25 22:11:33 +03:00
Wanjohi
a3ee9aadd9 feat: Make sure worker runs close to db 2025-10-12 03:03:44 +03:00
Wanjohi
9b1dc054d0 fix: Remove package-lock 2025-09-27 12:12:16 +03:00
Wanjohi
278c1043f5 feat: Move API to CF workers (WIP) 2025-09-27 10:25:13 +03:00
Kristian Ollikainen
5705029972 feat(play-standalone): Add PEER_URL env variable (#302)
## Description

Adds PEER_URL env variable for setting peer URL (query param still takes
priority if set).

- Useful for self-hosters
- Was a pain to figure out



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- New Features
- Support configuring the peer server URL via an environment variable,
with automatic fallback to the URL parameter or a default.
- Server-provided configuration is securely passed to the client to
simplify deployment setup.

- Chores
- Excluded common build artifacts and IDE directories from container
contexts to reduce image size and speed up builds.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
2025-09-24 20:08:20 +03:00
Kristian Ollikainen
590fe5e196 feat(runner): Container detection and handling, video bit-depth flags and script updates (#303)
## Description

Works in apptainer now.. podman is still the goat since apptainer needs
docker treatment and even more..

- Added container detection so podman can be used to it's fullest, the
non-sane ones are handled separately..
- Added video bit-depth option, cuz AV1 and 10-bit encoding go well
together.
- Some other package updates to nestri-server.
- General tidying up of scripts to make multi-container-engine handling
less of a pain.
- Updated old wireplumber lua script to new json format.

Further changes:

- Removed unused debug arg from nestri-server.
- Moved configs to config file folder rather than keeping them in
containerfile.
- Improved audio configs, moved some into wireplumber to keep things
tidy.
- Bit better arg handling in nestri-server.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Optional 10‑bit video support and auto‑launch of an app after display
setup.

* **Changes**
* Standardized runtime/user env to NESTRI_* with updated home/cache
paths and explicit LANG; password generation now logged.
* Improved container/GPU detection and startup logging; reduced blanket
root usage during startup; SSH setup surfaced.
* WirePlumber/PipeWire moved to JSON configs; low‑latency clock and
loopback audio policies added; audio capture defaults to PipeWire.
  
* **Chores**
* GStreamer/libp2p dependency upgrades and Rust toolchain pinned; NVIDIA
driver capability exposed.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
2025-09-24 20:08:04 +03:00
Wanjohi
aba0bc3be1 chore: Migrate to namespace 2025-09-20 17:20:16 +03:00
Wanjohi
eb41fdc754 feat: Use drizzle studio to view changes in realtime 2025-09-20 07:01:30 +03:00
Wanjohi
73a6d9546a feat: Push schema to remote db 2025-09-20 06:54:57 +03:00
Wanjohi
49286d7e72 feat: Add auth endpoint 2025-09-20 04:49:31 +03:00
Wanjohi
a045fc9c91 fix: Clean up and add Neon DB 2025-09-20 04:38:16 +03:00
Wanjohi
df4af84d55 fix: Resolve database issues 2025-09-20 03:56:51 +03:00
Wanjohi
ecfdb5156e feat: Cloud WIP 2025-09-20 01:05:03 +03:00
Wanjohi
16004c87a9 chore: Migrate auth to CF Workers Pt 2 2025-09-20 00:44:25 +03:00
Wanjohi
d01e9945de chore: Migrate auth to CF Workers 2025-09-19 23:56:03 +03:00
Wanjohi
33407d8df5 feat: Start working on Auth 2025-09-19 23:35:37 +03:00
Wanjohi
639616ce73 feat: Add database 2025-09-19 01:25:29 +03:00
Wanjohi
6bd17a4d5f feat: Add DNS configuration 2025-09-08 05:37:42 +03:00
Wanjohi
199c021797 Update LICENSE 2025-09-08 04:45:36 +03:00
Wanjohi
ad71c6c26a fix: Remove Neon DB support 2025-09-07 23:02:48 +03:00
Wanjohi
93bfe4ef24 fix: Fix SST infra directory 2025-09-07 23:00:19 +03:00
Wanjohi
ebddef4eb2 fix: Add cloud/packages/* workspace 2025-09-07 22:57:59 +03:00
Wanjohi
18942dc26b fix: Remove vscode files 2025-09-06 17:14:20 +03:00
Wanjohi
bb6c54e55a Update the LICENSE 2025-09-06 17:10:47 +03:00
Wanjohi
9818165a90 fix: Move more directories 2025-09-06 16:50:44 +03:00
Wanjohi
1c1c73910b fix: Remove unnecessary workflows 2025-09-06 04:38:13 +03:00
Wanjohi
d409a8dc95 fix merge error 2025-09-06 04:35:36 +03:00
Wanjohi
8643608ae4 chore: Rename containers to containerfiles 2025-09-06 04:29:44 +03:00
Kristian Ollikainen
dc6a53e18d chore: Fix up the directories
Adds a basic standalone "play site" that mimics current one in apps/www.
This is so self-hosters don't need to host whole site, but can just use
small version of it.

Yet to test so marking as draft, not at home currently so may take some
time. Also might be good idea to make Caddy-powered container out of
this later?

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

- New Features
- Introduces a standalone Play site with server output, accessible on
0.0.0.0:3000.
- Streams video via WebRTC into a canvas with continuous frame
rendering.
- Fullscreen and pointer lock support with optional keyboard lock for
navigation keys.
  - Room-based routing with offline and loading states.
  - Responsive 16:9 canvas and improved default layout styling.

- Chores
- Adds a multi-stage container build for efficient runtime images and a
lightweight init process.
  - Includes configuration and project setup for the standalone package.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: DatCaptainHorse <datcaptainhorse@users.noreply.github.com>
2025-09-06 04:25:32 +03:00
Kristian Ollikainen
51941e6560 feat: Standalone play site (#298)
## Description
Adds a basic standalone "play site" that mimics current one in apps/www.
This is so self-hosters don't need to host whole site, but can just use
small version of it.

Yet to test so marking as draft, not at home currently so may take some
time. Also might be good idea to make Caddy-powered container out of
this later?

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- New Features
- Introduces a standalone Play site with server output, accessible on
0.0.0.0:3000.
- Streams video via WebRTC into a canvas with continuous frame
rendering.
- Fullscreen and pointer lock support with optional keyboard lock for
navigation keys.
  - Room-based routing with offline and loading states.
  - Responsive 16:9 canvas and improved default layout styling.

- Chores
- Adds a multi-stage container build for efficient runtime images and a
lightweight init process.
  - Includes configuration and project setup for the standalone package.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: DatCaptainHorse <datcaptainhorse@users.noreply.github.com>
2025-08-24 16:13:07 +03:00
Wanjohi
85d6fdd213 ci: Update workflows to use dev 2025-07-20 23:46:05 +03:00