{"id":1354,"url":"https://github.com/Cosmo/TinyConsole","last_synced_at":"2025-08-06T13:32:57.759Z","repository":{"id":52240319,"uuid":"74987818","full_name":"Cosmo/TinyConsole","owner":"Cosmo","description":"📱💬🚦 TinyConsole is a micro-console that can help you log and display information inside an iOS application, where having a connection to a development computer is not possible.","archived":false,"fork":false,"pushed_at":"2019-09-30T21:37:45.000Z","size":1098,"stargazers_count":1949,"open_issues_count":6,"forks_count":89,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-12-01T11:53:24.852Z","etag":null,"topics":["console","events","helper","ios","log","tool"],"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/Cosmo.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":"2016-11-28T15:42:54.000Z","updated_at":"2024-11-06T10:26:42.000Z","dependencies_parsed_at":"2022-08-21T05:20:38.484Z","dependency_job_id":null,"html_url":"https://github.com/Cosmo/TinyConsole","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2FTinyConsole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2FTinyConsole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2FTinyConsole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2FTinyConsole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cosmo","download_url":"https://codeload.github.com/Cosmo/TinyConsole/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228586926,"owners_count":17941440,"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":["console","events","helper","ios","log","tool"],"created_at":"2024-01-05T20:15:44.521Z","updated_at":"2024-12-09T14:31:07.356Z","avatar_url":"https://github.com/Cosmo.png","language":"Swift","readme":"\u003cimg src=\"https://raw.githubusercontent.com/Cosmo/TinyConsole/master/TinyConsole-Banner.png\" alt=\" text\" width=\"100%\" /\u003e\n\n# TinyConsole\n\n\u003cimg src=\"https://img.shields.io/badge/platform-iOS-blue.svg?style=flat\" alt=\"Platform iOS\" /\u003e \u003cimg src=\"https://img.shields.io/badge/Carthage-compatible-brightgreen.svg?style=flat\" alt=\"Carthage compatible\" /\u003e \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg?style=flat\" alt=\"License MIT\" /\u003e\n\nTinyConsole is a tiny log console to display information while using your iOS app and written in Swift.\n\n## Usage\n\nWrap your Main ViewController inside of a `TinyConsoleController` like so:\n\n```swift\nTinyConsole.createViewController(rootViewController: MyMainViewController())\n```\n\n### Actions\n\n#### Hide and Show\n\nShake your device to toggle the console.\nIf you’re using the Simulator, press \u003ckbd\u003e⌃ ctrl\u003c/kbd\u003e-\u003ckbd\u003e⌘ cmd\u003c/kbd\u003e-\u003ckbd\u003ez\u003c/kbd\u003e.\n\n#### Console output\n\n```swift\n// Print message\nTinyConsole.print(\"hello\")\n\n// Print messages any color you want \nTinyConsole.print(\"green text\", color: UIColor.green)\n\n// Print a red error message \nTinyConsole.error(\"something went wrong\")\n\n// Print a marker for orientation\nTinyConsole.addLine()\n\n// Clear console\nTinyConsole.clear()\n```\n\n## Implementation Example\n\nInstead of\n\n```swift\nfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -\u003e Bool {\n    window = UIWindow(frame: UIScreen.main.bounds)\n    window?.rootViewController = MyMainViewController()\n    window?.makeKeyAndVisible()\n    return true\n}\n```\n\nwrite\n\n```swift\nfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -\u003e Bool {\n    window = UIWindow(frame: UIScreen.main.bounds)\n    window?.rootViewController = TinyConsole.createViewController(rootViewController: MyMainViewController())\n    window?.makeKeyAndVisible()\n    return true\n}\n```\n\nalternatively, check out the example project included in this repository.\n\n## Demo\n\n\u003cimg src=\"https://raw.githubusercontent.com/Cosmo/TinyConsole/master/TinyConsole-Demo.gif\" alt=\" text\" width=\"25%\" /\u003e\n\n## Requirements\n\n* Xcode 11\n* Swift 5\n* iOS 11 or greater\n\n## Installation\n\n### [Carthage](https://github.com/Carthage/Carthage)\n\nAdd this to your Cartfile:\n\n```ruby\ngithub \"Cosmo/TinyConsole\"\n```\n\n### Manually\n\nJust drag the source files into your project.\n\n## Hierarchy\n\n\u003cimg src=\"https://raw.githubusercontent.com/Cosmo/TinyConsole/master/TinyConsole-Hierarchy.png\" alt=\" text\" width=\"100%\" /\u003e\n\n## Core Team\n\n- [@Cosmo](https://github.com/Cosmo), Devran \"Cosmo\" Uenal\n- [@mRs-](https://github.com/mRs-), Marius Landwehr\n- [@ohitsdaniel](https://github.com/ohitsdaniel), Daniel Peter\n\n## Thanks\n\nMany thanks to [**the contributors**](https://github.com/Cosmo/TinyConsole/graphs/contributors) of this project.\n\n\n## Contact\n\n* Devran \"Cosmo\" Uenal\n* Twitter: [@maccosmo](http://twitter.com/maccosmo)\n* LinkedIn: [devranuenal](https://www.linkedin.com/in/devranuenal)\n\n## Other Projects\n\n* [BinaryKit](https://github.com/Cosmo/BinaryKit) — BinaryKit helps you to break down binary data into bits and bytes and easily access specific parts.\n* [Clippy](https://github.com/Cosmo/Clippy) — Clippy from Microsoft Office is back and runs on macOS! Written in Swift.\n* [GrammaticalNumber](https://github.com/Cosmo/GrammaticalNumber) — Turns singular words to the plural and vice-versa in Swift.\n* [HackMan](https://github.com/Cosmo/HackMan) — Stop writing boilerplate code yourself. Let hackman do it for you via the command line.\n* [ISO8859](https://github.com/Cosmo/ISO8859) — Convert ISO8859 1-16 Encoded Text to String in Swift. Supports iOS, tvOS, watchOS and macOS.\n* [SpriteMap](https://github.com/Cosmo/SpriteMap) — SpriteMap helps you to extract sprites out of a sprite map. Written in Swift.\n* [StringCase](https://github.com/Cosmo/StringCase) — Converts String to lowerCamelCase, UpperCamelCase and snake_case. Tested and written in Swift.\n\n## License\n\nTinyConsole is released under the [MIT License](http://www.opensource.org/licenses/MIT).\n","funding_links":[],"categories":["Logging","Libs","Swift","Logging [🔝](#readme)"],"sub_categories":["Other Hardware","Logging","Other free courses"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCosmo%2FTinyConsole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCosmo%2FTinyConsole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCosmo%2FTinyConsole/lists"}