Skip to content

rubyapi

Fast, mobile-friendly Ruby documentation browser with search, self-hostable via Docker

Permissive (OSI) · MIT

Listed by , founder & editor

47

Health

Slowing

Overview

Stars

595

Last commit

15 days ago

Nov 2026

Repository age

7 years

since Jan 2019

Latest version

–

Contributors

–

3 active in 90 days

Releases

0

last 12 months

Language

HTML

Ruby API is a documentation browser for Ruby and its standard library. It powers rubyapi.org. The goal is quick search and pages that read well on a phone and load over slow connections.

It is a Rails application. Documentation is imported from the official Ruby source through RDoc and indexed in OpenSearch, with PostgreSQL as the database. The search design is inspired by Dash. You can import docs for one Ruby version or for all supported versions with a Rails task.

You can run your own copy with Docker Compose, which starts PostgreSQL and OpenSearch. Local development needs Ruby 4. Podman usually works too, though Docker is the supported route. The code is MIT licensed. The hosted site is free and has no ads, and it is supported by Ruby Central. It does not target a single commercial product, but it fills the role of hosted API reference sites.

Who it's for

Ruby developers who look up docs on a phone

Pages are small and the layout works the same on phone and laptop.

Skip if: You prefer an offline docset app on your desktop.

Teams wanting a local Ruby docs mirror

You can run it with Docker Compose and import the Ruby versions you use.

Skip if: You do not want to run PostgreSQL and OpenSearch.

Contributors to Ruby tooling

It is an MIT-licensed Rails app with tests and RuboCop set up.

Skip if: You are not familiar with Rails.

The problem it solves

Official Ruby docs can be hard to search and awkward to read on small screens. This project gives you fast search and light pages for every API method.

Strengths

  • Docs imported from official Ruby source via RDoc
  • Search indexed in OpenSearch
  • Import one Ruby version or all supported ones
  • MIT license
  • Docker Compose setup for local runs

Trade-offs

  • Needs PostgreSQL and OpenSearch running
  • Local setup requires Ruby 4
  • Docker is the only officially supported setup
  • Covers Ruby docs only

Self-host rubyapi

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Quick start

docker compose up -d # start PostgreSQL and OpenSearch
bin/setup            # install gems, copy database.yml, prepare the database
bin/dev              # start the Rails server on port 3000

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is it free?

Yes. The hosted site has no ads, and the code is MIT licensed.

Can I self-host it?

Yes. Start PostgreSQL and OpenSearch with Docker Compose, then run the setup and dev scripts.

How do I load documentation?

Run the Rails import task for a single version, or the all task for every supported version.

Does it work with Podman?

It tends to work with podman-compose, but Docker is the supported option.

Similar tools in Developer portals and documentation

DOCAT

Developer portals and documentation

Self-hosted server for publishing versioned static docs from mkdocs, Sphinx or mdbook

914 55 27 days ago Active MIT

mozsearch

Developer portals and documentation

Source code indexing and search backend behind Searchfox, for large codebases

369 97 2 days ago Active MPL-2.0

Brief

Developer portals and documentation

Offline GTK4 browser for command-line cheatsheets on Linux

60 2 7 months ago Dormant GPL-3.0

Manuals

Developer portals and documentation

GNOME app for browsing developer documentation offline on Linux

11 9 3 days ago Active GPL-3.0-or-later

Retype

Developer portals and documentation

Unknown