{"id":13465737,"url":"https://github.com/ninjaprox/Inkwell","last_synced_at":"2025-03-25T16:32:46.214Z","repository":{"id":56915485,"uuid":"86986003","full_name":"ninjaprox/Inkwell","owner":"ninjaprox","description":"An inkwell to use custom fonts on the fly.","archived":false,"fork":false,"pushed_at":"2018-03-22T00:24:47.000Z","size":1298,"stargazers_count":154,"open_issues_count":2,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-16T08:02:06.630Z","etag":null,"topics":["font","fonts","google-fonts","inkwell","uifont"],"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/ninjaprox.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-04-02T12:53:00.000Z","updated_at":"2024-05-30T07:08:45.000Z","dependencies_parsed_at":"2022-08-20T20:50:39.110Z","dependency_job_id":null,"html_url":"https://github.com/ninjaprox/Inkwell","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjaprox%2FInkwell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjaprox%2FInkwell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjaprox%2FInkwell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjaprox%2FInkwell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ninjaprox","download_url":"https://codeload.github.com/ninjaprox/Inkwell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245500459,"owners_count":20625586,"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":["font","fonts","google-fonts","inkwell","uifont"],"created_at":"2024-07-31T15:00:34.615Z","updated_at":"2025-03-25T16:32:45.874Z","avatar_url":"https://github.com/ninjaprox.png","language":"Swift","funding_links":[],"categories":["Libs","Fonts [🔝](#readme)"],"sub_categories":["Fonts"],"readme":"# Inkwell\n\n[![CI Status](http://img.shields.io/travis/ninjaprox/Inkwell.svg?style=flat)](https://travis-ci.org/ninjaprox/Inkwell)\n[![Version](https://img.shields.io/cocoapods/v/Inkwell.svg?style=flat)](http://cocoapods.org/pods/Inkwell)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![License](https://img.shields.io/cocoapods/l/Inkwell.svg?style=flat)](http://cocoapods.org/pods/Inkwell)\n[![Platform](https://img.shields.io/cocoapods/p/Inkwell.svg?style=flat)](http://cocoapods.org/pods/Inkwell)\n\n## Introduction\n\nIn brief, _Inkwell_ is a font library to use custom fonts on the fly. _Inkwell_ takes responsibilities for:\n- [x] Downloading fonts from Google Fonts or custom resources.\n- [x] Registering custom fonts to the system.\n- [x] Loading and using custom fonts dynamically and seamlessly.\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the `Example` directory first.\n\n![alt tag](https://raw.githubusercontent.com/ninjaprox/Inkwell/master/Demo.gif)\n\n## Installation\n\n### CocoaPods\n\nInstall [CocoaPods](https://cocoapods.org) if need be.\n\n```bash\n$ gem install cocoapods\n```\n\nAdd `Inkwell` in your `Podfile`.\n\n```ruby\nuse_frameworks!\n\npod 'Inkwell'\n```\n\nRun the following command.\n\n```bash\n$ pod install\n```\n### Carthage\n\nInstall [Carthage](https://github.com/Carthage/Carthage) if need be.\n\n```bash\n$ brew update\n$ brew install carthage\n```\n\nAdd `Inkwell` in your `Cartfile`.\n\n```ruby\ngithub \"ninjaprox/Inkwell\"\n```\n\nRun `carthage` to build the framework and drag the built `Inkwell.framework` into your Xcode project.\n\n## Usage\n\nFirstly, set the Google API key in the app delegate.\n\n```swift\nfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -\u003e Bool {\n    Inkwell.shared.APIKey = \"paste your key here\"\n}\n```\n\nNow you are ready to use _Inkwell_ with only one API to remember.\n\n```swift\nlet font = Font(family: \"ABeeZee\" variant: .regular)\nlet fontSize = 27\nInkwell.shared.font(for: font, size: fontSize) { uifont in\n    // Do something with the `uifont`.\n}\n```\n\n_**Note:** Do not forget to `import Inkwell` in any file using Inkwell._\n\n## Documentation\n\nFor full API documentation, please check [Inkwell's documentation](http://cocoadocs.org/docsets/Inkwell).\n\n## Dependency\n\n- [Alamofire](https://github.com/Alamofire/Alamofire)\n\n## License\n\n_Inkwell_ is available under the MIT license. See the [LICENSE](https://github.com/ninjaprox/Inkwell/blob/master/LICENSE) file for more info.\n\nCopyright (c) 2017 Vinh Nguyen [@ninjaprox](http://twitter.com/ninjaprox)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninjaprox%2FInkwell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninjaprox%2FInkwell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninjaprox%2FInkwell/lists"}