Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtemporal/slidesdotcom2pdf
Docker image for genarating a psf from Slides.com presentation
https://github.com/jtemporal/slidesdotcom2pdf
docker docker-image firefox pdf slide
Last synced: 8 days ago
JSON representation
Docker image for genarating a psf from Slides.com presentation
- Host: GitHub
- URL: https://github.com/jtemporal/slidesdotcom2pdf
- Owner: jtemporal
- Created: 2018-07-01T14:08:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-30T23:47:08.000Z (over 5 years ago)
- Last Synced: 2024-12-20T03:11:19.358Z (15 days ago)
- Topics: docker, docker-image, firefox, pdf, slide
- Language: Python
- Homepage: https://hub.docker.com/r/jtemporal/slidesdotcom2pdf
- Size: 485 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slides.com to PDF [![Build Status](https://travis-ci.com/jtemporal/slidesdotcom2pdf.svg?branch=master)](https://travis-ci.com/jtemporal/slidesdotcom2pdf)
A simple script to print out each slide and turn it into a PDF file using Selenium.
## TODOs
Things to improve: Checkout [the open issues](https://github.com/jtemporal/slidesdotcom2pdf/issues)
## Usage
### With Docker
Docker is the recommended way to use this.
```
docker pull jtemporal/slidesdotcom2pdf
docker run --rm --name sdc -v $(pwd)/slides:/tmp/result jtemporal/slidesdotcom2pdf http://slides.com/jtemporal/test
```### Without Docker
```
pip install -r src/requirements.txt
python src/sdc2pdf.py http://slides.com/jtemporal/test
```You'll also need geckodriver and firefox installed:
- for geckodriver:
```
curl -L https://github.com/mozilla/geckodriver/releases/download/v0.19.1/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz | tar xz && sudo mv geckodriver /usr/bin/geckodriver
```- for firefox:
```
curl -L https://download-installer.cdn.mozilla.net/pub/firefox/releases/56.0.2/linux-x86_64/pt-BR/firefox-$FIREFOX_VERSION.tar.bz2 | tar xj && sudo mv firefox /opt/firefox/ && ln -s /opt/firefox/firefox /usr/bin/firefox
```## Development
to build:
```
docker build -t slidesdotcom2pdf .
```