{"id":22962325,"url":"https://github.com/zonble/opencc","last_synced_at":"2025-08-13T06:33:48.647Z","repository":{"id":62449633,"uuid":"216611669","full_name":"zonble/OpenCC","owner":"zonble","description":"OpenCC Pod Spec","archived":false,"fork":false,"pushed_at":"2024-08-13T14:51:01.000Z","size":137,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-18T04:52:01.398Z","etag":null,"topics":[],"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/zonble.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-21T16:13:32.000Z","updated_at":"2024-08-13T14:50:46.000Z","dependencies_parsed_at":"2024-08-13T06:50:37.740Z","dependency_job_id":null,"html_url":"https://github.com/zonble/OpenCC","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2FOpenCC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2FOpenCC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2FOpenCC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2FOpenCC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zonble","download_url":"https://codeload.github.com/zonble/OpenCC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229743813,"owners_count":18117460,"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":[],"created_at":"2024-12-14T19:16:33.579Z","updated_at":"2024-12-14T19:16:34.227Z","avatar_url":"https://github.com/zonble.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCC Pod Spec\n\n[![Actions Status](https://github.com/zonble/OpenCC/workflows/Build/badge.svg)](https://github.com/zonble/OpenCC/actions)\n[![Version](https://img.shields.io/cocoapods/v/OpenCC.svg?style=flat)](https://cocoapods.org/pods/OpenCC)\n[![License](https://img.shields.io/cocoapods/l/OpenCC.svg?style=flat)](https://cocoapods.org/pods/OpenCC)\n[![Platform](https://img.shields.io/cocoapods/p/OpenCC.svg?style=flat)](https://cocoapods.org/pods/OpenCC)\n\nThe project wraps [SwiftyOpenCC](https://github.com/ddddxxx/SwiftyOpenCC) by\n[ddddxxx](https://github.com/ddddxxx) into a [CocoaPods](https://cocoapods.org)\nspec. You can use Swift Package Manager or Carthage to install SwiftyOpenCC,\nhowever, it does not provide a CocoaPods spec, and I want to make my own life\neasier.\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the\nExample directory first.\n\n## Usage\n\nA quick example:\n\n```swift\nimport OpenCC\n\nvar bundle: Bundle? = {\n    let openCCBundle = Bundle(for: ChineseConverter.self)\n    guard let resourceUrl = openCCBundle.url(forResource: \"OpenCCDictionary\", withExtension: \"bundle\") else {\n        return nil\n    }\n    return Bundle(url: resourceUrl)\n}()\n\nlet str = \"鼠标里面的硅二极管坏了，导致光标分辨率降低。\"\nlet converter = try! ChineseConverter(bundle: bundle!, option: [.traditionalize, .TWStandard, .TWIdiom])\nconverter.convert(str)\n// 滑鼠裡面的矽二極體壞了，導致游標解析度降低。\n```\n\n## Requirements\n\n- Latest [Xcode](https://developer.apple.com/xcode/)\n- iOS 11 or above.\n- macOS 10.13 or above.\n- tvOS 11 or above.\n\n## Installation\n\nOpenCC is available through CocoaPods. To install it, simply add the following\nline to your Podfile:\n\n```ruby\npod 'OpenCC'\n```\n\n## Author\n\nzonble, zonble@gmail.com\n\n## License\n\nOpenCC is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonble%2Fopencc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzonble%2Fopencc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonble%2Fopencc/lists"}