spiwn / FactorioApiScraper

A small script that goes through the Factorio API documentation html and exports a json intented to be used by autocomplete extensions such as https://github.com/simonvizzini/vscode-factorio-lua-api-autocomplete
MIT License
3 stars 1 forks source link
autocomplete-extensions factorio vscode

FactorioApiScraper

A small script that goes through the Factorio API documentation html and exports JSON intended to be used by autocomplete extensions such as https://github.com/simonvizzini/vscode-factorio-lua-api-autocomplete

Usage

Generate defines.json and classes.json files by executing one of the following:

Via python

Via docker

# optional: docker build -t cdaringe/factorio-api-scraper .
docker run --rm -v $PWD:/app cdaringe/factorio-api-scraper