Explore, navigate and expose your data — zero application code.
LinkLab compiles a weighted semantic graph from your existing schema and lets you traverse it as a fluent API, an interactive REPL, or a REST + HATEOAS server.
No ORM. No migrations. No hidden SQL.
linklab init dvdrental
# edit dvdrental.linklab.ts — set your connection details
linklab build dvdrental
linklab repl dvdrental▸ dvdrental.film('Academy Dinosaur').actor
↳ film → film_actor → actor
10 results — 93ms
▸ dvdrental.film('Academy Dinosaur').actor.film
↳ film → film_actor → actor → film_actor → film
244 results — 98ms
| Package | Description |
|---|---|
@linklabjs/core |
Graph engine, fluent API, Fastify plugin |
@linklabjs/cli |
CLI — build, repl, server, test, train |
@linklabjs/telemetry |
Observability pipeline, metrics, calibration |
| Example | Source | Demonstrates |
|---|---|---|
dvdrental |
PostgreSQL | FK relations, semantic views, full pipeline |
netflix |
JSON | Pivot detection, semantic views (actors/directors/writers) |
cinema |
JSON | Minimal graph, REPL starting point |
See the examples folder.
npm install -g @linklabjs/cliThen point it at your own database:
linklab init myproject
# edit myproject.linklab.ts — set your connection details
linklab build myproject
linklab repl myprojectYou don't need to rewrite your project. Point LinkLab at an existing schema, explore what it finds, and decide from there.
v0.1 — API is functional and tested. Some edges are still rough.
If something doesn't work, open an issue. If you have an idea, same.
- GitHub
- Report an issue
- npm (coming soon)
MIT — Charley Simon