The third iteration of this godforsaken piece of junk
- Less and lighter dependencies
- New design
- Fast
- Server side rendering
- Poppler (provides the
pdftotext
executable) - ImageMagick (provides the
convert
executable) - Go 1.18+
- To retrieve all past papers run with
--papers
flag - To reindex all past papers run with
--index
flag - To start the web server run with no flags
MANGLE_KEY
environment variable is a secret key to prevent scraping from server
SEARCH_THRESHOLD
environment variable specifies the % of words that have to match for a search to come as valid
Example .env
PAPER_CONFIG=papers.json
PAPER_FOLDER=_pastpapers
MANGLE_KEY=secret
SEARCH_THRESHOLD=80
HTTP_PORT=8080
- HTTPS support
- Better design
- Support for more subjects, exams and exam boards