{"id":13496806,"url":"https://github.com/0xOpenBytes/OpenWeather","last_synced_at":"2025-03-28T19:31:11.247Z","repository":{"id":116241657,"uuid":"609929014","full_name":"0xOpenBytes/OpenWeather","owner":"0xOpenBytes","description":"🌤️ Open source weather experience","archived":false,"fork":false,"pushed_at":"2023-06-10T13:59:42.000Z","size":191,"stargazers_count":15,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-23T12:32:47.862Z","etag":null,"topics":["ios","ios-base","swift","swiftui","weather","weather-app","weatherkit"],"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/0xOpenBytes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","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}},"created_at":"2023-03-05T16:53:17.000Z","updated_at":"2024-05-05T17:53:26.000Z","dependencies_parsed_at":"2024-03-13T21:47:11.438Z","dependency_job_id":null,"html_url":"https://github.com/0xOpenBytes/OpenWeather","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"0xOpenBytes/ios-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FOpenWeather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FOpenWeather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FOpenWeather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FOpenWeather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xOpenBytes","download_url":"https://codeload.github.com/0xOpenBytes/OpenWeather/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246088449,"owners_count":20721688,"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","ios-base","swift","swiftui","weather","weather-app","weatherkit"],"created_at":"2024-07-31T19:02:00.354Z","updated_at":"2025-03-28T19:31:10.818Z","avatar_url":"https://github.com/0xOpenBytes.png","language":"Swift","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://openbytes.dev/assets/projects/images/ios-base-icon.png\" alt=\"Icon representing the OpenBytes ios-base project.\" width=\"35%\"/\u003e\n  \u003ch1\u003eOpenWeather\u003c/h1\u003e\n  \u003ch3\u003eThe OpenBytes template for iOS projects using SwiftUI\u003c/h3\u003e\n  \u003ca href=\"https://github.com/0xOpenBytes/OpenWeather/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue\" alt=\"MIT License\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://discord.gg/HUmaDXVsW7\"\u003e\n    \u003cimg src=\"https://img.shields.io/discord/933406727150391376\" alt=\"Community Chat\"/\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/iOS-16%2B-informational\" alt=\"iOS Version\"/\u003e\n\u003c/div\u003e\n\n## Project\n\n### Structure\n\n- OpenWeather\n  - App: SwiftUI App and Views\n  - Data\n    - Mock: Static mock data and json reading functionality.\n    - Network: Network data models used in Services and Adapters.\n    - Adapters: Objects that can convert from Network to Device or Device to Network models.\n    - JSON: Network data model JSON files.\n    - Device: Device data models used in SwiftUI Views and ViewModels. Device models should be created from Network models by using Adapters.\n  - FileStorage: Local storage functionality.\n  - Navigation: SwiftUI NavigationPath using an object called CartographyPath and CartographyView. There is also the ability to present toasts, alerts, modals, and action sheets using the CartographyPath.\n  - Networking: Networking functionality.\n  - Notifications: Local Notification functionality.\n  - Persistence\n    - Caching\n      - Image: Memory storage for Images, used in ImageView.\n      - Data: Memory storage for anything conforming to DataCaching.\n  - Preview Content\n  - Settings: Shared app data and state.\n  - Utilities: Miscellaneous app utilities.\n- OpenWeatherTests\n  - Adapters: Test Network to Device and Device to Network transformations.\n  - Persistence: Tests for Persistence and Caching.\n  - UserRegistration: Tests for register using ViewModels and DI.\n  - Validation: Tests for different types of data validation.\n\n### Dependency List\n\n- [OpenBytes o](https://github.com/0xOpenBytes/o) \u003cimg src=\"https://img.shields.io/github/v/release/0xOpenBytes/o\"/\u003e\n  - Allows us to get the input and set the output of file, url, the console, and UserNotifications.\n- [OpenBytes c](https://github.com/0xOpenBytes/c) \u003cimg src=\"https://img.shields.io/github/v/release/0xOpenBytes/c\"/\u003e\n  - Allows us to transform types from one to another while also providing us the various caching options.\n- [Fork](https://github.com/0xLeif/Fork) \u003cimg src=\"https://img.shields.io/github/v/release/0xLeif/Fork\"/\u003e\n  - Fork allows us to run multiple asynchronous tasks at the same time.\n\n## Getting Started\n\n### Installing development dependencies\n\n1. Install [Homebrew](https://brew.sh)\n2. Run `brew bundle`\n\nLearn more about [SPX](https://www.github.com/FullQueueDeveloper/SPX) and [Xcodegen](https://github.com/yonaskolb/XcodeGen)\n\n### Renaming\n\nThere are some scripts to help rename OpenWeather to whatever project name you want.\n\n- Clone the templated repository\n- run `./rename.sh`\n- Enter a project name\n\n## Continuing onward\n\n### Regenerate the project\n\n    spx xcodeproj\n\n### Pushing to the App Store\n\nThis script expects `APPLE_TEAM_ID`, `APPLOADER_USERNAME` and `APPLOADER_PASSWORD` to be present in the environment.\n\nIt doesn't have to stay that way. Modify `SPX/Sources/appstore/Secrets.swift` to use an API key, or perhaps fetch credentials from a password manager like 1Password using [Sh1Password](https://github.com/FullQueueDeveloper/Sh1Password).\n\nWhen that's settled, you can run\n\n    spx appstore\n","funding_links":[],"categories":["Swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xOpenBytes%2FOpenWeather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xOpenBytes%2FOpenWeather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xOpenBytes%2FOpenWeather/lists"}