Run OpenFold Locally: A TypeScript Simulator for Spatial Reasoning
Описание и применение
OpenFold – это локальный TypeScript‑сценарий, генерирующий кубические сетки, визуализирующий их в браузере и сохраняющий историю обучения в IndexedDB. Пошаговый процесс включает клонирование репозитория, установку зависимостей через pnpm, сборку Vite, запуск локального сервера и проверку тестов.
Задача
Repetitive spatial‑reasoning exercises using a fixed image bank become memory tests rather than reasoning tests.
Результат
The workflow yields a fully functional offline simulator that procedurally generates cube‑net problems, renders them, and records training history locally.
Рабочий процесс
- Clone the repository:
git clone https://github.com/paladini/OpenFold.git - Navigate to the repo root:
cd OpenFold - Install dependencies with the exact lockfile:
pnpm install --frozen-lockfile - Build the workspace:
pnpm -w build - Start the web simulator:
pnpm --filter @openfold/web dev --host 127.0.0.1 - Open the app in a browser at
http://127.0.0.1:5174/ - Run the test suite:
pnpm -w test
Доказательства
OpenFold takes a different approach: it generates cube-net folding problems locally, renders them in a web interface, and stores training history in the browser.
The minimal path is: git clone https://github.com/paladini/OpenFold.git cd OpenFold pnpm install --frozen-lockfile pnpm -w build pnpm --filter @openfold/web dev --host 127.0.0.1
In the verified checkout, the command passed 452 tests: 112 tests in packages/core, 76 tests in packages/render, 264 tests in apps/web.
The current repository state requires Node.js 20 or newer and pnpm 10.
The current Vite configuration sets port 5174.
- Дата записи: 2026-11-01T22:58:57.015Z