{"id":18403174,"url":"https://github.com/dfreniche/swiftfiglet","last_synced_at":"2026-03-05T23:14:54.619Z","repository":{"id":69521588,"uuid":"262384304","full_name":"dfreniche/SwiftFiglet","owner":"dfreniche","description":"A Swift library to read and display banner like ASCII art messages using Figlet fonts","archived":false,"fork":false,"pushed_at":"2020-05-13T15:59:34.000Z","size":1385,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T01:44:32.718Z","etag":null,"topics":["cli","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dfreniche.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-05-08T17:18:48.000Z","updated_at":"2024-12-18T05:30:32.000Z","dependencies_parsed_at":"2023-02-22T23:31:01.363Z","dependency_job_id":null,"html_url":"https://github.com/dfreniche/SwiftFiglet","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfreniche%2FSwiftFiglet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfreniche%2FSwiftFiglet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfreniche%2FSwiftFiglet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfreniche%2FSwiftFiglet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfreniche","download_url":"https://codeload.github.com/dfreniche/SwiftFiglet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248878591,"owners_count":21176340,"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":["cli","swift"],"created_at":"2024-11-06T02:46:06.464Z","updated_at":"2025-10-18T07:05:20.829Z","avatar_url":"https://github.com/dfreniche.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftFigletKit\n\n```\n  #####                                 #######                                        #    #           \n #     #  #    #  #  ######  #####      #        #   ####   #       ######  #####      #   #   #  ##### \n #        #    #  #  #         #        #        #  #    #  #       #         #        #  #    #    #   \n  #####   #    #  #  #####     #        #####    #  #       #       #####     #        ###     #    #   \n       #  # ## #  #  #         #        #        #  #  ###  #       #         #        #  #    #    #   \n #     #  ##  ##  #  #         #        #        #  #    #  #       #         #        #   #   #    #   \n  #####   #    #  #  #         #        #        #   ####   ######  ######    #        #    #  #    #   \n```\n\nA simple library to read and display [banner](https://en.wikipedia.org/wiki/Banner_(Unix)) like ASCII art messages using [Figlet](http://www.figlet.org/) fonts \n\n## Installation\n\n- Add FigletKit to your project using Swift Package Manager. From Xcode add this repo as a package.\n- Or clone this repo and copy over the required four files: `SFKFont`, `SFKChar`, `SFKBanner` and `SFKFigletFile`\n\n## Limitations\n\n- this is a macOS library, for CLI programs. Can be adapted for iOS.\n- Only Figlet font files are supported (.flf)\n- If you have trouble loading a flf file, open an issue and attach font file, please.\n\n## How to Use\n\n- Load a `SFKFont` with\n\n```swift\n\nimport SwiftFigletKit\n \nlet font = SFKFont.from(file: \"fonts/starwars.flf\")\n```\n\n- Once loaded, you can start printing to the console using\n\n```swift\nprint(string: \"Swift Figlet Kit\", usingFont: font)\n```\n\n- No step 3. Told you it was a simple library 😅\n\n## TODO\n\n- [x] Finish this README 😅\n- [x] add MIT license notice\n- [x] Add Swift Figlet File property as optional after loading a `SFKFont` from disk\n- [x] Remove [Toilet fonts](http://caca.zoy.org/wiki/toilet) from fonts sample dir: won't support them\n- [ ] Add support for lines adding Unicode character to be loaded, like  `196  LATIN CAPITAL LETTER A WITH DIAERESIS`, see Banner.flf\n- [x] test font `Wow.flf` with mixed line endings (`CR/LF` and `CR`)\n- [ ] adapt file loading for iOS\n- [ ] honor right to left print direction \n\n\n## Fonts used\n\nI've used the Figlet fonts from [xero's](https://github.com/xero/figlet-fonts) repo\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfreniche%2Fswiftfiglet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfreniche%2Fswiftfiglet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfreniche%2Fswiftfiglet/lists"}