Skip to content

Comments

Server rewrite in rust with self contained binary#2

Draft
TAINCER wants to merge 7 commits intorelease-candidatefrom
server/rust-rewrite
Draft

Server rewrite in rust with self contained binary#2
TAINCER wants to merge 7 commits intorelease-candidatefrom
server/rust-rewrite

Conversation

@TAINCER
Copy link
Member

@TAINCER TAINCER commented Jan 31, 2026

This is a rewrite in rust of the frontend server implmentation, currently in NodeJS. This is currently WIP, with a implentation reference of the NodeJS server renamed to server-node.

The primary motivation is, the database and other json files being contained in the binary itself, thus not depending on files in other places. This speeds up the server, needs fewer resources, but also eliminates all possible path traversal vulnerabilities, like in a previous PR of mine (Pax1601#939). It also means no NodeJS runtime is needed on the server

This version has full feature parity with the NodeJS server. This also given free TS types for the react frontend, if needed but it's out of the scope of this PR. It's currently still in progress. This for the folloing is implemented.

  • Parse and type airbase db files
  • Impl Config
  • Impl airbases routes
  • Impl databases with file caching routes
  • Impl elevation routes
  • Authentication
  • Impl speech routes
  • Impl admin routes
  • Impl resources routes
  • Add misc functionallity (Http certs, etc.)

@TAINCER TAINCER self-assigned this Jan 31, 2026
@TAINCER TAINCER marked this pull request as draft January 31, 2026 17:04
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.

1 participant