---
title: "Deploy Puppeteer + Ts"
description: "A minimal Puppeteer setup with Typescript"
category: "Automation"
url: https://railway.com/deploy/puppeteer-ts
---

# Deploy Puppeteer + Ts

A minimal Puppeteer setup with Typescript

**[Deploy Puppeteer + Ts on Railway](https://railway.com/template/puppeteer-ts)**

- **Creator:** PollyWolly's Projects
- **Category:** Automation
- **Total deploys:** 31

## Template content

### puppeteer-ts

- **Source:** railtools/puppeteer-ts

## Documentation

# Deploy and Host Puppeteer + Ts on Railway

**Puppeteer + TypeScript** is a lightweight automation setup combining Google’s Puppeteer library with the safety and structure of TypeScript. Ideal for developers who want type safety in browser automation tasks like scraping, testing, and scripting.

## About Hosting Puppeteer + Ts

This template deploys a Node.js service running Puppeteer with TypeScript support. It includes a basic TS setup with a compiler, headless Chromium launch, and sample script to get started. Designed for rapid prototyping and scalable deployment of browser automation tools, it compiles `.ts` files automatically and runs them on launch.

The included `Dockerfile` installs system dependencies for Chromium and uses a production-ready Node environment.

Eject repo to get your own code clone:

- In the service settings, under **Source**, find the **Upstream Repo** setting  
- Click the **Eject** button  
- Select the appropriate GitHub organization to create the new repository  
- Click **Eject service**  

For detailed instructions, see: [Railway Template Eject Guide](https://docs.railway.app/develop/template-eject)


## Common Use Cases

- Type-safe browser automation and scraping scripts  
- Screenshot/PDF generation with strict typing  
- Typed test automation for internal tools  
- Structured crawling and visual monitoring pipelines  

## Dependencies for Puppeteer + Ts Hosting

- Node.js 18+ runtime  
- TypeScript compiler (tsc)  
- Puppeteer with Chromium binaries  

### Deployment Dependencies


- [puppeteer](https://www.npmjs.com/package/puppeteer)  
- [typescript](https://www.npmjs.com/package/typescript)  
- System packages for Chromium headless operation  

## Why Deploy Puppeteer + Ts 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 Puppeteer + Ts 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.

## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/puppeteer-ts
