{"id":17636392,"url":"https://github.com/fulldecent/swift6-module-template","last_synced_at":"2025-05-15T18:10:17.392Z","repository":{"id":49335514,"uuid":"68070155","full_name":"fulldecent/swift6-module-template","owner":"fulldecent","description":"An opinionated starting point for awesome, reusable Swift 6 modules","archived":false,"fork":false,"pushed_at":"2025-01-03T05:13:16.000Z","size":356,"stargazers_count":472,"open_issues_count":0,"forks_count":59,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-03-31T23:33:42.706Z","etag":null,"topics":["cocoapods","ios","swift","swift-package-manager","template","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/fulldecent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["fulldecent"],"custom":["https://www.paypal.me/fulldecent","https://amazon.com/hz/wishlist/ls/EE78A23EEGQB"]}},"created_at":"2016-09-13T03:17:48.000Z","updated_at":"2025-03-30T10:22:32.000Z","dependencies_parsed_at":"2024-11-30T20:03:06.576Z","dependency_job_id":"177a54b4-d34c-4201-a967-a99b997de642","html_url":"https://github.com/fulldecent/swift6-module-template","commit_stats":null,"previous_names":["fulldecent/swift4-module-template"],"tags_count":7,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fulldecent%2Fswift6-module-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fulldecent%2Fswift6-module-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fulldecent%2Fswift6-module-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fulldecent%2Fswift6-module-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fulldecent","download_url":"https://codeload.github.com/fulldecent/swift6-module-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247755558,"owners_count":20990620,"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":["cocoapods","ios","swift","swift-package-manager","template","xcode"],"created_at":"2024-10-23T03:00:33.563Z","updated_at":"2025-05-15T18:10:17.384Z","avatar_url":"https://github.com/fulldecent.png","language":"Swift","funding_links":["https://github.com/sponsors/fulldecent","https://www.paypal.me/fulldecent","https://amazon.com/hz/wishlist/ls/EE78A23EEGQB"],"categories":["Boilerplates","CLI and Server"],"sub_categories":["Third party Guides"],"readme":"# Swift 6 Module Template\n\nUse this template as a starting point for any Swift 6 module that you want other people to include in their projects.\n\n**STATUS: This template is ready and works in production code, compatible with Xcode version 16.3 (16E140)**\n\n![Swift 5 Module directory layout](https://github.com/fulldecent/swift5-module-template/assets/382183/1a7965f0-af84-4d00-9bb6-97db76e6e715)\n\n## Features\n\nYour new Swift module will immediately have working, compilable code, and implement these best practices:\n\n- Ability to be used from Swift Package Manager\n- Clean folder structure\n- MIT license\n- Testing as a standard\n- Turnkey access to GitHub Actions testing\n- Semantic versioning and a CHANGELOG\n- Included example/demo app using SwiftUI\n- Use a Xcode project to manage your code\n\n## How to use this\n\nClone or [download a release](https://github.com/fulldecent/swift6-module-template/releases) and run the  `./configure.swift` program. It will ask you some questions and generate a project.\n\nYou then add all the interesting features you want your module to have.\n\n### Automating the configure script\n\nTo skip interactive prompts in the `./configure.swift` script, use these environment variables:\n\n| Template variable                | Environment variable                     |\n| -------------------------------- | ---------------------------------------- |\n| `__PROJECT_NAME__`               | `SMT_PROJECT_NAME`                       |\n| `__ORGANIZATION NAME__`          | `SMT_ORGANIZATION_NAME`                  |\n| `com.AN.ORGANIZATION.IDENTIFIER` | `SMT_COM_AN_ORGANIZATION_IDENTIFIER`     |\n| `__AUTHOR NAME__`                | `SMT_AUTHOR_NAME`                        |\n| `__TODAYS_DATE__`                | `SMT_TODAYS_DATE`                        |\n| `__TODAYS_YEAR__`                | `SMT_TODAYS_YEAR`                        |\n| `__GITHUB_USERNAME__`            | `SMT_GITHUB_USERNAME`                    |\n\nFor example, you may use: `export SMT_ORGANIZATION_NAME='Awesome Org'` before running `./configure.swift`.\n\n## How it works\n\n```mermaid\ngraph LR\n    subgraph Contributors to this project\n    X[Use Xcode] --\u003e R[Update Recipe.md]\n    R --\u003e T[Update template]\n    end\n    T --\u003e C\n    subgraph End users of this project\n    C[Run ./configure.swift] --\u003e M[Use your own module]\n    end\n```\n\n## Contributing\n\nSee the file [Recipe.md](Recipe.md) for the complete steps (e.g. Open Xcode, make new project, click here, type that, …) of how we made the template.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffulldecent%2Fswift6-module-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffulldecent%2Fswift6-module-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffulldecent%2Fswift6-module-template/lists"}