MCPcopy Index your code
hub / github.com/ArthurHeitmann/photon-reddit

github.com/ArthurHeitmann/photon-reddit @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,573 symbols 3,928 edges 152 files 58 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

ExtendableEvent (Interface)
Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lif
src/static/scripts/types/serviceworker.d.ts
FetchEvent (Interface)
This is the event type for fetch events dispatched on the service worker global scope. It contains information about the
src/static/scripts/types/serviceworker.d.ts
PushMessageData (Interface)
This Push API interface provides methods which let you retrieve the push data sent by a server in various formats.
src/static/scripts/types/serviceworker.d.ts
PushEvent (Interface)
This Push API interface represents a push message that has been received. This event is sent to the global scope of a Se
src/static/scripts/types/serviceworker.d.ts
NotificationEvent (Interface)
The parameter passed into the onnotificationclick handler, the NotificationEvent interface represents a notification cli
src/static/scripts/types/serviceworker.d.ts

Core symbols most depended-on inside this repo

makeElement
called by 339
src/static/scripts/utils/utils.ts
add
called by 229
src/static/scripts/multiUser/userManagement.ts
bind
called by 209
src/static/scripts/components/misc/subredditSelector/subredditSelector.ts
remove
called by 159
src/static/scripts/components/photon/photonBaseElement/photonBaseElement.ts
push
called by 133
src/static/scripts/components/feed/universalFeed/postsFocusStack.ts
error
called by 101
src/static/scripts/types/serviceworker.d.ts
json
called by 61
src/static/scripts/types/serviceworker.d.ts
toggle
called by 53
src/static/scripts/components/global/userDropDown/userDropDown.ts

Shape

Method 814
Function 378
Class 217
Interface 131
Enum 33

Languages

TypeScript100%

Modules by API surface

src/static/scripts/utils/utils.ts71 symbols
src/static/scripts/api/redditApi.ts50 symbols
src/static/scripts/types/serviceworker.d.ts49 symbols
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js49 symbols
src/static/scripts/components/global/photonSettings/photonSettingsData.ts44 symbols
src/static/scripts/components/feed/universalFeed/feedHeaderElements.ts43 symbols
src/static/scripts/types/redditTypes.ts36 symbols
src/static/scripts/components/mediaViewer/mediaViewer.ts36 symbols
src/static/scripts/components/post/post.ts32 symbols
src/static/scripts/components/feed/universalFeed/infinteScroller.ts24 symbols
src/static/scripts/utils/htmlStatics.ts22 symbols
src/static/scripts/historyState/viewsStack.ts22 symbols

For agents

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

⬇ download graph artifact