Skip to content

A simple web tool to convert PPT/PPTX files into PDF instantly. Upload → Convert → Download. Built with HTML/CSS/JS and a Node.js backend powered by LibreOffice.

Notifications You must be signed in to change notification settings

abhishek-2006/ppt2pdf-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ppt2pdf-web

Convert PowerPoint (PPT/PPTX) presentations to PDF via a minimal web interface.

Developer: Abhishek Shah

Status: Minimal web utility — quick local deployment and Docker support.

Contents

  • server.js — Node.js server that hosts the web UI and handles conversion requests.
  • public/ — Static web assets (HTML, CSS, JavaScript).
  • Dockerfile — Build a container image for the app.

Features

  • Simple web UI to upload PPT/PPTX files and receive a PDF.
  • Lightweight Node.js backend.

Prerequisites

  • Node.js (v14+ recommended)
  • npm (comes with Node.js)
  • Docker (optional, for containerized runs)

Download & install Node.js

  • Official downloads: https://nodejs.org/
  • Quick verification after install (open a terminal / PowerShell):
node -v
npm -v

Platform notes:

  • Windows: Download the Windows installer (MSI) from the Node.js website and run it. Alternatively install nvm-windows for multiple Node versions: https://github.com/coreybutler/nvm-windows
  • macOS: Download the macOS installer from the Node.js website, or use Homebrew: brew install node.
  • Linux: Use your distro package manager or the NodeSource installers; example for Debian/Ubuntu:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs

Other useful links

Quick start (local)

  1. Install dependencies:
npm install
  1. Start the server:
# If a start script exists:
npm start
# Or directly:
node server.js
  1. Open the app in your browser at http://localhost:3000 (confirm port in server.js).

Running with Docker

  1. Build the image:
docker build -t ppt2pdf-web .
  1. Run the container (example mapping port 3000):
docker run -p 3000:3000 ppt2pdf-web
  1. Open http://localhost:3000 in your browser.

Usage

  • Open the web UI and upload a .ppt or .pptx file.
  • The app will convert and provide a downloadable PDF.
  • If conversion requires additional binaries (LibreOffice/headless or unoconv), follow prompts or consult server.js for integration notes.

Development

  • Edit static files in public/.
  • Edit server logic in server.js.
  • Restart the Node server after code changes.

Troubleshooting

  • If the app doesn't start, check Node version and run node server.js to see errors.
  • If file conversions fail, verify any external converters are installed and accessible to the server process.

Contributing

  • Open an issue or a PR with clear descriptions and tests where applicable.

License

  • MIT

Contact

About

A simple web tool to convert PPT/PPTX files into PDF instantly. Upload → Convert → Download. Built with HTML/CSS/JS and a Node.js backend powered by LibreOffice.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published