🍺 BREW Explorer

← all formulae

configen

brew install configen v1.1.2 MIT

Configuration file code generator for use in Xcode projects

2
30-day installs · #12956
6
90-day · #13947
35
365-day · #12153
157
★ GitHub stars · updated 5y ago

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Configuration file code generator for use in Xcode projects",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:34+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "configen",
  "github_default_branch": "main",
  "github_last_commit_at": "2020-09-15T10:24:37Z",
  "github_readme_excerpt": "![Configen - Kin + Carta Create](Assets/logo.png)\n\n# configen\n\nA command line tool to auto-generate configuration file code, for use in Xcode projects. To read about the motivation behind this project and the scenarios in which it might be used see our [blog post](https://www.theappbusiness.com/insights/a-robust-multi-environment-build-setup). \n\nThe `configen` tool is used to auto-generate configuration code from a property list. It is intended to\ncreate the kind of configuration needed for external URLs or API keys used by your app. Currently supports both Swift and Objective-C code generation.\n\n# Installation\n\nTo add the `configen` tool to your project you must first aquire the `configen` excecutable binary. The simplest way to do this is to download the executable binary from the latest release.\n\nAlternatively you can download or clone this repository. Once you have done so, open and build the `configen.xcodeproj` project in Xcode, right click on the `configen` product and select \u2018Show in Finder\u2019.\n\nOnce you have the executable file, make a copy and add it to the root directory of your project. Now you are ready to go! Next you need to create the relevant files and set-up your project accordingly. This is outlined below.\n\n# Usage\n\n## Step 1: The mapping file\n\nBefore running the `configen` tool, you need to create a mapping file (.map), in which you define the configuration variables you support. For example:\n\n```swift\nentryPointURL : URL\nenableFileSharing : Bool\nretryCount : Int\nadUnitPrefix : String\nanalyticsKey : String\narrayOfHashes: [String]\nenvironment : Environment\n```\n\nThe `configen` mapping file uses a custom set of types which map to Swift types. Therefore for Objective-C code generation, you must still use Swift equivalent types in the mapping file.\n\n## Step 2: A plist for each environment\n\nThen you need to create a property list (plist) file, in which you provide values for each of the keys defined in your mapping file, above. You need to create a prope",
  "github_repo": "theappbusiness/ConfigGenerator",
  "github_stars": 157,
  "github_topics": [],
  "homepage": "https://github.com/theappbusiness/ConfigGenerator",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 2,
  "installs_365d": 35,
  "installs_90d": 6,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "configen",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 12956,
  "rank_365d": 12153,
  "rank_90d": 13947,
  "raw_hash": "4ee24dc51a386bf0",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/c/configen.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.1.2",
  "versioned_formulae": [],
  "why_use_this": null
}