Labkeeper-team/LabkeeperEditor
概要
Labkeeper online LaTeX editor ReactTs frontend
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルLabkeeper
Online LaTeX editor with a built-in scientific calculator and LLM-agent
Write and compile LaTeX in the browser, mix in calculations and plots, and export the result to PDF.
About
This repository is the Labkeeper web frontend: an online LaTeX editor with a scientific calculator and AI agent.
The core workflow is writing LaTeX (full TeX Live compilation on the backend). You can also drop in computational blocks, formulas, tables, and plots, then compile the document to PDF. Typical building blocks:
- LaTeX as the primary authoring mode, with full document compilation
- Markdown segments when you need lighter markup alongside LaTeX
- Computational segments for assignments, formulas, and error propagation
- Plots (line, scatter, histogram) via Apache ECharts
- AsciiMath for a lighter math notation
- File manager, AI hunk review, OAuth2, token billing, and PDF export
The UI talks to the Labkeeper backend over /api. For local work against the release backend, an Nginx container proxies that path while Vite serves the app.
Tech stack
| Area | Tools |
|---|---|
| Runtime | Node.js 22 (see .nvmrc) |
| UI | React 19, TypeScript 6, Vite 8, Sass |
| State & routing | Redux Toolkit, React Redux, Redux Persist, React Router 7 |
| Editor | CodeMirror 6 (incl. LaTeX language support) |
| Math & docs | MathJax, AsciiMath, react-markdown, PDF.js, jsPDF |
| Charts | Apache ECharts |
| HTTP & quality | Axios, Sentry, ESLint, Prettier, Husky, lint-staged |
| Tests | Jest + Testing Library, Playwright |
| Local proxy | Docker Compose, Nginx |
Prerequisites
Local development (frontend + release backend)
Install dependencies from the repo root:
npm iStart the Nginx reverse proxy (API → backend stand, app → Vite). It also injects the public Yandex SmartCaptcha site key into
index.html. The stand islabkeeper.ioby default, or e.g.preprod.labkeeper.io:docker compose -f scripts/local/nginx/docker-compose.yml upStart the Vite dev server from the repo root:
npm run devOpen http://localhost. The app from this repo is served on port 80 through Nginx and can talk to the release server.
Scripts
| Command | Description |
|---|---|
npm run dev |
Vite dev server (--host, port 3000) |
npm run build |
Production build |
npm run test:math |
Unit tests (Jest) |
npm run test:ui |
E2E tests (Playwright) |
npm run test:ui:silent |
Playwright with the line reporter |
npx playwright test --ui |
Playwright UI mode |
npm run check |
ESLint + Prettier check |
npm run reformat |
Prettier auto-format |
Testing and lint
# Unit tests
npm run test:math
# E2E (retries help with flaky UI)
npx playwright test --retries=3
# E2E with the Playwright inspector
npx playwright test --ui
# Lint and format check
npm run check
# Auto-format
npm run reformat
関連プロジェクトを探す
読み込み中…