Sources of the gafam.info web page
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
htdocs
src
.bumpversion.cfg
.gitignore
CHANGES.rst
LICENSE
Makefile
README.rst
TODO.rst
package.json
webpack.config.js
webpack.develop.config.js
webpack.release.config.js

README.rst


www.gafam.info

About

This repository contains the sources of the gafam.info web page.

It is about collecting, maintaining and promoting translations of the GAFAM poster campaign by La Quadrature du Net.

The web page and its accompanying repository gafam-poster-translations are intended to support the lovely people of LQDN in spreading the word about their campaign.

Contributions are always welcome!

How to work with it

Bundle Javascript and CSS assets using webpack:

yarn install
yarn run build

Watch files for rebundling:

yarn run watch

Have a look:

open ./htdocs/index.html

Create thumbnail image from poster PDF

# Just a workbench
mkdir tmp; cd tmp

# Acquire PDF file
wget https://ptrace.gafam.info/upstream/pdf/lqdn-gafam-poster-de.pdf

# Layout multiple pages in matrix
pdfnup --nup 2x3 --landscape=true --no-tidy lqdn-gafam-poster-de.pdf

# Convert to GIF format appropriately
convert -units PixelsPerInch lqdn-gafam-poster-de-nup.pdf -density 72 -trim +repage -resize 595x gafam-german-card.gif

# Copy to target directory
cp gafam-german-card.gif ../htdocs/static/img/

Download MP4 video from Twitter

# Just a workbench
mkdir tmp; cd tmp

# youtube-dl does it all ;]
youtube-dl --output 'lqdn-gafam-paris.mp4' https://twitter.com/laquadrature/status/944148790684069888

# Upload to content web space
make ptrace source=lqdn-gafam-paris.mp4