No description
| buildSrc | ||
| docs/notes | ||
| gradle | ||
| modules | ||
| .gitignore | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle.kts | ||
- output events from Factorio into Kafka.
- Factorio mod listens to events.
- For each event, it emits a file.
- A Kafka Connector consumes each file.
- Factorio Web Map reads data from Kafka
- converts data to images
- hosts a web map
License
While this project is under development, no license is provided.
todo
- add settings
- is active - whether files are exported or not
- delete files - clean up all files
- tick-rate - how often reports are generated
- requires on some sort of in-mod cache of map<entity-id, event>
- also divide by game-speed? to keep ratio the same
to investigate:
-
https://square.github.io/okio/#communicate-on-a-socket-javakotlin
-
https://opensource.expediagroup.com/graphql-kotlin/docs/server/spring-server/spring-subscriptions
wasm
kt -> wasm -> lua? kt-flatbuffers -> wasm -> lua?
https://www.npmjs.com/package/wasm2lua?activeTab=readme
flatbuffers
https://github.com/dvidelabs/flatcc
z85 encoding
- Kotlin https://gist.github.com/ischumacher/b4929f26341ebef62cbce35c65543eda
- Lua https://web-eworks.github.io/lZ85/
CBOR
https://www.zash.se/lua-cbor.html https://code.zash.se/lua-cbor/archive/68b3a36d0816.tar.gz