Hacker News new | ask | show | jobs
by panja 255 days ago
Can I selfhost this on docker?
1 comments

Yes! LocalPDF is 100% client-side, so self-hosting is very simple.

  All PDF processing happens in the browser - no server needed. Just build
  and serve as static files:

  git clone https://github.com/ulinycoin/clientpdf-pro.git
  cd clientpdf-pro
  npm install && npm run build
  # Serve dist/ folder with any web server

  For Docker, you can use something like:
  FROM nginx:alpine
  COPY dist/ /usr/share/nginx/html
  EXPOSE 80

  No databases, no backend APIs, no file uploads to servers. It's just
  HTML/JS/CSS that runs entirely in your browser for privacy.

  The only "server" component in the repo is optional Rendertron for SEO
  (prerendering for search bots), but the core PDF tools work without it.