MCPcopy Index your code
hub / github.com/Hedgehog-Computing/hedgehog-lab

github.com/Hedgehog-Computing/hedgehog-lab @v0.8.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.8.0 ↗ · + Follow
287 symbols 587 edges 39 files 1 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Hedgehog Lab

Hedgehog Lab is an open source scientific computation tool in the browser.

Try it at https://hedgehog-lab.github.io/

Installation

Master channel

# Clone the repo

# Using HTTPS
git clone https://github.com/lidangzzz/hedgehog-lab.git

# Using SSH
git clone git@github.com:lidangzzz/hedgehog-lab.git

Once cloned, switch to the master branch and navigate to the folder by typing cd hedgehog-lab and then running the following commands:

# Switch to the master branch
git checkout master

# Install all project dependencies
yarn install

# Start the project
yarn watch

User Manual

Hedgehog Book: https://hedgehog-book.github.io/

Video Tutorial

Youtube

  1. Introduction
  2. Matrix
  3. GPU acceleration

Bilibili

  1. 入门
  2. 没有人比我更懂矩阵
  3. 3分钟安装+入门跨平台GPU并行计算

Contributing

Read our contributing guide to learn how to develop the project.

License

This project is licensed under the terms of the Apache-2.0 License.

Extension points exported contracts — how you extend this code

OutputResult (Interface)
(no doc)
packages/hedgehog-lab/src/compiler.ts
DownloadSnackbarProps (Interface)
(no doc)
packages/hedgehog-lab/src/components/DownloadSnackbar/DownloadSnackbar.tsx
SnackbarMessage (Interface)
(no doc)
packages/hedgehog-lab/src/components/DownloadSnackbar/DownloadSnackbar.tsx
State (Interface)
(no doc)
packages/hedgehog-lab/src/components/DownloadSnackbar/DownloadSnackbar.tsx
YourCodeProps (Interface)
(no doc)
packages/hedgehog-lab/src/components/YourCode/YourCode.tsx

Core symbols most depended-on inside this repo

each
called by 23
packages/hedgehog-core/src/lib/matrix.ts
to_matrix
called by 21
packages/hedgehog-core/src/lib/mathlib.ts
log
called by 21
packages/hedgehog-core/src/lib/matrix.ts
clone
called by 15
packages/hedgehog-core/src/lib/matrix.ts
toArray
called by 13
packages/hedgehog-core/src/lib/matrix.ts
sym
called by 12
packages/hedgehog-core/src/runtime/prelude.ts
toString
called by 11
packages/hedgehog-core/src/lib/matrix.ts
zeros
called by 10
packages/hedgehog-core/src/lib/matrix.ts

Shape

Function 163
Method 92
Class 18
Interface 14

Languages

TypeScript100%

Modules by API surface

packages/hedgehog-core/src/lib/matrix.ts90 symbols
packages/hedgehog-core/src/runtime/prelude.ts55 symbols
packages/hedgehog-core/src/lib/mathlib.ts21 symbols
packages/hedgehog-core/src/lib/tensor.ts14 symbols
packages/hedgehog-lab/src/components/Header/Header.tsx12 symbols
packages/hedgehog-core/src/lib/symbolic.ts10 symbols
packages/hedgehog-core/src/lib/algebra.ts9 symbols
packages/hedgehog-lab/src/components/DownloadSnackbar/DownloadSnackbar.tsx8 symbols
packages/hedgehog-lab/src/components/SideBar/SaveButton.tsx6 symbols
packages/hedgehog-core/src/transpiler/preprocessor.ts6 symbols
packages/hedgehog-core/src/output/output-item.ts6 symbols
packages/hedgehog-lab/src/components/SideBar/DelButton.tsx5 symbols

For agents

$ claude mcp add hedgehog-lab \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact