fosmvvm-viewmodel-generatorGenerate FOSMVVM-compliant SwiftUI ViewModels with client- or server-hosted factories, localization bindings, and stub factories for screens and components.
Install via ClawdBot CLI:
clawdbot install foscomputerservices/fosmvvm-viewmodel-generatorGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://github.com/foscomputerservices/FOSUtilitiesAudited Apr 17, 2026 · audit v1.0
Generated Mar 21, 2026
A social media app displays user profiles fetched from a server. The ViewModel includes localized strings for labels like 'Followers' and 'Following', formatted dates for member since, and nested ViewModels for posts. The server-side factory queries the database, builds the ViewModel, and localizes it during JSON encoding before sending to the client.
A productivity app includes a settings screen with options like theme, notifications, and language preferences stored locally. The ViewModel uses client-hosted mode with auto-generated factories, bundling YAML resources for localization. Views render the localized data without composing or formatting, ensuring offline functionality.
An e-commerce app handles payment errors by catching specific ResponseErrors, such as PaymentFailedRequest.ResponseError. A client-hosted ViewModel wraps the error data, including localized messages and error codes, and renders it in a toast view without requiring server requests, leveraging already-localized strings from the server.
A fitness app combines client-hosted onboarding screens with server-hosted sign-in. Onboarding ViewModels use local data for tutorial steps, while sign-in ViewModels fetch server data for authentication. Both follow FOSMVVM patterns, with factories differing based on data source, enabling seamless user experience across modes.
A news aggregator app displays a dashboard with articles, stats, and user recommendations. The ViewModel includes LocalizableString for dynamic enum values like article categories, LocalizableInt for formatted counts, and nested ViewModels for article cards. Server-hosted factories query APIs and localize data, ensuring Views only render pre-shaped content.
Offer the FOSMVVM ViewModel Generator as part of a SwiftUI development toolkit subscription. Businesses pay monthly for access to updates, support, and integration with other FOSUtilities tools, targeting iOS app developers seeking standardized architecture patterns to reduce development time and errors.
Provide consulting services to help companies integrate FOSMVVM into their existing SwiftUI projects. Offer custom ViewModel generation, architecture audits, and training workshops, generating revenue through hourly or project-based fees for tailored solutions in industries like finance or healthcare.
Release the core generator as open source to build community adoption, then monetize through premium features like advanced analytics, enterprise support, or cloud-based factory generation. This model attracts developers with free tools while upselling to larger teams needing scalability and enhanced tooling.
💬 Integration Tip
Start by identifying data sources for each screen to choose between server-hosted or client-hosted modes, ensuring factories are correctly implemented to avoid mixing business logic into Views.
Scored Jun 19, 2026
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
Monitor RSS and Atom feeds for content research. Track blogs, news sites, newsletters, and any feed source. Use when monitoring competitors, tracking industr...
用 MinerU API 解析 PDF/Word/PPT/图片为 Markdown,支持公式、表格、OCR。适用于论文解析、文档提取。
Provides a personalized morning report with today's reminders, undone Notion tasks, and vault storage summary for daily planning.
Extract text from PDFs with OCR support. Perfect for digitizing documents, processing invoices, or analyzing content. Zero dependencies required.
Fetch scheduled economic events and data releases from the FMP API for specified dates, filtering by impact, country, and type, and output a chronological ma...