{"id":26217249,"url":"https://github.com/moeru-ai/airi-factorio","last_synced_at":"2025-04-15T21:51:26.241Z","repository":{"id":272958699,"uuid":"918230683","full_name":"moeru-ai/airi-factorio","owner":"moeru-ai","description":"Helper for アイリ to play Factorio with you.","archived":false,"fork":false,"pushed_at":"2025-02-17T17:28:47.000Z","size":295,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T22:02:26.954Z","etag":null,"topics":["ai","factorio","factorio-mod","llm","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moeru-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-17T14:07:50.000Z","updated_at":"2025-02-17T17:28:49.000Z","dependencies_parsed_at":"2025-02-03T09:28:18.143Z","dependency_job_id":"f7f32988-4342-4c48-8939-f903ed5c423a","html_url":"https://github.com/moeru-ai/airi-factorio","commit_stats":null,"previous_names":["lemonnekogh/autorio.ts","moeru-ai/airi-factorio"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeru-ai%2Fairi-factorio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeru-ai%2Fairi-factorio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeru-ai%2Fairi-factorio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeru-ai%2Fairi-factorio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moeru-ai","download_url":"https://codeload.github.com/moeru-ai/airi-factorio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249161104,"owners_count":21222468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","factorio","factorio-mod","llm","typescript"],"created_at":"2025-03-12T12:20:28.498Z","updated_at":"2025-04-15T21:51:26.225Z","avatar_url":"https://github.com/moeru-ai.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# airi-factorio\n\nHelper for アイリ to play Factorio with you.\n\n\u003e [!NOTE]\n\u003e\n\u003e This project is part of the [Project アイリ (Airi)](https://github.com/moeru-ai/airi), we aim to build a LLM-driven VTuber like [Neuro-sama](https://www.youtube.com/@Neurosama) (subscribe if you didn't!), if you are interested in, please do give it a try on [live demo](https://airi.moeru.ai).\n\n## Development\n\n### Project Structure\n\nIt's hard to describe the project structure in a few words, but it currently looks like this:\n\n\u003cdiv style=\"max-width: 500px; margin: 0 auto;\"\u003e\n\n![project-structure](./project-structure.png)\n\n\u003c/div\u003e\n\n### Start to develop\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/moeru-ai/airi-factorio\n    ```\n\n2. Install dependencies:\n\n    ```bash\n    pnpm i\n    ```\n\n3. Create a symlink for the `autorio` mod:\n\n    ```bash\n    cd /path/to/airi-factorio\n\n    ln -s /path/to/airi-factorio/packages/autorio/dist /path/to/factorio/data/autorio\n    # If you are using DevContainer, you can use the following command:\n    ln -s /workspace/airi-factorio/packages/autorio/dist /opt/factorio/data/autorio\n    ```\n\n4. Copy and fill the `.env` file:\n\n    ```bash\n    cp packages/agent/.env.example packages/agent/.env.local\n    cp packages/factorio-wrapper/.env.example packages/factorio-wrapper/.env.local\n    ```\n\n    If you are using DevContainer, you can set `WS_SERVER_HOST` and `FACTORIO_WS_HOST` and `RCON_API_SERVER_HOST` to `localhost`.\n\n5. Create a game save file, the save file path should be the same as the one in the `.env` file:\n\n    ```bash\n    /path/to/factorio/bin/x64/factorio --create /path/to/factorio/saves/save.zip\n    # If you are using DevContainer, you can use the following command:\n    /opt/factorio/bin/x64/factorio --create /path/to/factorio/saves/save.zip\n    # If your machine is not x64, you can use the following command:\n    box64 /opt/factorio/bin/x64/factorio --create /path/to/factorio/saves/save.zip\n    ```\n\n6. Run the development script:\n\n    ```bash\n    pnpm run dev\n    ```\n\nNow you can use the commands in Factorio, the script will be compiled automatically, but you need to exit and re-enter the game to see the changes(no need to restart the game).\n\n## Credits\n\nThanks for the original idea and code: https://github.com/naklecha/factorio-automation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoeru-ai%2Fairi-factorio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoeru-ai%2Fairi-factorio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoeru-ai%2Fairi-factorio/lists"}