{"id":13908274,"url":"https://github.com/GitHawkApp/Squawk","last_synced_at":"2025-07-18T07:30:47.856Z","repository":{"id":62455994,"uuid":"116085092","full_name":"GitHawkApp/Squawk","owner":"GitHawkApp","description":"Quick \u0026 interactive iOS alerts in Swift.","archived":false,"fork":false,"pushed_at":"2019-03-04T10:48:10.000Z","size":188,"stargazers_count":257,"open_issues_count":2,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-14T18:56:44.571Z","etag":null,"topics":["alert","githawk","swift","toast","uikit"],"latest_commit_sha":null,"homepage":"http://githawk.com","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/GitHawkApp.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":"2018-01-03T03:10:08.000Z","updated_at":"2024-06-17T09:52:23.000Z","dependencies_parsed_at":"2022-11-02T00:15:15.429Z","dependency_job_id":null,"html_url":"https://github.com/GitHawkApp/Squawk","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/GitHawkApp/Squawk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHawkApp%2FSquawk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHawkApp%2FSquawk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHawkApp%2FSquawk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHawkApp%2FSquawk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GitHawkApp","download_url":"https://codeload.github.com/GitHawkApp/Squawk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHawkApp%2FSquawk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265720421,"owners_count":23817233,"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":["alert","githawk","swift","toast","uikit"],"created_at":"2024-08-06T23:02:36.150Z","updated_at":"2025-07-18T07:30:47.576Z","avatar_url":"https://github.com/GitHawkApp.png","language":"Swift","funding_links":[],"categories":["HarmonyOS","Swift"],"sub_categories":["Windows Manager"],"readme":"# Squawk\n\nShow important alerts from the bottom of the screen with full customization control.\n\n![Example](readme.png)\n\n## Installation\n\nJust add `Squawk` to your Podfile and pod install. Done!\n\n```\npod 'Squawk'\n```\n\n## Usage\n\nAfter installing `Squawk`, you can start displaying alerts immediately:\n\n```swift\nimport Squawk\n\nfunc onError() {\n  Squawk.shared.show(config: Squawk.Configuration(\n    text: \"Something went wrong!\"\n  ))\n}\n```\n\nUse the `view` param if you want to show the alert within a specific view.\n\n```swift\nfunc viewDidAppear() {\n  super.viewDidAppear()\n  Squawk.shared.show(\n    in: view,\n    config: Squawk.Configuration(\n      text: \"Peek-a-boo\"\n    )\n  )\n}\n```\n\n### Configuration\n\n`Squawk.Configuration` comes with _loads_ of options:\n\n- `text` - The text in the alert\n- `textColor` - The color of the text 🙄\n- `backgroundColor` - Background color of the view (note: will be blurred)\n- `insets` - Inset the text and button within the alert view\n- `maxWidth` - The max width of the alert view\n- `hintMargin` - Margin between the \"hint\" (top pill) and text\n- `hintSize` - The size of the hint pill\n- `cornerRadius` - Corner radius of the alert view\n- `bottomPadding` - Extra padding to add to subtract from the final `y` of the alert view\n- `borderColor` - Border color of the alert view\n- `dismissDuration` - How long, in seconds, to wait before automatically dismissing\n- `buttonVisible` - Set to `true` to show the \"info\" button\n- `buttonLeftMargin` - The margin between the button and text\n- `buttonTapHandler` - A closure to execute when the \"info\" button is tapped\n\n## Acknowledgements\n\n- Created with ❤️ by [Ryan Nystrom](https://twitter.com/_ryannystrom)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGitHawkApp%2FSquawk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGitHawkApp%2FSquawk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGitHawkApp%2FSquawk/lists"}