{"id":15680984,"url":"https://github.com/figsoda/pactorio","last_synced_at":"2026-02-26T07:08:55.048Z","repository":{"id":37904039,"uuid":"218095943","full_name":"figsoda/pactorio","owner":"figsoda","description":"Mod packager for Factorio","archived":false,"fork":false,"pushed_at":"2024-05-15T16:19:53.000Z","size":945,"stargazers_count":12,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T00:34:01.080Z","etag":null,"topics":["cli","command-line","factorio","factorio-mod","factorio-tool","hacktoberfest","packager","portal","publish","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/pactorio","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/figsoda.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-10-28T16:32:48.000Z","updated_at":"2025-01-16T18:47:43.000Z","dependencies_parsed_at":"2024-01-17T01:13:03.081Z","dependency_job_id":"9d4fb7c5-d3f5-4ff0-9fac-d21bd4d90c0d","html_url":"https://github.com/figsoda/pactorio","commit_stats":{"total_commits":624,"total_committers":2,"mean_commits":312.0,"dds":0.3157051282051282,"last_synced_commit":"38df4788c0667e7f08bf9ea541c5163b7069c36d"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/figsoda%2Fpactorio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/figsoda%2Fpactorio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/figsoda%2Fpactorio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/figsoda%2Fpactorio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/figsoda","download_url":"https://codeload.github.com/figsoda/pactorio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688569,"owners_count":21145766,"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":["cli","command-line","factorio","factorio-mod","factorio-tool","hacktoberfest","packager","portal","publish","rust"],"created_at":"2024-10-03T16:47:55.184Z","updated_at":"2026-02-26T07:08:50.029Z","avatar_url":"https://github.com/figsoda.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pactorio\n\n[![release](https://img.shields.io/github/v/release/figsoda/pactorio?logo=github\u0026style=flat-square)](https://github.com/figsoda/pactorio/releases)\n[![version](https://img.shields.io/crates/v/pactorio?logo=rust\u0026style=flat-square)][crate]\n[![deps](https://deps.rs/repo/github/figsoda/pactorio/status.svg?style=flat-square\u0026compact=true)](https://deps.rs/repo/github/figsoda/pactorio)\n[![license](https://img.shields.io/badge/license-MPL--2.0-blue?style=flat-square)](https://www.mozilla.org/en-US/MPL/2.0)\n[![ci](https://img.shields.io/github/actions/workflow/status/figsoda/pactorio/ci.yml?label=ci\u0026logo=github-actions\u0026style=flat-square)](https://github.com/figsoda/pactorio/actions?query=workflow:ci)\n\nMod packager for [Factorio](https://factorio.com)\n\n\n## Installation\n\n[![repology](https://repology.org/badge/vertical-allrepos/pactorio.svg)](https://repology.org/project/pactorio/versions)\n\nThe latest precompiled binaries are available on [github](https://github.com/figsoda/pactorio/releases/latest).\n\nAlternatively you can install pactorio from [crates.io][crate] with cargo.\n\n```sh\ncargo install pactorio\n```\n\n\n## Building from source\n\n```sh\ncargo build --release\n```\n\n\n## Usage\n\n```sh\npactorio [FLAGS] [OPTIONS]\n```\n\noption | description\n-|-\n-c, --compact | Output info.json compactly\n-z, --zip | Output a zip file instead\n--compression \\\u003cmethod\u003e | Specify the compression method, ignored without the `-z/--zip` flag \u003cbr /\u003e default: stored \u003cbr /\u003e possible values: stored, bzip2, deflate, zstd\n-d, --dir \\\u003cdirectory\u003e | Set working directory\n-i, --input \\\u003cfile\u003e | Specify the config file to use \u003cbr /\u003e default: pactorio.toml\n-o, --output \\\u003cdirectory\u003e | Specify the output directory \u003cbr /\u003e default: release\n-u, --upload [\\\u003capi-key\u003e] | Upload to mod portal \u003cbr /\u003e Requires an API key, which can be created on \u003chttps://factorio.com/profile\u003e\n-h, --help | Prints help information (use `-h` for a summary)\n-V, --version | Prints version information\n\n\n## Configuration\n\nBy default, pactorio uses `pactorio.toml` as its config file.\n\nIt is similar to the `info.json` file and uses [TOML](https://toml.io) syntax.\n\nHere is an example of a pactorio config file.\n\n```toml\n# Information about your package, similar to info.json\n# https://wiki.factorio.com/Tutorial:Mod_structure#info.json\n[package]\n\n# Mandatory, internal name of your mod\nname = \"example_mod\"\n\n# Mandatory, version of your mod, \"main.major.minor\"\nversion = \"0.1.0\"\n\n# Mandatory, display name of your mod\ntitle = \"Example mod\"\n\n# Mandatory, author of your mod, You\nauthor = \"You\"\n\n# Optional, for example your email address\ncontact = \"you@example.com\"\n\n# Optional, link to the homepage of your mod\nhomepage = \"https://you.example.com\"\n\n# Optional, short description of your mod\ndescription = \"Example mod. Does something and some other things. \"\n\n# Optional, default: \"0.12\", usually needs to be added\nfactorio_version = \"1.0\"\n\n\n\n# Dependencies are separated into four parts, All four of them are optional\n# They are under a table named \"deps\", you can also use \"dependencies\"\n\n\n# Required dependencies\n[deps.required]\n\n# Same as \"base \u003e= 1.0\" in info.json\nbase = \"\u003e= 1.0\"\n\n\n# Conflict or incompatible dependencies\n[deps.conflict] # or [deps.incompatible]\n\n# Same as \"! bad_mod\" in info.json\nbad_mod = \"\"\n\n# Same as \"! incomp \u003c 3\" in info.json\nincomp = \"\u003c 3\"\n\n\n# Optional dependencies\n[deps.optional]\n\n# Same as \"opt_dep = 0.2.1\" in info.json\nopt_dep = \"= 0.2.1\"\n\n\n# Hidden optional dependencies\n[deps.hidden]\n\n# Same as \"hidden_dep \u003e 2.0\" in info.json\nhidden_dep = \"\u003e 2.0\"\n\n\n\n# Optional, source directory\n[source]\n\n# Pactorio will use all the files under this directory\n# Optional, default: \"src\"\ndir = \"src\"\n\n# A list of glob patterns to represent the files to include\n# Relative to your source directory\n# Optional, default: [\"**/**\"]\ninclude = [\"**/**\"]\n\n# A list of glob patterns to represent the files to ignore\n# Relative to your source directory\n# Optional, default: []\nignore = []\n```\n\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md)\n\n\n[crate]: https://crates.io/crates/pactorio\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffigsoda%2Fpactorio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffigsoda%2Fpactorio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffigsoda%2Fpactorio/lists"}