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.1.0.tar.gz (135.8 kB view details)

Uploaded Source

Built Distribution

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

blarify-1.1.0-py3-none-any.whl (184.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blarify-1.1.0.tar.gz
  • Upload date:
  • Size: 135.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.12.9 Darwin/24.4.0

File hashes

Hashes for blarify-1.1.0.tar.gz
Algorithm Hash digest
SHA256 857ff5a760ceec6f3397fbb9ccc2fbf094f6ef96d954561bea374f2e2c297e46
MD5 ac120b0e85e0df96947a7f78a3d1c7af
BLAKE2b-256 af3632f237bbe2214f7d366ee27d4537f158801fd1bdc754eb1b985329d9e943

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blarify-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 184.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.12.9 Darwin/24.4.0

File hashes

Hashes for blarify-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a9d57a8dbead5e448414ea6930ac9f4a0b7814568133389f3e5a13c65fadeed
MD5 fc318f271055f6a3600f852eebae3d79
BLAKE2b-256 0caa5b0e684e4de62633a9bd6849c0442a8868e715cf703b05a0b4d3db1020cf

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