publish-to-pages

Convert PPTX, PDF, and HTML files into live GitHub Pages sites.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/lettucebo/Skills --skill publish-to-pages-lettucebo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: publish-to-pages
Source: https://github.com/lettucebo/Skills/tree/main/skills/github/publish-to-pages
Command: npx skills add https://github.com/lettucebo/Skills --skill publish-to-pages-lettucebo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-pptx, poppler-utils, gh, and includes scripts (resource) components.

What problem does it solve? Sharing a presentation or HTML file usually requires manual repo creation, file conversion, and GitHub Pages configuration. This Skill automates the entire pipeline from source file to a live public URL. ## Core Features & Use Cases - Multi-format conversion: Converts PPTX (via python-pptx) and PDF (via pdftoppm) into self-contained HTML slide decks with keyboard, click, and touch navigation; HTML files publish directly. - Google Slides support: Downloads Google Slides presentations as PPTX and converts them automatically. - Large file handling: Automatically switches to external assets mode for files over 20MB or with many images, keeping files under GitHub's 100MB limit. - One-command publishing: Creates the GitHub repo, pushes content, enables Pages, and returns the live URL. - Use Case: You finish a conference talk as a PPTX and want a shareable link. Hand the file to the agent and receive a live https://username.github.io/my-talk/ URL within minutes. ## Quick Start Publish the attached slides.pptx to GitHub Pages as a repo named conference-talk and give me the live URL.

Frequently Asked Questions about publish-to-pages

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish a PowerPoint presentation to GitHub Pages?▼

Convert the PPTX to HTML using the convert-pptx.py script, which preserves text formatting, images, tables, and slide backgrounds. Then run publish.sh with the output file and a repo name to create the repository, push the content, and enable GitHub Pages automatically.

How to convert a PDF into an HTML slide presentation?▼

Use the convert-pdf.py script, which renders each PDF page as a PNG via pdftoppm and embeds the images into an HTML file with keyboard, click, and touch slide navigation. Install poppler-utils first with apt or brew.

Can I publish a Google Slides presentation to GitHub Pages?▼

Yes. Extract the presentation ID from the Google Slides URL, download it as PPTX using the export endpoint with curl, then convert it with the PPTX conversion script. The presentation must be publicly accessible for the download to succeed.

What happens when publishing large PPTX or PDF files to GitHub?▼

Files over 20MB or with more than 50 images automatically switch to external assets mode, saving images as separate files in an assets directory. This keeps individual files under GitHub's 100MB limit, and the publish script copies the assets folder alongside the HTML.

Why does GitHub Pages not work on my private repository?▼

GitHub Pages on private repositories requires a Pro, Team, or Enterprise plan. Repos are created public by default; if you pass the private flag without a qualifying plan, Pages enablement will fail though the repo itself is still created.

What dependencies are required to convert PPTX and PDF files?▼

PPTX conversion requires Python 3 with the python-pptx package installed via pip. PDF conversion requires poppler-utils for the pdftoppm renderer. Publishing requires the GitHub CLI (gh) to be installed and authenticated.