{"id":42741565,"url":"https://github.com/jeffkit/html-slide-player","last_synced_at":"2026-01-29T19:00:02.619Z","repository":{"id":311155118,"uuid":"1042532195","full_name":"jeffkit/html-slide-player","owner":"jeffkit","description":"A Universal HTML-based Presentation Framework","archived":false,"fork":false,"pushed_at":"2025-08-22T07:35:00.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-23T04:54:48.878Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeffkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-22T06:59:24.000Z","updated_at":"2025-08-22T07:35:04.000Z","dependencies_parsed_at":"2025-08-22T13:43:24.860Z","dependency_job_id":"54310b36-5700-45c1-8832-6a8c7d01c68d","html_url":"https://github.com/jeffkit/html-slide-player","commit_stats":null,"previous_names":["jeffkit/html-slide-player"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeffkit/html-slide-player","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffkit%2Fhtml-slide-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffkit%2Fhtml-slide-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffkit%2Fhtml-slide-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffkit%2Fhtml-slide-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffkit","download_url":"https://codeload.github.com/jeffkit/html-slide-player/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffkit%2Fhtml-slide-player/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28882590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T16:41:59.663Z","status":"ssl_error","status_checked_at":"2026-01-29T16:39:39.641Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-29T19:00:01.575Z","updated_at":"2026-01-29T19:00:02.606Z","avatar_url":"https://github.com/jeffkit.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTML Slide Player\n\n[![npm version](https://badge.fury.io/js/html-slide-player.svg)](https://badge.fury.io/js/html-slide-player)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nUniversal HTML-based presentation player framework with CLI tools for creating, serving, and exporting HTML slide presentations.\n\n## Features\n\n- 🎬 **Live Development Server** - Instant preview with auto-refresh\n- 🖱️ **Interactive Navigation** - Keyboard controls and mode switching\n- 📱 **Responsive Design** - Automatic scaling for any screen size\n- 🖼️ **Export Capabilities** - Export to PNG, PDF, and PowerPoint formats\n- ⚡ **Zero Configuration** - Get started with a single command\n- 🎨 **Self-contained Slides** - Each slide is an independent HTML file\n\n## Quick Start\n\n### Installation\n\n```bash\nnpm install -g html-slide-player\n```\n\n### Create Your First Presentation\n\n```bash\n# Create a new directory for your presentation\nmkdir my-presentation \u0026\u0026 cd my-presentation\n\n# Initialize the project\nslide-player init\n\n# Start development server\nslide-player serve\n```\n\nYour browser will automatically open to `http://localhost:3000` with your presentation ready!\n\n## CLI Commands\n\n### Basic Commands\n\n- **`slide-player init`** - Initialize a new presentation project\n- **`slide-player serve`** - Start development server (default command)\n- **`slide-player serve -p 8080`** - Start server on custom port\n\n### Export Commands\n\n- **`slide-player export-images`** - Export slides as PNG images\n- **`slide-player export-pdf`** - Export slides as PDF document\n- **`slide-player export-pptx`** - Export slides as PowerPoint file\n\n### Setup\n\n- **`slide-player setup`** - Install dependencies for export functionality\n- **`slide-player --help`** - Show all available commands\n\n## Project Structure\n\nAfter running `slide-player init`, your project will have:\n\n```\nmy-presentation/\n├── index.html          # Main presentation player\n├── slides.js           # Slide configuration\n└── slides/             # Your slide files\n    ├── welcome.html\n    ├── getting-started.html\n    └── images/         # Image assets\n```\n\n## Creating Slides\n\n### Slide Configuration\n\nEdit `slides.js` to configure your presentation:\n\n```javascript\nwindow.presentationConfig = {\n  meta: {\n    title: \"My Awesome Presentation\",\n    language: \"en\"\n  },\n  slides: [\n    \"slides/welcome.html\",\n    \"slides/intro.html\",\n    \"slides/conclusion.html\"\n  ]\n};\n```\n\n### Simple Configuration (Backward Compatible)\n\n```javascript\nwindow.slidesConfig = [\n  \"slides/slide1.html\",\n  \"slides/slide2.html\"\n];\n```\n\n### Creating Slide Files\n\nEach slide is a self-contained HTML file (1280x720 viewport):\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n  \u003cmeta charset=\"UTF-8\"\u003e\n  \u003ctitle\u003eMy Slide\u003c/title\u003e\n  \u003cstyle\u003e\n    body {\n      font-family: 'Noto Sans SC', sans-serif;\n      margin: 0;\n      padding: 40px;\n      width: 1280px;\n      height: 720px;\n      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\n    }\n    .container {\n      display: flex;\n      flex-direction: column;\n      justify-content: center;\n      align-items: center;\n      height: 100%;\n      color: white;\n    }\n  \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n  \u003cdiv class=\"container\"\u003e\n    \u003ch1\u003eWelcome to My Presentation\u003c/h1\u003e\n    \u003cp\u003eThis is a sample slide\u003c/p\u003e\n  \u003c/div\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Navigation Controls\n\n### Presentation Mode (Default)\n- **←/→ Arrow Keys** - Navigate between slides\n- **Space Bar** - Next slide\n- **Home/End** - First/Last slide\n\n### Mode Switching\n- **Toggle Button** - Switch between presentation and interaction modes\n- **Interaction Mode** - Allows text selection and scrolling within slides\n\n## Export Functionality\n\n### Setup Export Dependencies\n\n```bash\nslide-player setup\n```\n\nThis installs:\n- Playwright (for screenshot generation)\n- Python PIL (Pillow) for image processing\n- python-pptx for PowerPoint generation\n\n### Export Your Presentation\n\n```bash\n# Export as images (PNG files)\nslide-player export-images\n\n# Export as PDF document\nslide-player export-pdf\n\n# Export as PowerPoint presentation\nslide-player export-pptx\n```\n\nExported files are saved in the `exported-slides/` directory.\n\n## Advanced Usage\n\n### Custom Server Port\n\n```bash\nslide-player serve --port 8080\n```\n\n### Image Assets\n\nPlace images in the `slides/images/` directory and reference them in your slides:\n\n```html\n\u003cimg src=\"images/my-diagram.png\" alt=\"Diagram\" /\u003e\n```\n\n### Reordering Slides\n\nSimply reorder the filenames in your `slides.js` configuration file.\n\n## Requirements\n\n### Runtime Requirements\n- Node.js 14+ \n- Modern web browser\n\n### Export Requirements (Optional)\n- Python 3.6+\n- pip3 (for Python package installation)\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## Support\n\n- 📖 [Documentation](https://github.com/jeffkit/html-slide-player#readme)\n- 🐛 [Report Issues](https://github.com/jeffkit/html-slide-player/issues)\n- 💬 [Discussions](https://github.com/jeffkit/html-slide-player/discussions)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffkit%2Fhtml-slide-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffkit%2Fhtml-slide-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffkit%2Fhtml-slide-player/lists"}