2026-06-17 09:40:27 -07:00
|
|
|
# Hanzo Dataroom
|
2026-03-11 10:26:52 -07:00
|
|
|
|
|
|
|
|
## Overview
|
2026-05-18 21:35:47 -07:00
|
|
|
Hanzo dataroom service.
|
|
|
|
|
|
2026-06-07 12:23:40 -07:00
|
|
|
**Upstream**: [Papermark](https://github.com/mfts/papermark) (AGPL-3.0). LICENSE retains "Copyright (c) 2023-present Papermark, Inc." Open-source DocSend alternative. This fork is Hanzo Dataroom — single-license AGPL, no `ee/` commercial directory.
|
2026-03-11 10:26:52 -07:00
|
|
|
|
2026-07-10 03:06:43 -07:00
|
|
|
## In-process fold (HIP-0106, task #101)
|
|
|
|
|
The production runtime is the **goja bundle** in [`goja/`](goja/): the ESM-free
|
|
|
|
|
port of the API handlers, run in-process inside the unified `hanzoai/cloud` binary
|
|
|
|
|
over Hanzo Base/SQLite (per-tenant) + the cloud object-storage seam. The standalone
|
|
|
|
|
Next.js app + Postgres pod is **retired**; cloud serves `/v1/dataroom/*` itself.
|
|
|
|
|
See [`goja/README.md`](goja/README.md) for the host contract. The Next.js/TS
|
|
|
|
|
sources below remain the reference for the domain model that `goja/bundle.js`
|
|
|
|
|
implements.
|
|
|
|
|
|
2026-03-11 10:26:52 -07:00
|
|
|
## Tech Stack
|
|
|
|
|
- **Language**: TypeScript/JavaScript
|
|
|
|
|
|
|
|
|
|
## Build & Run
|
|
|
|
|
```bash
|
|
|
|
|
npm install && npm run build
|
|
|
|
|
npm test
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Structure
|
|
|
|
|
```
|
|
|
|
|
dataroom/
|
|
|
|
|
CLA.md
|
|
|
|
|
Dockerfile
|
|
|
|
|
LICENSE
|
|
|
|
|
LLM.md
|
|
|
|
|
Pipfile
|
|
|
|
|
Pipfile.lock
|
|
|
|
|
README.md
|
|
|
|
|
SECURITY.md
|
|
|
|
|
app/
|
|
|
|
|
components/
|
|
|
|
|
components.json
|
|
|
|
|
context/
|
2026-06-07 12:23:40 -07:00
|
|
|
features/
|
2026-03-11 10:26:52 -07:00
|
|
|
lib/
|
|
|
|
|
middleware.ts
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Key Files
|
|
|
|
|
- `README.md` -- Project documentation
|
|
|
|
|
- `package.json` -- Dependencies and scripts
|
|
|
|
|
- `Dockerfile` -- Container build
|