{"id":23061820,"url":"https://github.com/rrwen/rvslides","last_synced_at":"2026-05-04T20:35:39.921Z","repository":{"id":91307964,"uuid":"87790660","full_name":"rrwen/rvslides","owner":"rrwen","description":"Minimalistic command line tool for templating and PDF rendering of reveal.js presentations.","archived":false,"fork":false,"pushed_at":"2017-11-15T03:58:54.000Z","size":2254,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T07:19:56.413Z","etag":null,"topics":["bower","deck","decktape","js","minimal","node","npm","pdf","phantom","presentation","render","reveal","rrwen","rvslides","slides","template"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/rvslides","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rrwen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-04-10T09:09:33.000Z","updated_at":"2017-04-13T03:15:06.000Z","dependencies_parsed_at":"2023-06-10T02:30:51.622Z","dependency_job_id":null,"html_url":"https://github.com/rrwen/rvslides","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rrwen/rvslides","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Frvslides","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Frvslides/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Frvslides/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Frvslides/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrwen","download_url":"https://codeload.github.com/rrwen/rvslides/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Frvslides/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264841584,"owners_count":23671900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bower","deck","decktape","js","minimal","node","npm","pdf","phantom","presentation","render","reveal","rrwen","rvslides","slides","template"],"created_at":"2024-12-16T03:18:34.230Z","updated_at":"2026-05-04T20:35:34.901Z","avatar_url":"https://github.com/rrwen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rvslides\nRichard Wen  \nrrwen.dev@gmail.com  \n* [HTML Slides](https://rrwen.github.io/rvslides/slides)\n* [PDF Slides](https://github.com/rrwen/rvslides/blob/master/slides/pdf/index.pdf)\n\nMinimalistic command line tool for templating and PDF rendering of [reveal.js](https://github.com/hakimel/reveal.js/) presentations.\n\n```\nnpm install rvslides -g\nrvslides create\nrvslides pdf\n```\n\n**WARNING:** No longer installs properly due to changes from [decktape](https://github.com/astefanutti/decktape).\n\n## Install\n\n1. Ensure [Node.js](https://nodejs.org) is installed\n2. Install via npm:\n\n```\nnpm install rvslides -g\n```\n\nFor the latest developer version, see [Developer Install](#developer-install).\n\n## Usage\n\nGenerate slides **index.html** in the current directory:\n\n```\nrvslides create\n```\n\n* Edit the **index.html** file to modify slides\n* Replace the **img/logo.svg** file to change the logo\n\nRender **index.html** slides as a PDF **pdf/index.pdf**:\n\n```\nrvslides pdf\n```\n\nFor usage help, use `rvslides -h`\n\n## Advanced Usage\n\n### Render Portable Document File (PDF)\n\nPDF support is based on [decktape](https://github.com/astefanutti/decktape).\n\n* Generate *pdf/index.pdf* for *index.html* with `rvslides pdf`\n* Generate a PDF with different html slides and output with `rvslides pdf path/to/slides.html path/to/slides.pdf`\n\n## Manage JavaScript (JS) Packages\n\nThe JS packages are contained in **js/** with package management based on [bower](https://bower.io/).\n\n* Install bower `npm install bower -g`\n* Install JS packages with `bower install \u003cpackage-name\u003e`\n* Update JS packages with `bower update \u003cpackage-name\u003e`\n* Uninstall JS packages with `bower uninstall \u003cpackage-name\u003e`\n\n## Developer Notes\n\n### TO DO\n\n* Incorporate a templating engine\n* Document Github hosting\n* Create unit tests\n\n### Developer Install\n\n1. Ensure [git](https://git-scm.com/) is installed\n2. Install via git:\n\n```\ngit clone https://github.com/rrwen/rvslides\ncd rvslides\nnpm install -g\n```\n\n### Developer Maintenance\n\n1. Update package and slide dependencies\n2. Check **slides/index.html**\n3. Commit and push changes\n\n```\nnpm update --save\nnpm run bower update --save\nnpm add .\nnpm commit -a -m \"Maintenance update\"\nnpm push\n```\n\n## Implementation Notes\n\n### PDF Support Implementation\n\nPDF generation is based on [decktape](https://github.com/astefanutti/decktape), which requires [pre-compiled phantomjs files](https://github.com/astefanutti/decktape/releases) for different operating systems. The [npm](https://slides.npmjs.com/cli/npm) command is used to install decktape directly from the Github repository. The [node](https://nodejs.org/api/cli.html) command is then used to call **scripts/pdf/install.js** to download (via [request](https://www.npmjs.com/package/request)) the pre-compiled files. The pre-compiled files are located under *node_modules/decktape*. The **scripts/pdf** files can then be used by [node](https://nodejs.org/api/cli.html) to run decktape with `rvslides pdf`.\n\n### JS Package Management Implementation\n\nClient-end packages are installed and updated with [bower](https://bower.io/) inside **bower_components**. Bower is installed inside this folder to avoid an unwanted global installation, however it can be installed globally by running `npm install bower -g`. The **bower.json** file is used to specify package dependencies and [node](https://nodejs.org/api/cli.html) is used to run updates with [npm commands](https://slides.npmjs.com/misc/scripts#examples) (inside **package.json**) assigned to `npm run bower update`, `npm bower js install`, and `npm run bower uninstall`. These commands are for updating client-end packages on the developer side.\n\n### CSS Implementation\n\nThe theme is defined by Cascading Style Sheets (CSS) inside **css**, the original [reveal.js white theme](https://github.com/hakimel/reveal.js/blob/master/css/theme/white.css), [components-font-awesome](https://github.com/components/font-awesome), and a logo file inside **img**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrwen%2Frvslides","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrwen%2Frvslides","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrwen%2Frvslides/lists"}