{"id":25407692,"url":"https://github.com/simplisticated/SwiftyLawyer","last_synced_at":"2025-10-31T03:30:33.393Z","repository":{"id":62456918,"uuid":"138435379","full_name":"simplisticated/SwiftyLawyer","owner":"simplisticated","description":"Software licenses made in Swift","archived":false,"fork":false,"pushed_at":"2018-08-31T21:09:28.000Z","size":3992,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-01T16:16:23.927Z","etag":null,"topics":["license","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplisticated.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}},"created_at":"2018-06-23T21:39:06.000Z","updated_at":"2021-12-23T22:19:16.000Z","dependencies_parsed_at":"2022-11-01T23:33:49.145Z","dependency_job_id":null,"html_url":"https://github.com/simplisticated/SwiftyLawyer","commit_stats":null,"previous_names":["igormatyushkin014/swiftylawyer"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplisticated%2FSwiftyLawyer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplisticated%2FSwiftyLawyer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplisticated%2FSwiftyLawyer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplisticated%2FSwiftyLawyer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplisticated","download_url":"https://codeload.github.com/simplisticated/SwiftyLawyer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239098179,"owners_count":19581183,"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":["license","swift"],"created_at":"2025-02-16T07:18:00.265Z","updated_at":"2025-10-31T03:30:27.874Z","avatar_url":"https://github.com/simplisticated.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\" \u003e\n\t\u003cimg src=\"/Images/logo_2048_2048.png\" alt=\"Degree\" title=\"Degree\" width=\"300px\" height=\"300px\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://swift.org\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/badge/Swift-4.0-orange.svg?style=flat\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://cocoapods.org\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/cocoapods/v/SwiftyLawyer.svg\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://cocoapods.org\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/cocoapods/dt/SwiftyLawyer.svg\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://tldrlegal.com/license/mit-license\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=flat\"\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n## At a Glance\n\n`SwiftyLawyer` is a tool for generating license text.\n\n## How To Get Started\n\n- Copy content of `Source` folder to your project.\n\nor\n\n- Use `SwiftyLawyer` cocoapod\n\n## Requirements\n\n* iOS 9 and later\n* Xcode 9 and later\n* Swift 4\n\n## Usage\n\nFirst of all, we have to retrieve `Credentials`:\n\n```swift\nlet credentials = Credentials(\n    holder: \"John Appleseed\",\n    year: 2018\n)\n```\n\nThen, we can get a text of the preferrable license:\n\n```swift\nLicense.mit.text(with: credentials)\nLicense.apache.text(with: credentials)\n// etc.\n```\n\nLicense text will include holder name and other information from `Credentials`.\n\nCurrently supported licenses are:\n- MIT\n- Apache v2.0\n\n## License\n\n`Degree` is available under the MIT license. See the [LICENSE](./LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplisticated%2FSwiftyLawyer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplisticated%2FSwiftyLawyer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplisticated%2FSwiftyLawyer/lists"}