{"id":19109965,"url":"https://github.com/coopdevs/slides_template","last_synced_at":"2026-06-17T18:03:30.733Z","repository":{"id":57363131,"uuid":"131418206","full_name":"coopdevs/slides_template","owner":"coopdevs","description":"Coopdevs template for presentations done with Backslide","archived":false,"fork":false,"pushed_at":"2019-04-29T13:30:18.000Z","size":13692,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-03T07:02:37.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://coopdevs.org/","language":"CSS","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/coopdevs.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}},"created_at":"2018-04-28T14:49:45.000Z","updated_at":"2019-04-29T13:30:19.000Z","dependencies_parsed_at":"2022-09-13T21:00:44.927Z","dependency_job_id":null,"html_url":"https://github.com/coopdevs/slides_template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Fslides_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Fslides_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Fslides_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Fslides_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coopdevs","download_url":"https://codeload.github.com/coopdevs/slides_template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240163633,"owners_count":19758038,"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":[],"created_at":"2024-11-09T04:23:02.103Z","updated_at":"2026-05-31T11:30:17.370Z","avatar_url":"https://github.com/coopdevs.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slides template\n\nThis a template for [Backslide](https://github.com/sinedied/backslide).\nBasically, a bunch of modified Sass from the starter theme Backslide comes with.\n\n![](template.png)\n\nCheck out a [demo](http://coopdevs.org/assemblea_katuma_30_05_2018/).\n\n## Requirements\n\n* npm \u003e= 8.11\n\nCheck [npm installation](https://www.npmjs.com/get-npm) instructions if you don't have it yet.\n\n## Installation\n\nFirst, ensure your presentation project has a `package.json`. You can create one\nrunning `npm init`. This will walk you through the process step by step.\n\nThen, add the `backslide` and `slides_template` dependencies doing\n\n```sh\n$ npm install backslide slides_template --save\n```\n\n## Usage\n\nYou need to provide the `--template` argument when initializing a new\npresentation as follows:\n\n```sh\n$ npx bs init --template node_modules/slides_template/template/\n```\n\nThis will create a `presentation.md` file where you can edit your slides.\n\nThen, watch the resulting presentation live-reload while you work on it by running:\n\n```sh\n$ npx bs serve\n```\n\n### Exporting to PDF\n\nOnce finished, you can export them to PDF with the following command:\n\n```sh\n$ npx bs pdf\n```\n\nCheck out [Backslide's docs](https://github.com/sinedied/backslide#usage) for more details.\n\nThen, it is highly recommended to compress the resulting file as it tends to be large. You can do so with [Ghostscript](https://www.ghostscript.com/).\n\nTo use a rather agressive settings with a high compression rate and thus small file size run:\n\n```sh\nghostscript -sDEVICE=pdfwrite -dPDFSETTINGS=/screen -o pdf/compressed.pdf pdf/presentation.pdf\n```\n\nIf your presentation can't afford compressing images too much with its resulting loss in quaility, like detailed diagrams you can instead run:\n\n```sh\nghostscript -sDEVICE=pdfwrite -dPDFSETTINGS=/default -o pdf/compressed.pdf pdf/presentation.pdf\n```\n\nNote `compressed.pdf` is the output file while `presentation.pdf` is the source.\n\n## Themes\n\nTo choose a different theme, fetch all branches and switch to a theme branch. So far, there is only `green-theme` and `master`, which implements the blue theme shown at the top of this file.\n\nWhile we don't find a better mechanism to handle themes, theme branches need to be kept up to date with changes in `master`, which means that they'll need to be rebased onto `master` as soon as changes happen.\n\n## Troubleshooting\n\nSometimes you might get the following error when running `npx bs init` as described above.\n\n```\nENOENT: no such file or directory, scandir '/home/pau/dev/OFN_sobtec_2019/node_modules/node-sass/vendor'\n```\n\nRunning `npm rebuild node-sass` fixes it.\n\n### Failure installing puppeteer\n\nIf you see the following failure when installing dependencies\n\n```\nnpm WARN optional Skipping failed optional dependency /chokidar/fsevents:\nnpm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.8\nnpm WARN katuma_ofn_information_systems_talk@1.0.0 No repository field.\nnpm ERR! Linux 4.15.0-47-generic\nnpm ERR! argv \"/home/pau/.nodenv/versions/5.12.0/bin/node\" \"/home/pau/.nodenv/versions/5.12.0/bin/npm\" \"install\" \"backslide\" \"slides_template\" \"--save\"\nnpm ERR! node v5.12.0\nnpm ERR! npm  v3.8.6\nnpm ERR! code ELIFECYCLE\n\nnpm ERR! puppeteer@1.12.2 install: `node install.js`\nnpm ERR! Exit status 1\nnpm ERR!\nnpm ERR! Failed at the puppeteer@1.12.2 install script 'node install.js'.\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\n```\n\nit is because you are using and old version of node. Install at least node 8.11 and try again.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoopdevs%2Fslides_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoopdevs%2Fslides_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoopdevs%2Fslides_template/lists"}