open-index/open-npm huggingface dataset:
npm package: @maxr0ssi/chaos-chess
Description: This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Latest version: 0.1.5

# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

```js
export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])
```

You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:

```js
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])
```
npm package: @maxr0ssi/embedding-lab
Description: Interactive visualization tool for exploring word and sentence embeddings.
Latest version: 0.2.1

# Embedding Geometry Lab

Interactive visualization tool for exploring word and sentence embeddings.

> Words are vectors; meaning is movement.

## What is this?

A representation-learning microscope. Pick words, plot their embeddings in 2D/3D, explore raw dimensions, build semantic axes, scrub through transformer layers, and watch meaning emerge from geometry.

## Docs

- [Architecture & Design](docs/design/architecture.md)

## Stack

- **Frontend:** React + TypeScript + Plotly
- **Backend:** Python (reuses ResumeAI API) + HuggingFace transformers
- **Package:** `@maxr0ssi/embedding-lab`

## Status

Design phase.
npm package: @maxr0ssi/glide-web-ui
Description: Browser-based demo of Glide's hand gesture detection algorithms. Runs the full TouchProof detection pipeline in-browser using MediaPipe's WebAssembly hand landmarker.
Latest version: 0.1.3

# Glide Web UI

Browser-based demo of Glide's hand gesture detection algorithms. Runs the full TouchProof detection pipeline in-browser using MediaPipe's WebAssembly hand landmarker.

## Standalone (Dev Server)

```bash
make web-setup   # npm install
make web-dev     # starts Vite at localhost:5173
```

Open in browser, grant camera access. You'll see a split-view with the algorithm visualizer (webcam + landmarks + signal scores) and a scrollable demo area that responds to gestures.

## As a Library (Embeddable Component)

```bash
make web-build   # produces dist/glide-demo.es.js + types
```

```tsx
import { GlideDemo } from '@glide/web-ui';
import '@glide/web-ui/dist/style.css';

function App() {
  return <GlideDemo showVisualizer={true} />;
}
```

### `<GlideDemo />` Props

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `modelPath` | `string` | Google CDN | Override MediaPipe model URL |
| `config` | `Partial<AppConfig>` | `defaults.yaml` values | Override detection config |
| `showVisualizer` | `boolean` | `true` | Show webcam + signal dashboard |
| `scrollContent` | `ReactNode` | Demo paragraphs | Custom scroll area content |
| `className` | `string` | `''` | Additional CSS class |
| `style` | `CSSProperties` | — | Inline styles |

### `useGlide` Hook

For full control, use the hook directly:

```tsx
import { useGlide } from '@glide/web-ui';

function Custom() {
  const { videoRef, signals, gestureState, landmarks, fps } = useGlide();
  // Build your own UI with the pipeline outputs
}
```

## Testing

```bash
make web-test    # vitest run
```

## Architecture

The TypeScript code mirrors the Python module structure:

| Python | TypeScript | Purpose |
|--------|-----------|---------|
| `glide/core/types.py` | `src/core/types.ts` | GateState, Landmark, HandDet, PoseFlags |
| `glide/core/config_models.py` | `src/core/config.ts` | AppConfig + factory |
| `glide/features/alignment.py` | `src/features/alignment.ts` | HandAligner |
| `glide/features/kinematics.py` | `src/features/kinematics.ts` | KinematicsTracker |
| `glide/features/poses.py` | `src/features/poses.ts` | checkHandPose |
| `glide/gestures/touchproof_scoring.py` | `src/gestures/touchproof-scoring.ts` | Pure scoring functions |
| `glide/gestures/touchproof_detector.py` | `src/gestures/touchproof-detector.ts` | TouchProofDetector |
| `glide/gestures/velocity_tracker.py` | `src/gestures/velocity-tracker.ts` | VelocityTracker |
| `glide/gestures/velocity_controller.py` | `src/gestures/velocity-controller.ts` | VelocityController |

MFC (optical flow) is excluded from the web port — `mfcScore` is hardcoded to 0.5 (neutral).