Skip to main content

A simple graph builder based on LSP calls

Project description

This repo introduces a method to represent a local code repository as a graph structure. The objective is to allow an LLM to traverse this graph to understand the code logic and flow. Providing the LLM with the power to debug, refactor, and optimize queries.

Supported Languages

  • Python
  • JavaScript
  • TypeScript
  • Ruby
  • Go
  • C#

Example

This graph was generated from the code in this repository.

Quickstart

Get started with blarify by following our quickstart guide:

➡️ Quickstart Guide

Article

Read our article on Medium to learn more about the motivation behind this project:

➡️ How we built a tool to turn any codebase into a graph of its relationships

Future Work

  • Gracefully update the graph when new files are added, deleted, or modified
  • Add more language servers
  • Experiment with parallelizing the language server requests

Need help?

If you need help, want to report a bug, or have a feature request, please open an issue on this repository.

You can also reach out to us at Discord

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blarify-1.0.3.tar.gz (3.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blarify-1.0.3-py3-none-any.whl (3.8 MB view details)

Uploaded Python 3

File details

Details for the file blarify-1.0.3.tar.gz.

File metadata

  • Download URL: blarify-1.0.3.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.1 Linux/6.12.6-arch1-1

File hashes

Hashes for blarify-1.0.3.tar.gz
Algorithm Hash digest
SHA256 17ca01e03e9d3ec48deffc8fcb3a03ac5e1f359b352bae1d2efbd4b76d3fedf7
MD5 76f189349b1bda5aab86989400632999
BLAKE2b-256 e510a382183068f9dacdfa12d154a9a56d0c0dd479528f57984bb1c09ad1f74b

See more details on using hashes here.

File details

Details for the file blarify-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: blarify-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.1 Linux/6.12.6-arch1-1

File hashes

Hashes for blarify-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8efb53a8f75fa0b316ac764c6237a479d1c439083ad9595f394d9b7fc26b2303
MD5 8ad763ebccd566d3dbdba34a4c6602a0
BLAKE2b-256 e8d5d37e84d111cdb725b7d9c760cb09e1fdc58262913ed12361dacf01fe7a93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page