mirror of
https://github.com/NullHypothesis/censorbib.git
synced 2025-07-23 22:51:15 -04:00
The Internet censorship bibliography.
![]() I started with https://github.com/EFForg/https-everywhere commit 2f387958564289e452324c63bc9d60617f432241, then added this pull request (fixes rewriter.js): https://github.com/EFForg/https-everywhere/pull/12487 then further applied this tiny patch to make rewriter.js process a single file, rather than a directory: for (var i = 2; i < process.argv.length; i++) { - processDir(process.argv[i]); + processFile(process.argv[i]); } I then ran these commands (cribbed from a comment in rewriter.js): https-everywhere$ ./makecrx.sh https-everywhere$ cd rewriter https-everywhere$ npm install https-everywhere$ node rewriter.js ~/censorbib/references.bib Signed-off-by: Philipp Winter <phw@nymity.ch> |
||
---|---|---|
Changelog.txt | ||
fetch_pdfs.py | ||
footer.tpl | ||
header.tpl | ||
LICENSE | ||
open-access.png | ||
README.md | ||
references.bib |
Overview
This repository contains the BibTeX file and HTML templates that are used to create the Internet censorship bibliography.
Build it
You first need bibliogra.py
to turn the BibTeX file into an HTML bibliography.
Then, run the following commands to write the bibliography to OUTPUT_DIR
.
$ ./fetch_pdfs.py references.bib OUTPUT_DIR
$ bibliogra.py -H header.tpl -F footer.tpl -f references.bib OUTPUT_DIR
Feedback
Contact: Philipp Winter phw@nymity.ch
OpenPGP fingerprint: B369 E7A2 18FE CEAD EB96 8C73 CF70 89E3 D7FD C0D0