{"id":26716523,"url":"https://github.com/fromkk/photoexhibition-skip","last_synced_at":"2025-10-05T17:33:02.867Z","repository":{"id":283285954,"uuid":"951268403","full_name":"fromkk/PhotoExhibition-skip","owner":"fromkk","description":"The photo exhibition app with skip.tools","archived":false,"fork":false,"pushed_at":"2025-07-15T00:23:16.000Z","size":3915,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T04:44:21.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/fromkk.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,"zenodo":null}},"created_at":"2025-03-19T12:20:18.000Z","updated_at":"2025-07-15T00:23:20.000Z","dependencies_parsed_at":"2025-04-03T01:22:06.612Z","dependency_job_id":"8565daf2-11bb-44f6-94e8-a4734dcc2109","html_url":"https://github.com/fromkk/PhotoExhibition-skip","commit_stats":null,"previous_names":["fromkk/photoexhibition-skip"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/fromkk/PhotoExhibition-skip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fromkk%2FPhotoExhibition-skip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fromkk%2FPhotoExhibition-skip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fromkk%2FPhotoExhibition-skip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fromkk%2FPhotoExhibition-skip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fromkk","download_url":"https://codeload.github.com/fromkk/PhotoExhibition-skip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fromkk%2FPhotoExhibition-skip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278487415,"owners_count":25995174,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":[],"created_at":"2025-03-27T15:37:27.093Z","updated_at":"2025-10-05T17:33:02.861Z","avatar_url":"https://github.com/fromkk.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PhotoExhibition\n\nThis repository contains a dual-platform application built with [Skip](https://skip.tools). The Swift codebase is transpiled to Kotlin so that the app can run natively on iOS and Android.\n\n## Repository Overview\nSwift sources are converted to Kotlin using Skip. The dependencies, including the Skip plugin and Firebase libraries, are defined in `Package.swift`.\n\n### Key Directories\n- **Sources/**\n  - `PhotoExhibition` – main application module with entry points and views.\n  - `PhotoExhibitionModel` – Firebase clients and entity definitions (`Clients/`, `Entities/`).\n  - `Viewer` – end-user facing models, clients, and views.\n  - `WidgetClients` – clients and entities for widgets.\n  - `IntentHelper` – small utilities such as notification name extensions.\n- **Tests/**\n  - Feature tests under `PhotoExhibitionTests/` and `XCSkipTests.swift` allow Kotlin tests produced by Skip to run.\n- **Android/** and **Darwin/**\n  - Gradle and Xcode projects generated or consumed by Skip for Android and iOS.\n\n## Important Points\n- Conditional compilation (e.g., `#if SKIP`) keeps Swift and Kotlin behavior aligned.\n- Firebase integration is central (Firestore, Storage, Auth, etc.); understanding each client clarifies the app's data flow.\n- The UI layer relies on `@Observable` store classes, and tests follow the same approach.\n\n## Learning Path for New Contributors\n1. **Set up Skip** – Install via Homebrew with `brew install skiptools/skip/skip` and verify prerequisites with `skip checkup`.\n2. **Explore Firebase clients** – Inspect `Sources/PhotoExhibitionModel/Clients/` to learn authentication and storage flows.\n3. **Study views and stores** – Look at `Sources/PhotoExhibition/Views/` and the `Viewer/` module to see how UI connects to business logic.\n4. **Learn the testing style** – Review `Tests/PhotoExhibitionTests/` for mocking and asynchronous test patterns.\n\n## Building\nThis project works both as a Swift Package Manager module and as an Xcode project that transpiles into an Android Gradle project.\n\nInstall Skip via Homebrew:\n\n```bash\nbrew install skiptools/skip/skip\n```\n\nThis installation also provides Kotlin, Gradle, and Android build tools. Confirm everything is ready with:\n\n```bash\nskip checkup\n```\n\n## Running\nEnsure Xcode and Android Studio are installed. Start an Android emulator from Android Studio's Device Manager. Launch the `PhotoExhibitionApp` target from Xcode to build and deploy the Swift and Kotlin apps. iOS logs appear in the Xcode console and Kotlin logs in Android Studio's logcat.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffromkk%2Fphotoexhibition-skip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffromkk%2Fphotoexhibition-skip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffromkk%2Fphotoexhibition-skip/lists"}