Skip to content

charley-simon/linklab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinkLab

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

Packages

Package Description
@linklabjs/core Graph engine, fluent API, Fastify plugin
@linklabjs/cli CLI — build, repl, server, test, train
@linklabjs/telemetry Observability pipeline, metrics, calibration

Examples

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.


Quick install

npm install -g @linklabjs/cli

Then point it at your own database:

linklab init myproject
# edit myproject.linklab.ts — set your connection details
linklab build myproject
linklab repl myproject

You don't need to rewrite your project. Point LinkLab at an existing schema, explore what it finds, and decide from there.


Status

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.



License

MIT — Charley Simon

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors