MCPcopy Index your code
hub / github.com/auvred/golar

github.com/auvred/golar @v0.1.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.8 ↗ · + Follow
1,322 symbols 2,579 edges 157 files 27 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Golar

Golar is an embedded language tooling orchestrator based on typescript-go. It enables type checking, linting, and LSP support for TypeScript-based languages like Astro, Svelte, and Vue through typescript-go. Its architecture is inspired by @johnsoncodehk's Volar.js.

Getting Started

Read the getting started guide.

Language support

Currently, Golar supports Astro, Ember, Svelte, and Vue by integrating their official language tooling. Read the docs to learn how to configure Golar to work with them:

[!NOTE] Golar is currently in active development. Expect breaking changes.

You can read more about Golar's roadmap in "Golar Gets a Linter. What's Next?"

License

MIT

Extension points exported contracts — how you extend this code

SliceItem (Interface)
(no doc) [11 implementers]
crates/golar/src/common.rs
NodeResolver (Interface)
(no doc) [2 implementers]
packages/golar/src/type-decoder.ts
WithFixes (Interface)
(no doc) [2 implementers]
internal/linter/fixer.go
Plugin (Interface)
(no doc) [2 implementers]
internal/tscodegenplugin/common.go
SourceFileWithLineMap (Interface)
(no doc)
packages/sourcemap/src/index.ts
TypesConfig (Interface)
(no doc)
e2e/vue-plugins/fixture/typed-router.d.ts
User (Interface)
(no doc)
e2e/workspace-api/fixture/index.ts
FromNode (Interface)
(no doc) [191 implementers]
crates/golar/src/common.rs

Core symbols most depended-on inside this repo

cast
called by 356
crates/golar/src/common.rs
node_from_raw
called by 317
crates/golar/src/common.rs
visit_node
called by 194
crates/golar/src/common.rs
visit_node_list
called by 116
crates/golar/src/common.rs
node_list_from_raw
called by 97
crates/golar/src/common.rs
type_from_raw
called by 85
crates/golar/src/common.rs
symbol_from_raw
called by 73
crates/golar/src/common.rs
slice_iter
called by 66
crates/golar/src/common.rs

Shape

Class 508
Method 402
Function 312
Struct 73
Interface 16
TypeAlias 9
Enum 2

Languages

Rust57%
Go29%
TypeScript11%
C2%
C++1%

Modules by API surface

crates/golar/src/ast_generated.rs500 symbols
crates/golar/src/types_generated.rs113 symbols
crates/golar/src/common.rs104 symbols
tools/gen-rust-ast/main.go60 symbols
packages/golar/src/workspace.ts24 symbols
packages/golar/src/type-decoder.ts23 symbols
internal/utils/overlayfs.go23 symbols
cmd/golar/exports.c22 symbols
internal/mapping/mapping.go21 symbols
internal/typeencoder/typeencoder.go20 symbols
crates/golar/src/flags_generated.rs18 symbols
cmd/golar/exports.go18 symbols

For agents

$ claude mcp add golar \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact