Git Analytics เครื่องมือนักพัฒนาDev tools
Graphify-Labs/graphify

Graphify: เปลี่ยนโค้ดเป็น knowledge graph ที่สามารถค้นหาได้Graphify: Turn Code into a Queryable Knowledge Graph

เครื่องมือนักพัฒนาDev tools 119,647 ดาวStars 11,565 Python Apache-2.0 อัปเดตล่าสุดLast push 19 ก.ย. 256919 Sept 2026
Graphify-Labs/graphify

Graphify ช่วยให้นักพัฒนาสร้าง knowledge graph จากโค้ด เอกสาร และไฟล์อื่น ๆ ในโปรเจคได้ง่าย ๆ

Graphify allows developers to seamlessly create a knowledge graph from code, documents, and other project files.

ไว้ทำอะไร

Graphify ถูกออกแบบมาเพื่อเปลี่ยนโค้ดและเอกสารที่เกี่ยวข้องให้กลายเป็น knowledge graph ซึ่งสามารถค้นหาได้อย่างง่ายดาย ช่วยให้นักพัฒนาสามารถทำความเข้าใจความสัมพันธ์ในโค้ดและโครงสร้างโปรเจคได้ดียิ่งขึ้น

ทำงานอย่างไร

Graphify ใช้ประโยชน์จาก tree-sitter AST เพื่อสร้าง knowledge graph จากโค้ด โดยไม่ต้องใช้ LLM แต่อย่างใด หมายความว่าสามารถทำงานได้อย่างปลอดภัยบนเครื่องของคุณเอง กระบวนการนี้เริ่มต้นด้วยการนำโค้ดและไฟล์ข้อมูลต่าง ๆ เข้ามาในระบบ จากนั้นทำการวิเคราะห์โครงสร้างผ่าน AST เพื่อจัดเรียงความสัมพันธ์ระหว่างองค์ประกอบต่าง ๆ ในโปรเจค สุดท้ายจะแสดงผลในรูปแบบ knowledge graph ที่สามารถเลือกคลิกเพื่อดูรายละเอียดได้

โครงสร้างโค้ด

  • graphify/__init__.py — โหลดฟังก์ชั่นการทำงานหลักอย่างขี้เกียจเมื่อต้องการ
  • graphify/analyze.py — ใช้วิเคราะห์ graph เช่นการตรวจหาความสัมพันธ์ที่น่าสงสัย
  • graphify/extract.py, graphify/build.py — จัดการขั้นตอนการวิเคราะห์และสร้าง graph
  • Dockerfile — สำหรับสร้างและรันใน environment ที่แยกจากกัน

เริ่มใช้งาน

uv tool install graphifyy      # install the CLI (or: pipx install graphifyy)
graphify install               # register the skill with your AI assistant

/graphify .

เหมาะกับงานแบบไหน

  • วิเคราะห์ความสัมพันธ์ของโค้ดในโปรเจคขนาดใหญ่
  • เปิดเผยการเชื่อมโยงที่อาจถูกมองข้ามในโค้ดเบส
  • สร้างรายงานสำหรับผู้จัดการโครงการเพื่อการตัดสินใจที่ดียิ่งขึ้น

ข้อควรรู้

  • ต้องการ Python 3.10 หรือสูงกว่า
  • ใช้ tree-sitter สำหรับการวิเคราะห์ AST
  • อยู่ในช่วง early access และอาจมีการเปลี่ยนแปลง

What it is for

Graphify is designed to transform code and its related documentation into a queryable knowledge graph, enabling developers to better understand the relationships and structure within a project.

How it works

Graphify takes advantage of tree-sitter AST to build a knowledge graph from the code, eliminating the need for any LLM. This ensures that it operates securely within your own environment. The process begins by ingesting code and various data files into the system. It then analyzes the structure through AST to organize relationships between different components in a project. Finally, it presents the results as a clickable knowledge graph for in-depth exploration.

Code structure

  • graphify/__init__.py — Lazy-loads essential functions as required
  • graphify/analyze.py — Used to analyze graphs, like detecting surprising connections
  • graphify/extract.py, graphify/build.py — Manage steps for graph extraction and building
  • Dockerfile — For building and running in a separate environment

Getting started

uv tool install graphifyy      # install the CLI (or: pipx install graphifyy)
graphify install               # register the skill with your AI assistant

/graphify .

Good fit for

  • Analyze code relationships in large-scale projects
  • Reveal overlooked connections within a codebase
  • Create reports for project managers for better decision-making

Things to know

  • Requires Python 3.10 or higher
  • Utilizes tree-sitter for AST analysis
  • Currently in early access and subject to changes

บทวิเคราะห์นี้สร้างจาก README และโค้ดของ repo โดย AI ของ Oneable — ตรวจสอบ license และเอกสารต้นทางก่อนนำไปใช้งานจริงThis breakdown was generated from the repository's README and code by Oneable's AI — check the license and upstream docs before using it in production.

#ai-agents#antigravity#ast#claude-code#code-analysis#code-search#codex#cursor#developer-tools#gemini#graphrag#knowledge-graph

repo อื่นในหมวดเดียวกันMore in this category