Added Mod and server downloader #1

Merged
Raum0x2A merged 8 commits from develop into main 2026-05-04 13:47:19 +00:00
Owner

Added ability to download mod from mod-list.json as well as ability to automatically download the headless server. 2 new config vars must be set in config.yml: username, apikey. Both can be found on factorio.com

Added ability to download mod from mod-list.json as well as ability to automatically download the headless server. 2 new config vars must be set in config.yml: username, apikey. Both can be found on factorio.com
Raum0x2A added 8 commits 2026-05-04 13:46:27 +00:00
- Cleaned up func main()
- Separated config into two sections server and factoryman
- Updated backup.go to reflect changes to config file
- Updated config.go to reflect changes to config.yml as well as added a check to paths in config.yml
- Updated launch.go to reflect changes to config
move cli handler from main to cli.go
Read from mod-list.json in mod dir and download each mod in list.
This requires reading from factorio mod portal api, and extracting download url and calling it with username and api token.

new field in config.yml username and apitoken, is needed to download mod files from mod.factorio.com
till working on improvements to code this more like
a savepoint.
Spelling error
modified headlessQuery string removing Sprint
Raum0x2A merged commit 783008bfb6 into main 2026-05-04 13:47:19 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Raum0x2A/factoryman#1