Skip to content

Commit cf5a28b

Browse files
version handling
1 parent b9d72e2 commit cf5a28b

10 files changed

Lines changed: 43 additions & 707 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ src/codegraphcontext/cli/nl.py
5252
*.temp
5353
*.tmp
5454
*.log
55-
tempor
55+
temporaryFiles
5656
codegraph_viz.html

README.md

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ An MCP server that indexes local code into a graph database to provide context t
2929
![Using the MCP server](https://github.com/Shashankss1205/CodeGraphContext/blob/main/images/Usecase.gif)
3030

3131
## Project Details
32-
- **Version:** 0.1.17
32+
- **Version:** 0.1.19
3333
- **Authors:** Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
3434
- **License:** MIT License (See [LICENSE](LICENSE) for details)
3535
- **Website:** [CodeGraphContext](http://codegraphcontext.vercel.app/)
@@ -43,6 +43,46 @@ An MCP server that indexes local code into a graph database to provide context t
4343
- **Relationship Analysis:** Query for callers, callees, class hierarchies, call chains and more.
4444
- **Live Updates:** Watches local files for changes and automatically updates the graph.
4545
- **Interactive Setup:** A user-friendly command-line wizard for easy setup.
46+
- **Multi-Language Support:** Full support for 11 programming languages.
47+
- **Flexible Database Backend:** Choose between Neo4j or FalkorDB Lite.
48+
49+
## Supported Programming Languages
50+
51+
CodeGraphContext provides comprehensive parsing and analysis for the following languages:
52+
53+
- **Python** (`.py`) - Including Jupyter notebooks (`.ipynb`)
54+
- **JavaScript** (`.js`)
55+
- **TypeScript** (`.ts`)
56+
- **Java** (`.java`)
57+
- **C** (`.c`, `.h`)
58+
- **C++** (`.cpp`, `.cc`, `.cxx`, `.hpp`, `.hxx`)
59+
- **C#** (`.cs`) - Full support for classes, methods, namespaces, and inheritance
60+
- **Go** (`.go`)
61+
- **Rust** (`.rs`)
62+
- **Ruby** (`.rb`)
63+
- **PHP** (`.php`)
64+
65+
Each language parser extracts functions, classes, methods, parameters, inheritance relationships, function calls, and imports to build a comprehensive code graph.
66+
67+
## Database Options
68+
69+
CodeGraphContext supports two graph database backends:
70+
71+
### Neo4j (Default)
72+
- **Production-ready** and widely used graph database
73+
- Supports local instances (via Docker or native installation) and cloud hosting (Neo4j AuraDB)
74+
- Full Cypher query support for advanced graph analytics
75+
- Recommended for most use cases
76+
77+
### FalkorDB Lite
78+
- **Lightweight** in-memory graph database
79+
- **No external dependencies** - runs entirely in-process
80+
- Available for **Python 3.12+** only
81+
- Perfect for quick testing and development
82+
- Automatically installed when using Python 3.12 or higher
83+
84+
The `cgc setup` wizard helps you configure neo4j database backend while the falkordb database is
85+
supported inherently.
4686

4787
## Used By
4888

@@ -58,7 +98,6 @@ If you’re using CodeGraphContext in your project, feel free to open a PR and a
5898

5999
- `neo4j>=5.15.0`
60100
- `watchdog>=3.0.0`
61-
- `requests>=2.31.0`
62101
- `stdlibs>=2023.11.18`
63102
- `typer[all]>=0.9.0`
64103
- `rich>=13.7.0`

README_LITE.md

Lines changed: 0 additions & 256 deletions
This file was deleted.

debug_java_tree.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

debug_php_tree.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)