Deploy DevDocs

Fast, offline-capable API docs browser, docs persisted on a volume

Deploy DevDocs

/devdocs/public/docs

Deploy and Host DevDocs on Railway

DevDocs, by freeCodeCamp, is an open-source documentation browser. It puts the API documentation of hundreds of languages, frameworks and tools (MDN's HTML, CSS and JavaScript, Python, Node.js, React, PostgreSQL and more) into one fast web app with instant fuzzy search, keyboard navigation, dark mode and an offline mode.

About Hosting DevDocs

This template runs DevDocs as a single service built from a public GitHub repo. That repo pins a recent upstream commit on the official Ruby image, because upstream publishes no releases and its container image hasn't been rebuilt since February 2026. On first start the service downloads the documentation sets you list in DEVDOCS_DOCS from devdocs.io onto a Railway volume, builds the catalog and serves everything itself, with no analytics. Later starts reuse the volume, and installed sets are refreshed every 30 days. There's no database and no account system: anyone with the URL can read the docs. It needs about 0.13 GB of RAM and fits Railway's 0.5 GB plan limit.

Common Use Cases

  • A private, fast documentation mirror for a team or a classroom
  • Searching the docs of a whole stack (HTML, CSS, JavaScript, Python, Node.js…) in one place
  • Reading docs offline: the browser can save enabled docs for use without a connection

Dependencies for DevDocs Hosting

  • One DevDocs service (Ruby, Puma) built from aalfath/devdocs-railway-template
  • One Railway volume at /devdocs/public/docs for the downloaded documentation

Deployment Dependencies

Implementation Details

  • What you get: one public URL. The /ping health check passes about 10 seconds after start. The 5 default sets (CSS, Web APIs, HTML, HTTP, JavaScript, about 230 MB on disk) download on the first boot.
  • After deploy: open the URL and enable or disable docs under Preferences. To install more sets, edit DEVDOCS_DOCS, for example css dom html http javascript python typescript node react git, and redeploy. all installs everything (about 9 GB). Downloads on start stop after 180 seconds, and the rest continue in the background and appear without another redeploy.
  • Updates: the service builds from the template repo, so Railway shows an update notice when the pinned DevDocs commit is bumped. Applying it keeps the volume.

Why Deploy DevDocs on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying DevDocs on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
NEW
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0