XPDF is a simple, elegant tool that allows you to turn any public X (formerly Twitter) post, thread, or article into a beautifully styled PDF. It preserves images and layout for offline reading or archiving.
- High Fidelity: Renders posts exactly as they appear on X.
- Support: Works with X posts, threads, and articles.
- Optimized for PDF: Generates A4 PDFs optimized for readability.
- Fast and Clean: Focuses on content, removing navigation and sidebars.
- Next.js - React Framework
- Playwright - Browser automation for rendering
- Tailwind CSS - Styling
First, install dependencies:
npm installThen, run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
- Paste a public X post, thread, or article URL.
- Click Generate PDF.
- Wait for the browser to render and download your PDF.
This tool only supports public X content.