{"id":25611374,"url":"https://github.com/k-arindam/arctkit","last_synced_at":"2026-06-17T18:33:10.539Z","repository":{"id":278137131,"uuid":"934639160","full_name":"k-arindam/ArctKit","owner":"k-arindam","description":"ArctKit swift package","archived":false,"fork":false,"pushed_at":"2025-03-11T06:20:40.000Z","size":2328,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-11T18:13:06.190Z","etag":null,"topics":["apple","arctkit","ios","macos","mvc","swift","swift-package","swiftui"],"latest_commit_sha":null,"homepage":"http://arctkit.karindam.in","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/k-arindam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["k-arindam"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2025-02-18T06:56:39.000Z","updated_at":"2025-03-11T06:20:44.000Z","dependencies_parsed_at":"2025-03-11T07:23:49.672Z","dependency_job_id":"53c51655-393a-4ffa-819f-366c84c07c06","html_url":"https://github.com/k-arindam/ArctKit","commit_stats":null,"previous_names":["k-arindam/arctkit"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/k-arindam/ArctKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-arindam%2FArctKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-arindam%2FArctKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-arindam%2FArctKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-arindam%2FArctKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k-arindam","download_url":"https://codeload.github.com/k-arindam/ArctKit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-arindam%2FArctKit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34461617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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":["apple","arctkit","ios","macos","mvc","swift","swift-package","swiftui"],"created_at":"2025-02-21T23:19:00.242Z","updated_at":"2026-06-17T18:33:10.521Z","avatar_url":"https://github.com/k-arindam.png","language":"Swift","funding_links":["https://github.com/sponsors/k-arindam"],"categories":[],"sub_categories":[],"readme":"# ArctKit 🚀\n\n**SwiftUI's Ultimate Companion for State Management, Routing, Dependency Injection, Storage, and Utilities!**\n\nArctKit is a lightweight yet powerful framework that combines high-performance **state management**, **intelligent dependency injection**, **route management**, **storage**, and **utility functions**—all in one seamless package. Inspired by GetX from Flutter, ArctKit enhances SwiftUI development by making it more scalable, maintainable, and efficient.\n\n## ✨ Features\n\n- 🚀 **High-Performance State Management** – Simplify state handling in your SwiftUI apps.\n- 🔗 **Intelligent Dependency Injection** – Register and retrieve dependencies effortlessly.\n- 🛤 **Route Management** – Navigate between views with ease.\n- 📦 **Persistent Storage** – Save and retrieve data using a simple API.\n- 🛠 **Powerful Utility Functions** – Commonly needed utilities like validation, file detection, and more.\n- 🏎 **Blazing Fast \u0026 Lightweight** – No unnecessary boilerplate, just efficient code.\n\n## 📦 Installation\n\n### Swift Package Manager (SPM)\n\nAdd ArctKit to your **Package.swift**:\n\n```swift\n.package(url: \"https://github.com/k-arindam/ArctKit.git\", from: \"0.0.2\")\n```\n\nOr add it via **Xcode**:\n1. Open your Xcode project.\n2. Go to **File \u003e Add Packages**.\n3. Enter the URL: `https://github.com/k-arindam/ArctKit.git`.\n4. Select the latest version and add it to your project.\n\n## 📌 Getting Started\n\n### 1️⃣ Define Your App Configuration\n\n```swift\nimport ArctKit\n\nstruct MyApp: App {\n    var body: some Scene {\n        let config = ArctAppConfig(\n            appGroup: \"group.in.karindam.ArctKitDemo\",\n            initialBindings: [\n                Constants.dataControllerKey: DataController()\n            ],\n            initialRoute: AppRoutes.home,\n            routeBuilder: AppRoutes.builder\n        )\n\n        WindowGroup {\n            ArctApp(config: config)\n        }\n    }\n}\n```\n\n### 2️⃣ Dependency Injection Made Easy 🧩\n\n```swift\n// Register a dependency\nlet authControllerKey: String = \"in.karindam.ArctKitDemo.auth\"\n\ndo {\n    _ = try Arct.put(AuthController(), with: authControllerKey)\n} catch {\n    print(\"Failed to register dependency: \\(error)\")\n}\n\n// Retrieve a dependency\nlet auth: AuthController? = try? Arct.find(with: authControllerKey)\n```\n\n### 3️⃣ Navigate Between Views Seamlessly 🛤\n\n```swift\nenum AppRoutes: ArctRoute {\n    case home\n    case settings\n    \n    @ViewBuilder\n    static func builder(_ route: Self) -\u003e some View {\n        switch route {\n        case .home:\n            HomeView()\n        case .settings:\n            SettingsView()\n        }\n    }\n}\n\ntry? Arct.push(AppRoutes.settings)\n```\n\n### 4️⃣ Persistent Storage with UserDefaults 📦\n\n```swift\n// Save data\ntry Arct.write(\"John Doe\", for: \"username\")\n\n// Read data\nlet username: String? = try? Arct.read(String.self, for: \"username\")\n```\n\n## 📚 Documentation\n\nFor full documentation, visit [here](http://arctkit.karindam.in).\n\n## 🛠 Utility Functions\n\n```swift\nlet isValidEmail = Arct.isEmail(\"test@example.com\")  // true\nlet isIPv4 = Arct.isIPv4(\"192.168.1.1\")  // true\nlet isIPv4 = Arct.isIPv6(\"192.168.1.1\")  // false\n```\n\n## 🤝 Contributing\n\nWe welcome contributions! Feel free to submit issues or pull requests.\n\n## 📜 License\n\nArctKit is available under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n---\n\n🚀 **Supercharge your SwiftUI development with ArctKit today!**\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-arindam%2Farctkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk-arindam%2Farctkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-arindam%2Farctkit/lists"}