{"id":15527124,"url":"https://github.com/tiskender2/storyui","last_synced_at":"2025-04-23T12:14:52.000Z","repository":{"id":38086616,"uuid":"486770760","full_name":"tiskender2/StoryUI","owner":"tiskender2","description":"Create stories with just single-line code written in SwiftUI","archived":false,"fork":false,"pushed_at":"2025-04-12T14:09:08.000Z","size":7171,"stargazers_count":53,"open_issues_count":0,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T12:14:31.020Z","etag":null,"topics":["framework","instagram","instagram-stories","instagram-stories-swiftui","ios","library","story","swift","swift-package-manager","swiftui","whatsapp-status","xcode"],"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/tiskender2.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-28T22:53:13.000Z","updated_at":"2025-04-12T14:08:55.000Z","dependencies_parsed_at":"2023-01-25T10:16:22.037Z","dependency_job_id":null,"html_url":"https://github.com/tiskender2/StoryUI","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiskender2%2FStoryUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiskender2%2FStoryUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiskender2%2FStoryUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiskender2%2FStoryUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiskender2","download_url":"https://codeload.github.com/tiskender2/StoryUI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250430598,"owners_count":21429324,"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":["framework","instagram","instagram-stories","instagram-stories-swiftui","ios","library","story","swift","swift-package-manager","swiftui","whatsapp-status","xcode"],"created_at":"2024-10-02T11:04:33.008Z","updated_at":"2025-04-23T12:14:51.993Z","avatar_url":"https://github.com/tiskender2.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StoryUI\n\nCreate stories with just single-line code\n\n\u003ca href=\"https://circleci.com/gh/badges/shields/tree/master\"\u003e\n        \u003cimg src=\"https://img.shields.io/circleci/project/github/badges/shields/master\" alt=\"build status\"\u003e\u003c/a\u003e\n        \n## Installation\n\nUse **Swift Package Manager**\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/tiskender2/StoryUI.git\", exact: \"1.6.1\")\n]\n```\n## Example \n![example](https://user-images.githubusercontent.com/17899883/166338390-ac5988fc-b417-4c41-b35a-8b18eca61eac.gif)\n![](https://github.com/tiskender2/StoryUI/assets/17899883/80b08837-05da-48b0-92c2-b7b7000c8618)\n\n## Usage\n\n```swift\nimport SwiftUI\nimport StoryUI\n\nstruct ContentView: View {\n    @State var isPresented: Bool = false\n    @State var stories: [StoryUIModel] = [\n        .init(\n            user: .init(\n                name: \"Tolga İskender\",\n                image: \"https://image.tmdb.org/t/p/original/pB8BM7pdSp6B6Ih7QZ4DrQ3PmJK.jpg\"\n            ),\n            stories: [\n                .init(\n                    mediaURL: \"https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4\",\n                    date: \"30 min ago\",\n                    config: .init(\n                        storyType: .message(\n                            config: .init(showLikeButton: true),\n                            emojis: [\n                                [\"😂\",\"😮\",\"😍\"],\n                                [\"😢\",\"👏\",\"🔥\"]\n                            ],\n                            placeholder: \"Send Message\"\n                        ),\n                        mediaType: .video\n                    )\n                ),\n                .init(\n                    mediaURL: \"https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4\",\n                    date: \"30 min ago\",\n                    config: .init(mediaType: .video)\n                )\n            ]\n        )\n    ]\n    var body: some View {\n        NavigationView {\n            Button {\n                isPresented = true\n            } label: {\n                Text(\"Show\")\n            }\n            .fullScreenCover(isPresented: $isPresented) {\n                StoryView(\n                    stories: stories,\n                    isPresented: $isPresented\n                )\n            }\n        }\n\n    }\n}\n```\n## Requirements\n- iOS 14+\n- Swift 5.6+\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\nStoryUI is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiskender2%2Fstoryui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiskender2%2Fstoryui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiskender2%2Fstoryui/lists"}