Deploy PullMD

Turn web pages, PDFs and docs into clean Markdown for AI agents

Deploy PullMD

Just deployed

/data

Deploy and Host self hosted PullMD (AI/ML) on Railway

This template deploys PullMD, an AGPL-3.0 self-hosted converter that turns web pages and documents into clean Markdown for people and AI agents.

About Hosting PullMD open-source software on Railway (self hosted PullMD template)

PullMD is an AGPL-3.0 converter that turns web pages, PDFs and Office files into clean Markdown for people and AI agents.

Your data stays in your Railway project, with conversion history and the SQLite cache on the /data volume of the pullmd service.

Why Deploy PullMD, the self-hosted URL and file to Markdown converter on Railway

A hosted web-to-Markdown API meters every page and sends it through someone else's service.

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 PullMD 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.

Railway vs Other Hosting Providers and VPS for PullMD self hosting

Running PullMD yourself means deciding where the four services and the /data volume live, so here is how Railway compares with common alternatives.

ProviderWhat You Get with RailwayWhat You Get with the Other Provider
DigitalOceanFour services from one template, generated secrets, a /api/status health check and a /data volume.Full Droplet control, but you install Docker, wire the sidecars and manage volumes and checks.
AWSA working stack with sidecars on the private network and no networking setup.Wide service choice and fine-grained networking, with more setup work.
HetznerOne-click deploys with no server to patch and platform-handled restarts.Low-cost capacity, but you manage the OS, Docker, updates and /data backups yourself.

Common Use Cases for hosted PullMD

  • Feeding a web UI to read pages: Paste a URL or upload a PDF or Office file in the web interface, get clean Markdown back, and keep a stable share link to send to a colleague or revisit later.
  • Scripting conversions over the REST and SSE API: Create a pmd_ API key under Settings, then call the API from a batch job or pipeline to convert many pages, with SSE streaming for longer documents.
  • Giving an AI agent a reader tool through MCP: Point an MCP client at /mcp so an agent can pull pages and documents as Markdown, with OAUTH_JWT_SECRET enabling OAuth 2.1 for claude.ai and Claude Desktop.
  • Handling JavaScript-heavy pages privately: The headless browser sidecar renders pages that need scripts before extraction, and it is reached only on the private network rather than from the public internet.
  • Converting documents without sending them elsewhere: The MarkItDown sidecar handles PDFs and Office files inside your own Railway project, so the source documents stay under your control.

Dependencies for PullMD Docker hosted on Railway

This template runs four services, with the public PullMD app as the only entry point. Nothing is needed from you before deploy.

Deployment Dependencies for Managed PullMD Service

The pullmd service is public on port 8080, with a volume at /data and a health check on /api/status with a 300 second timeout and restart Always. Private sidecars are trafilatura on 8001, playwright on 8002 and markitdown on 8003, also with restart Always. Keep one replica for pullmd, because the volume holds local state.

Implementation Details for PullMD

ghcr.io/onepush-dev/pullmd:3.21.0 is the unmodified upstream aeternalabshq/pullmd:3.21.0 image with authentication turned on (PULLMD_AUTH_MODE=single-admin) and public history disabled. The sidecars are the unmodified upstream aeternalabshq/pullmd-trafilatura, pullmd-playwright and pullmd-markitdown images at 3.21.0, reached only on the private network. Sign in as admin@pullmd.local with the generated PULLMD_ADMIN_PASSWORD. Changing that variable later has no effect; change the password in the app. Create pmd_ API keys under Settings. MCP is at /mcp, and OAUTH_JWT_SECRET enables OAuth 2.1 for claude.ai and Claude Desktop. PUBLIC_URL follows the Railway domain; update it for a custom domain. TRAFILATURA_URL, PLAYWRIGHT_URL and MARKITDOWN_URL point at the private sidecars.

How does PullMD compare against other tools

PullMD vs a hosted web-to-Markdown API (Hosted Reader Alternative)

  • Data control: PullMD runs in your own Railway project, so the pages you convert stay on infrastructure you control.
  • Authentication: This template turns on login, which upstream ships with off, so the public URL is not an open converter.
  • Upkeep: You own upgrades, the /data volume and the sidecars, more work than a hosted service handles for you.
  • Where hosted wins: A hosted API needs no deployment and suits a handful of pages.

PullMD vs copying page text by hand (Manual Copy Alternative)

  • Repeatable output: PullMD returns consistent Markdown with source and metadata in frontmatter every time.
  • Share links: Converted pages get stable /s/ links that re-fetch when the cache is older than an hour.
  • Agent access: The REST API and the MCP endpoint at /mcp let agents request conversions directly.
  • Where copying wins: For one short passage, copying by hand is faster and needs no setup.

PullMD with Docker vs Railway (Docker Self Hosting Alternative)

  • Setup: A plain Docker host means managing the volume and reverse proxy yourself, while this template deploys four services in one click.
  • Health and restarts: The template sets the /api/status health check and restart policy for you.
  • Where plain Docker wins: A Docker host you already run gives full control over networking and avoids a hosted platform.

How to use PullMD on Railway?

  1. Open the public domain that Railway assigned to the pullmd service, then wait for the health check at /api/status to pass.
  2. Sign in as admin@pullmd.local with the PULLMD_ADMIN_PASSWORD value from the pullmd service variables. Changing that variable later has no effect on the existing account.
  3. Convert a web page by entering its URL, or upload a PDF or Office file and let PullMD produce the Markdown. Each result gets a share link you can revisit.
  4. Open Settings and create one or more pmd_ API keys for scripts and agents. Store them in your own secret manager, because the key is what authenticates those clients.
  5. If you attach a custom domain, update PUBLIC_URL on the pullmd service to match it, so share links and MCP login point at the right address.
  6. Keep one replica on pullmd, since it writes its SQLite cache and history to the /data volume.
Health check path: /api/status (timeout 300 seconds)
MCP endpoint:      /mcp
Admin login:       admin@pullmd.local

How to self host PullMD on other VPS Services (PullMD self hosting guide)

On your own server, run the documented upstream pullmd compose stack with the app, optional sidecars and a persistent data directory.

Clone the Repository

Clone the upstream repository into a folder you control.

git clone https://github.com/AeternaLabsHQ/pullmd.git
cd pullmd

Install Dependencies

Install Docker and Docker Compose on your VPS.

Configure Environment Variables

Create a .env file next to the compose file with a private admin password and an OAuth signing secret.

PULLMD_AUTH_MODE=single-admin
PULLMD_ADMIN_EMAIL=admin@pullmd.local
PULLMD_ADMIN_PASSWORD=your-admin-password
OAUTH_JWT_SECRET=your-oauth-secret
PUBLIC_URL=https://your-domain

Mount a persistent data directory at /data so the cache and history survive restarts.

Start the PullMD Application

Start the stack in the background, then confirm the health endpoint responds before signing in as admin@pullmd.local.

docker compose up -d
curl https://your-domain/api/status

Railway handles the public domain, TLS, the private network between services, the persistent volume and restarts for you.

Pricing and License of PullMD (PullMD pricing)

PullMD is open-source software released under the AGPL-3.0 license, so you can self-host it without paying a license fee.

PullMD hosted vs self hosted comparison (Pricing, features, costs, and more)

This template packages the AGPL-3.0 software, and no hosted plan prices are quoted here.

Monthly cost of self hosting PullMD on Railway

The monthly total reflects all four services and the /data volume.

System Requirements for Hosting PullMD on a VPS

On a VPS you run the same four components, plus persistent disk for the cache at /data.

Frequently Asked Questions (FAQs)

How do I sign in to my PullMD instance?

Sign in as admin@pullmd.local using the generated PULLMD_ADMIN_PASSWORD value from the pullmd service variables.

Is authentication turned on by default?

Yes. Upstream ships with authentication off; this template turns it on in single-admin mode so a public URL is not an open converter.

Where is the MCP endpoint, and how do I connect clients?

MCP is served at /mcp on your instance domain. OAUTH_JWT_SECRET is generated and enables OAuth 2.1 for claude.ai and Claude Desktop.

Are optional vision or OCR keys required?

No. Vision, speech-to-text, LLM and PDF OCR keys are optional extras you can add later, and this template was not tested with them.

What should I back up?

Back up the /data volume on the pullmd service, which holds the SQLite cache, history and users, along with OAUTH_JWT_SECRET and any pmd_ API keys you create.

Is this affiliated with or endorsed by PullMD or Aeterna Labs?

No. This is independent community packaging of AeternaLabsHQ/pullmd 3.21.0 (AGPL-3.0), not affiliated with or endorsed by PullMD or Aeterna Labs.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
1