{"id":15487359,"url":"https://github.com/dblock/arasciiswizzle","last_synced_at":"2025-09-20T04:31:58.665Z","repository":{"id":15256380,"uuid":"17985470","full_name":"dblock/ARASCIISwizzle","owner":"dblock","description":"Swizzle your iOS project into ASCII art.","archived":false,"fork":false,"pushed_at":"2014-05-01T17:00:35.000Z","size":5086,"stargazers_count":51,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-24T22:57:58.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"dmorse/simpatico","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dblock.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-21T16:04:44.000Z","updated_at":"2025-02-27T05:10:01.000Z","dependencies_parsed_at":"2022-08-03T07:31:01.191Z","dependency_job_id":null,"html_url":"https://github.com/dblock/ARASCIISwizzle","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dblock/ARASCIISwizzle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2FARASCIISwizzle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2FARASCIISwizzle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2FARASCIISwizzle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2FARASCIISwizzle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dblock","download_url":"https://codeload.github.com/dblock/ARASCIISwizzle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2FARASCIISwizzle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276046871,"owners_count":25575876,"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","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-02T06:25:27.532Z","updated_at":"2025-09-20T04:31:58.224Z","avatar_url":"https://github.com/dblock.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ARASCIISwizzle\n\n[![Build Status](https://travis-ci.org/dblock/ARASCIISwizzle.png?branch=master)](https://travis-ci.org/dblock/ARASCIISwizzle)\n[![Version](http://cocoapod-badges.herokuapp.com/v/ARASCIISwizzle/badge.png)](http://cocoadocs.org/docsets/ARASCIISwizzle)\n[![Platform](http://cocoapod-badges.herokuapp.com/p/ARASCIISwizzle/badge.png)](http://cocoadocs.org/docsets/ARASCIISwizzle)\n\nASCII-art all the things. Transforms all UIImageView's into ASCII art and replaces all fonts with Courier.\nBuilt for the [Artsy.net](http://artsy.net) March 2014 Hackathon.\nCombine with [DRKonamiCode](https://github.com/objectiveSee/DRKonamiCode) and you're in business!\n\n## Demo\n\n![](Screenshots/swizzle-portrait-of-a-lady.gif)\n\n[Portrait of a Lady, Rogier Van Der Weyden](https://artsy.net/artwork/rogier-van-der-weyden-portrait-of-a-lady-1), courtesy of the National Gallery of Art, Washington D.C., via Artsy.net\n\n## Usage\n\n### Replace All Images and Fonts\n\n``` objc\n#import \u003cARASCIISwizzle/UIFont+ASCII.h\u003e\n#import \u003cARASCIISwizzle/UIImageView+ASCII.h\u003e\n\n- (void)toggle\n{\n    UIFont.ascii = ! UIFont.ascii;\n    UIImageView.ascii = ! UIImageView.ascii;\n}\n```\n\n### ASCII Art API\n\nSee [UIImage+ASCII.h](Classes/UIImage+ASCII.h).\n\n``` objc\n#import \u003cARASCIISwizzle/UIImage+ASCII.h\u003e\n\nUIImage *image = ...\n\n// ASCII NSString representation of the image\nNSString *asciiText = image.asciiText;\n\n// ASCII UIImage representation of the image\nUIFont *font = [UIFont fontWithName:@\"Courier New\" size:12.0];\nUIColor *color = [UIColor yellowColor];\nUIImage *asciiImage = [image asciiImage:font color:color];\n```\n\n### Combine with Konami Code\n\nToggle swizzling with *Up Up Down Down Left Right Left Right B A* gestures. See [this gist](https://gist.github.com/dblock/9732650).\n\n## Installation\n\nARASCIISwizzle is available through [CocoaPods](http://cocoapods.org), to install it simply add the following line to your Podfile:\n\n    pod \"ARASCIISwizzle\"\n\n## Testing\n\nTry it out with CocoaPods also,\n\n    pod try \"ARASCIISwizzle\"\n\n## Credits\n\n* [Creating ASCII Art from UIImage](http://weakreference.wordpress.com/2010/11/17/ios-creating-an-ascii-art-from-uiimage)\n* [Creating a UIImage from Text](http://stackoverflow.com/questions/2765537/how-do-i-use-the-nsstring-draw-functionality-to-create-a-uiimage-from-text)\n* [Resizing a UIImage](http://stackoverflow.com/questions/7645454/resize-uiimage-by-keeping-aspect-ratio-and-width)\n\n## Copyright \u0026 License\n\nARASCIISwizzle is (c) [Artsy Inc.](http://artsy.net), available under the MIT license.\n\nSee the [LICENSE](LICENSE) file for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Farasciiswizzle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdblock%2Farasciiswizzle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Farasciiswizzle/lists"}