MCPcopy Index your code
hub / github.com/KonnorRogers/mrujs

github.com/KonnorRogers/mrujs @v1.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.2 ↗ · + Follow
339 symbols 628 edges 115 files 48 documented · 14% updated 5mo ago★ 1729 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Purpose

To provide an upgrade path for those looking to retain the features of rails-ujs, but using a currently maintained library written in Typescript and using modern features like MutationObservers and fetch.

Check out the docs

The official docs can be found here:

https://mrujs.netlify.app

Working on mrujs locally

  1. Clone the repo
git clone https://github.com/ParamagicDev/mrujs
cd mrujs
  1. Install packages
pnpm install

View Dev Server

pnpm run start

Run tests

pnpm test

Rails

There is also a Rails dummy app attached in this repo for testing.

Installation

Top level:

bundle install

Starting

Must be run within the test/rails/dummy directory.

cd test/rails/dummy && bundle exec rails server

Tests

From any where outside of the test/rails/dummy directory:

bundle exec rake test

Docs

Docs are located in /docs and use Bridgetown + Netlify.

To start the docs server do the following:

cd docs && bundle install && bin/bridgetown start

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 206
Method 68
Class 40
Interface 25

Languages

TypeScript72%
Ruby28%

Modules by API surface

src/navigationAdapter.ts23 symbols
types.ts15 symbols
src/formSubmitDispatcher.ts14 symbols
src/mrujs.ts12 symbols
src/http/fetchRequest.ts11 symbols
plugins/src/cableCar.ts11 symbols
docs/plugins/builders/helpers.rb11 symbols
test/rails/dummy/app/controllers/users_controller.rb10 symbols
test/rails/dummy/app/controllers/posts_controller.rb10 symbols
test/rails/dummy/app/controllers/comments_controller.rb10 symbols
src/elementEnabler.ts10 symbols
src/elementDisabler.ts10 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page