MCPcopy Index your code
hub / github.com/CanadaHonk/shadow

github.com/CanadaHonk/shadow @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
232 symbols 607 edges 20 files 6 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Shadow

Shadow is a new novel web engine made (almost) entirely in JS from scratch.

Try it in your browser!

(more info there)

Posts

Contributing

To run the repo, just serve the root directory using a local HTTP server like sirv-cli:

npx sirv-cli .

# Now navigate to: http://localhost:8080/index.html

<!--

next up

  • :hover, :active
  • border
  • css var()
  • box-shadow
  • text-shadow
  • li markers (list-style-type)
  • margin-inline, margin-block (hack: -> margin?)
  • rem unit
  • center element
  • bgColor, fgColor
  • fixed length units (cm, in, etc)
  • max width/max height
  • text highlighting (!)
  • popups when using keybinds to notify info
  • inspect dom tree panel
  • status bar?
  • setting for how early but broken or late but good to show a page

to investigate

  • http://home.mcom.com/home/welcome.html (blank?)
  • https://cs.sjoy.lol (text good! styling bad)
  • https://www.stroustrup.com (okay content, not styling)
  • https://kevinlocke.name/
  • https://signal.org/ / https://signal.org/blog/
  • https://research.swtch.com/nih
  • https://notes.valdikss.org.ru/jabber.ru-mitm/
  • https://servo.org
  • https://ladybird.dev
  • https://www.ekioh.com/flow-browser/
  • https://whatwg.org/

Core symbols most depended-on inside this repo

css
called by 44
engine/layout.js
lengthAbs
called by 23
engine/layout.js
marginTop
called by 17
engine/layout.js
getFromPtr
called by 16
engine/layout.js
paddingLeft
called by 12
engine/layout.js
toString
called by 11
engine/dom.js
display
called by 11
engine/layout.js
isBlock
called by 11
engine/layout.js

Shape

Method 158
Function 48
Class 26

Languages

TypeScript100%

Modules by API surface

engine/layout.js90 symbols
engine/js/ipc/inside.js31 symbols
engine/dom.js24 symbols
engine/cssparser.js22 symbols
gtk_frontend/index.js18 symbols
engine/renderer.js11 symbols
engine/htmlparser.js11 symbols
engine/network.js5 symbols
engine/main.js5 symbols
engine/js/index.js4 symbols
engine/polys.js3 symbols
engine/js/ipc/outside.js3 symbols

For agents

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

⬇ download graph artifact