Skip to content

This small library provides a data format used for temporarily persisting the exported data from the Factorio game to the disk to later import it into the actual database.

License

Notifications You must be signed in to change notification settings

factorio-item-browser/export-data

Repository files navigation

Factorio Item Browser

Export Data Library

GitHub release (latest SemVer) GitHub build Codecov

This library provides a data structure used to persist all the exported data from the Factorio game to the disk to later upload it to the server and import it into the actual database.

This persistence layer is required because the export gets executed on a local machine (able to run Factorio), which does not have access to the database on the server. This library simplifies uploading all the data (of which most are the icon images) and reading it into the importer script.

The data itself is saved in a single JSON file. The library puts this file into a zip archive, and adds all the rendered icon files to it as well, creating a single zip file as upload. All this is managed by the ExportDataService, which is the main entry point for the library.

About

This small library provides a data format used for temporarily persisting the exported data from the Factorio game to the disk to later import it into the actual database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages