MCPcopy Index your code
hub / github.com/TimUntersberger/nog

github.com/TimUntersberger/nog @v0.13.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.13.0 ↗ · + Follow
886 symbols 2,780 edges 100 files 54 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Nog

preview

Documentation

https://timuntersberger.github.io/nog

Syntax highlighting

Since nog uses a custom language we will provide official plugins for syntax highlighting.

Download

In almost all cases the development release is the way to go.

Known Problems

Window gets managed on wrong monitor

If you are using something like PowerLauncher for launching applications you might encounter this problem with mutli_monitor enabled.

The problem is that the focus returns to the previous window after PowerLauncher closes, before spawning the new window.

  1. PowerLauncher opens
  2. You tell it to launch notepad for example
  3. PowerLauncher closes -> focus returns to previous application
  4. notepad launches

If the previous application mentioned in step 3 is managed by nog, the workspace will change to its grid. The only way to fix this (at least that I know of) is if we implement our own application launcher that is connected with nog.

Contributions

  • Thank you @ramirezmike for designing and implementing the graph based tile organizer

Development

Create Executable

$env:NOG_VERSION="<version>"
cargo build --release
./rcedit ./target/release/nog.exe --set-icon ./assets/logo.ico

Extension points exported contracts — how you extend this code

Renderer (Interface)
(no doc) [2 implementers]
twm/src/renderer/mod.rs

Core symbols most depended-on inside this repo

clone
called by 519
twm/src/tile_grid/graph_wrapper.rs
push
called by 230
twm/src/tile_grid.rs
into
called by 94
interpreter/src/class.rs
get_sorted_children
called by 94
twm/src/tile_grid/graph_wrapper.rs
into
called by 83
twm/src/system/mod.rs
node
called by 82
twm/src/tile_grid/graph_wrapper.rs
focus
called by 72
twm/src/system/win.rs
next
called by 57
interpreter/src/lexer.rs

Shape

Method 492
Function 295
Class 72
Enum 26
Interface 1

Languages

Rust86%
TypeScript14%

Modules by API surface

interpreter/src/expr_parser.rs82 symbols
docs/highlight.js71 symbols
twm/src/main.rs57 symbols
twm/src/tile_grid.rs48 symbols
interpreter/src/parser.rs45 symbols
twm/src/system/win.rs41 symbols
twm/src/tile_grid/tests.rs40 symbols
twm/src/window.rs32 symbols
interpreter/src/interpreter.rs30 symbols
twm/src/keybindings.rs27 symbols
twm/src/tile_grid/graph_wrapper.rs26 symbols
interpreter/src/dynamic.rs23 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page