{"id":20711172,"url":"https://github.com/cypherpoet/swift-package-template","last_synced_at":"2025-04-23T06:21:40.535Z","repository":{"id":41457420,"uuid":"245899478","full_name":"CypherPoet/swift-package-template","owner":"CypherPoet","description":"A starter template for Swift Package Manager projects.","archived":false,"fork":false,"pushed_at":"2022-10-30T15:58:17.000Z","size":2627,"stargazers_count":23,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T22:31:31.955Z","etag":null,"topics":["github-templates","hacktoberfest","modular-code","spm","spm-templates","swift","swift-framework","swift-package-manager","swift-package-templates","swift-world-domination","templates","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/CypherPoet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://tippin.me/@cypher_poet","https://zbd.gg/Cypherpoet"]}},"created_at":"2020-03-08T22:40:11.000Z","updated_at":"2025-01-01T01:10:37.000Z","dependencies_parsed_at":"2023-01-20T01:32:32.358Z","dependency_job_id":null,"html_url":"https://github.com/CypherPoet/swift-package-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CypherPoet%2Fswift-package-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CypherPoet%2Fswift-package-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CypherPoet%2Fswift-package-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CypherPoet%2Fswift-package-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CypherPoet","download_url":"https://codeload.github.com/CypherPoet/swift-package-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250380555,"owners_count":21420971,"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":["github-templates","hacktoberfest","modular-code","spm","spm-templates","swift","swift-framework","swift-package-manager","swift-package-templates","swift-world-domination","templates","xcode"],"created_at":"2024-11-17T02:14:17.208Z","updated_at":"2025-04-23T06:21:40.512Z","avatar_url":"https://github.com/CypherPoet.png","language":"Swift","funding_links":["https://tippin.me/@cypher_poet","https://zbd.gg/Cypherpoet"],"categories":[],"sub_categories":[],"readme":"# MyLibraryName\n\n\u003c!-- Header Logo --\u003e\n\n\u003c!--\n\u003cdiv align=\"center\"\u003e\n   \u003cimg width=\"600px\" src=\"./Sources/MyLibraryName/MyLibraryName.docc/Resources/Images/banner-logo.png\" alt=\"Banner Logo\"\u003e\n\u003c/div\u003e\n\n --\u003e\n\n\n\u003c!-- Badges --\u003e\n\n\u003cp\u003e\n\n  [![Swift Version Compatibility](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FCypherPoet%2FMyLibraryName%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/CypherPoet/MyLibraryName)\n\n  [![Swift Platform Compatibility](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FCypherPoet%2FMyLibraryName%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/CypherPoet/MyLibraryName)\n\n\u003c/p\u003e\n\n\n\u003cp\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" /\u003e\n    \u003cimg src=\"https://github.com/CypherPoet/MyLibraryName/workflows/Build%20\u0026%20Test/badge.svg\" /\u003e\n    \u003ca href=\"https://github.com/apple/swift-package-manager\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/spm-compatible-brightgreen.svg?style=flat\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://twitter.com/cypher_poet\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Contact-@cypher_poet-lightgrey.svg?style=flat\" alt=\"Twitter: @cypher_poet\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n\n_[ A brief synopsis of this library ]._\n\n\u003c/p\u003e\n\n\n## Installation\n\n### Xcode Projects\n\nSelect `File` -\u003e `Swift Packages` -\u003e `Add Package Dependency` and enter `https://github.com/CypherPoet/MyLibraryName`.\n\n### Swift Package Manager Projects\n\nYou can add `MyPackageName` as a package dependency in your `Package.swift` file:\n\n```swift\nlet package = Package(\n    //...\n    dependencies: [\n        .package(\n            url: \"https://github.com/CypherPoet/MyLibraryName\",\n            exact: \"0.0.1\"\n        ),\n    ],\n    //...\n)\n```\n\n\u003c!-- 🔑 UNCOMMENT THE INSTRUCTIONS BELOW IF THE GITHUB REPO NAME MATCHES THE PACKAGE NAME 👇 --\u003e\n\n\u003c!--\n\nFrom there, refer to `MyLibraryName` as a \"target dependency\" in any of _your_ package's targets that need it.\n\n```swift\ntargets: [\n    .target(\n        name: \"YourLibrary\",\n        dependencies: [\n          \"MyLibraryName\",\n        ],\n        ...\n    ),\n    ...\n]\n```\n\n--\u003e\n\n\u003c!-- 🔑 UNCOMMENT THE INSTRUCTIONS BELOW IF THE GITHUB REPO NAME DOESN'T MATCH THE PACKAGE NAME 👇 --\u003e\n\nFrom there, refer to the `MyLibraryName` \"product\" delivered by the `MyPackageName` \"package\" inside of any of your project's target dependencies:\n\n```swift\ntargets: [\n    .target(\n        name: \"YourLibrary\",\n        dependencies: [\n            .product(\n                name: \"MyLibraryName\",\n                package: \"MyPackageName\"\n            ),\n        ],\n        ...\n    ),\n    ...\n]\n```\n\n\u003c!-- Proceed from above choice accordingly (and delete this comment) --\u003e\n\nThen simply `import MyLibraryName` wherever you’d like to use it.\n\n\u003c!--\n    🔑 UNCOMMENT THE INSTRUCTIONS BELOW IF USING THE `@_exported` feature\n    might be handy. 👇\n--\u003e\n\n\u003c!-- **📝 Note:** To make the library available to your entire project, you could also leverage the [functionality of the `@_exported` keyword](https://forums.swift.org/t/package-manager-exported-dependencies/11615) by placing the following line somewhere at the top level of your project:\n\n```swift\n@_exported import MyLibraryName\n``` --\u003e\n\n## Usage\n\n## 🗺 Roadmap\n\n- World Domination\n\n## 💻 Developing\n\n### Requirements\n\n- Xcode 14.0+\n\n### ✍️ Building The Documentation\n\nDocumentation is built with [DocC](https://developer.apple.com/documentation/docc) (see [Apple's guidance for more details about creating DocC content](https://developer.apple.com/documentation/docc/api-reference-syntax)).\n\nTo build and preview the documentation output, follow the instructions for the [here](https://github.com/apple/swift-docc-plugin#previewing-documentation) for the `Swift-DocC Plugin`.\n\nIf you're using VSCode, there's also a [task configuration](./.vscode/tasks.json) that will handle this directly from the editor 💪\n\n## 🏷 License\n\n`MyPackageName` is available under the MIT license. See the [LICENSE file](./LICENSE) for more info.\n\n## Steps For Using This Template\n\n- [ ] Rename instances of `MyLibraryName` to the library's product name.\n- [ ] Rename files and directories with names of `MyLibraryName` to the library's product name.\n- [ ] Rename instances of `MyPackageName` to the library's Swift package name.\n- [ ] Update supported platforms in `Package.swift` and in this README's badges as appropriate.\n- [ ] Replaces instances of `[ A brief synopsis of this library ]` with the library's short description.\n- [ ] Delete this section.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcypherpoet%2Fswift-package-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcypherpoet%2Fswift-package-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcypherpoet%2Fswift-package-template/lists"}