matz

matz implements a novel concept for learning with the help of Artificial Intelligence (AI).
It is open to everyone through a publically accessible ssh server that anyone can use.

matz combines education, AI, and mruby to be able to help you improve your mruby knowledge and skills with an approach that focuses on using AI not as a tool to automate coding tasks, but as a tool to help you debug coding tasks and learn in the process.

When you have an mruby question, you can ask matz via SSH.
No downloads. Free to use.

$ ssh matz@r.uby.dev

AI

r.uby.dev is the home of multiple AI runtimes that are centered around ruby.
The first runtime is llm.rb, and it is the oldest of the three runtimes. It targets CRuby.

The second runtime is for mruby, and it is known as mruby-llm.
It was used to build matz, and it shares a large part of its code with llm.rb.

The last and third runtime is wasm-llm, and it is a port of mruby-llm to the WASM runtime.
All three runtimes have a similar interface, and share a large body of code.

Services

The HTTP services we provide can be used to query information from the mruby guide and source code index, as well as the mrbgem index. These APIs are what power the tools that matz uses under the hood.
Endpoint Description
GET /api/guides/index List mruby guide documents.
GET /api/guides/search?q=QUERY Search mruby guides.
GET /api/guides/read?q=PATH Read an mruby guide document.
GET /api/mruby/index List mruby source files.
GET /api/mruby/search?q=QUERY Search mruby source code.
GET /api/mruby/read?q=PATH Read an mruby source file.
GET /api/mrbgems/index List known mrbgem metadata files.
GET /api/mrbgems/search?q=QUERY Search known mrbgems by name.
GET /api/mrbgems/read?q=GEM Read metadata for a known mrbgem.

FAQ

Where does the name "matz" come from?

matz is named in honor of the creator of (m)ruby: Yukihiro "matz" Matsumoto.
It is an independent open source project.
It is not affiliated with or endorsed by him.