Skip to content

cuducos/pwned-antifas

Repository files navigation

Pwned Antifas

The app works off-line and is just two files: dist/index.html and dist/app.js.

Requirements

  • Python 3.8 with Poetry to read the names and generates the hashes from the PDF source
  • java available in your system Path (since we use Apache Tika's Python wrapper to convert PDF to text)
  • NodeJS with npm for the front-end

Installing dependencies

$ poetry install
$ npm install

Creating dist/index.html

$ poetry run python create_html.py <PATH TO PDF FILE>

Creating dist/app.js

$ npm run build

Loading the app

$ open dist/index.html

For Elm developers

$ npm start