# hippiestation/hippiestationdeprecated2020 architecture

> Architecture diagram of the GitHub repository hippiestation/hippiestationdeprecated2020, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hippiestation/hippiestationdeprecated2020
- Repository: https://github.com/hippiestation/hippiestationdeprecated2020

## Overview

HippieStation is a Space Station 13 server codebase. The sampled runtime files chiefly show its TGUI browser interface: a player opens a routed device screen, views server-provided state, and can issue actions such as locking or dispensing equipment. The README also documents map selection and rotation, but the corresponding server and map-loading sources are not present in the supplied tree, so those links are not drawn. Wiring details beyond the sampled interface and routes are intentionally limited.

Main entry points: [`tgui-next/packages/tgui/routes.js`](https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/routes.js) (Interface routes), [`tgui-next/packages/tgui/interfaces/SuitStorageUnit.js`](https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/interfaces/SuitStorageUnit.js) (Suit storage), [`tgui-next/packages/tgui/interfaces/VaultController.js`](https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/interfaces/VaultController.js) (Vault control), [`tgui-next/packages/tgui/backend.js`](https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/backend.js) (Backend hooks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["TGUI interface"]
  node_routes["Interface routes<br/>[routes.js]"]
end

subgraph group_screens["Device screens"]
  node_suit["Suit storage<br/>[SuitStorageUnit.js]"]
  node_vault["Vault control<br/>[VaultController.js]"]
  node_interfaces["Other device screens"]
end

subgraph group_shared["Shared UI runtime"]
  node_backend["Backend hooks<br/>[backend.js]"]
  node_components["UI components<br/>[index.js]"]
  node_byondbridge["BYOND bridge<br/>[byond.js]"]
end

node_player(("Player"))
node_byond["BYOND server"]

node_player -->|"opens interface"| node_routes
node_routes -->|"routes to"| node_suit
node_routes -->|"routes to"| node_vault
node_routes -->|"routes to"| node_interfaces
node_suit -->|"reads state; sends actions"| node_backend
node_vault -->|"reads state; sends actions"| node_backend
node_suit -->|"renders with"| node_components
node_vault -->|"renders with"| node_components
node_backend -->|"uses bridge"| node_byondbridge
node_byondbridge -->|"exchanges UI data"| node_byond

click node_routes "https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/routes.js"
click node_suit "https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/interfaces/SuitStorageUnit.js"
click node_vault "https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/interfaces/VaultController.js"
click node_interfaces "https://github.com/hippiestation/hippiestationdeprecated2020/tree/master/tgui-next/packages/tgui/interfaces"
click node_backend "https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/backend.js"
click node_components "https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/components/index.js"
click node_byondbridge "https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/byond.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_routes toneBlue
class node_suit,node_vault,node_interfaces toneAmber
class node_backend,node_components,node_byondbridge,node_byond toneMint
class node_player toneIndigo
```

## Components

### TGUI interface

- [Interface routes](https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/routes.js): `tgui-next/packages/tgui/routes.js`

### Device screens

- [Suit storage](https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/interfaces/SuitStorageUnit.js): `tgui-next/packages/tgui/interfaces/SuitStorageUnit.js`
- [Vault control](https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/interfaces/VaultController.js): `tgui-next/packages/tgui/interfaces/VaultController.js`
- [Other device screens](https://github.com/hippiestation/hippiestationdeprecated2020/tree/master/tgui-next/packages/tgui/interfaces): `tgui-next/packages/tgui/interfaces`

### Shared UI runtime

- [Backend hooks](https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/backend.js): `tgui-next/packages/tgui/backend.js`
- [UI components](https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/components/index.js): `tgui-next/packages/tgui/components/index.js`
- [BYOND bridge](https://github.com/hippiestation/hippiestationdeprecated2020/blob/master/tgui-next/packages/tgui/byond.js): `tgui-next/packages/tgui/byond.js`

### Other components

- **Player**
- **BYOND server**

## Connections

- Player → Interface routes: opens interface
- Interface routes → Suit storage: routes to
- Interface routes → Vault control: routes to
- Interface routes → Other device screens: routes to
- Suit storage → Backend hooks: reads state; sends actions
- Vault control → Backend hooks: reads state; sends actions
- Suit storage → UI components: renders with
- Vault control → UI components: renders with
- Backend hooks → BYOND bridge: uses bridge
- BYOND bridge → BYOND server: exchanges UI data
