{"id":26739404,"url":"https://github.com/thuongvb/viper-module-template","last_synced_at":"2026-05-01T15:38:03.122Z","repository":{"id":284127095,"uuid":"953906314","full_name":"thuongvb/VIPER-Module-Template","owner":"thuongvb","description":"🚀 VIPER Xcode Template for SwiftUI – Build clean \u0026 scalable modules instantly.","archived":false,"fork":false,"pushed_at":"2025-03-24T09:25:01.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T10:28:31.721Z","etag":null,"topics":["ios","open-source","swift","swiftui","viper","viper-architecture","viper-modules","viper-pattern-architecture","viper-template"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thuongvb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-03-24T09:13:03.000Z","updated_at":"2025-03-24T09:51:27.000Z","dependencies_parsed_at":"2025-03-24T10:28:37.475Z","dependency_job_id":"f8496eb8-3a85-40ce-bf6d-359bb6169bf9","html_url":"https://github.com/thuongvb/VIPER-Module-Template","commit_stats":null,"previous_names":["thuongvb/viper-module-folder-structure"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuongvb%2FVIPER-Module-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuongvb%2FVIPER-Module-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuongvb%2FVIPER-Module-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuongvb%2FVIPER-Module-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thuongvb","download_url":"https://codeload.github.com/thuongvb/VIPER-Module-Template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245969498,"owners_count":20702239,"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":["ios","open-source","swift","swiftui","viper","viper-architecture","viper-modules","viper-pattern-architecture","viper-template"],"created_at":"2025-03-28T04:28:39.114Z","updated_at":"2026-05-01T15:38:03.019Z","avatar_url":"https://github.com/thuongvb.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# VIPER Module Template for Xcode (SwiftUI)\n\nA customizable Xcode template to quickly generate clean VIPER architecture modules for SwiftUI-based projects, with a clear and organized folder structure.\n\n---\n\n## 🚀 Features\n\n- **Automated Structure**: Instantly generates VIPER components (`View`, `Interactor`, `Presenter`, `Entity`, `Router`) in separate folders.\n- **SwiftUI Preview**: Includes built-in SwiftUI previews to streamline UI development.\n- **Clean Architecture**: Implements VIPER to ensure a clear separation of concerns and maintainable codebase.\n\n---\n\n## 🗂 Template Structure\n\n```\nYourModule\n├── View\n│   └── YourModuleView.swift\n├── Presenter\n│   └── YourModulePresenter.swift\n├── Interactor\n│   └── YourModuleInteractor.swift\n├── Entity\n│   └── YourModuleEntity.swift\n└── Router\n    └── YourModuleRouter.swift\n```\n\n---\n\n## 📥 Installation\n\n### Step 1: Download\n- Clone this repository or download the ZIP.\n\n### Step 2: Copy to Templates Folder\n\n- Copy the folder `VIPER Module Folder Structure.xctemplate` to:\n\n```bash\n~/Library/Developer/Xcode/Templates/\n```\n\nIf the `Templates` folder doesn't exist, simply create it.\n\n### Step 3: Restart Xcode\n- Restart Xcode to load the new template.\n\n---\n\n## ✅ Usage\n\n- Open Xcode and select the folder where you want to create your module.\n- Go to `File → New → File` or press `Cmd + N`.\n- Select `VIPER Module Folder Structure` from the template list.\n- Enter your module name and Xcode will generate the VIPER module structure automatically.\n\n---\n\n## ⚠️ Requirements\n\n- Xcode 14 or later (SwiftUI compatible)\n- Swift 5.7 or newer\n\n---\n\n## 📖 VIPER Architecture Overview\n\n| Component   | Responsibility                  |\n|-------------|---------------------------------|\n| **View**    | Displays UI and handles user interactions |\n| **Interactor** | Contains business logic and data handling |\n| **Presenter**  | Mediates between View and Interactor |\n| **Entity**     | Defines models and data structures |\n| **Router**     | Manages navigation and module assembly |\n\n---\n\n## 📌 Contributing\n\nFeel free to contribute by:\n\n- Reporting issues\n- Submitting pull requests\n- Improving documentation\n\n---\n\n## 📜 License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n---\n\n⭐️ If you found this template helpful, consider starring this repository! ⭐️\n\nHappy coding! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthuongvb%2Fviper-module-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthuongvb%2Fviper-module-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthuongvb%2Fviper-module-template/lists"}