https://github.com/emrepbu/cosmicdaily
An iOS app that brings NASA's Astronomy Picture of the Day to your iPhone and iPad. Discover stunning images of our universe with detailed explanations from NASA astronomers.
https://github.com/emrepbu/cosmicdaily
apod astronomy image-viewer ios ios-app mvvm nasa-api offline-first space swift swiftui
Last synced: 4 months ago
JSON representation
An iOS app that brings NASA's Astronomy Picture of the Day to your iPhone and iPad. Discover stunning images of our universe with detailed explanations from NASA astronomers.
- Host: GitHub
- URL: https://github.com/emrepbu/cosmicdaily
- Owner: emrepbu
- License: mit
- Created: 2025-06-10T16:54:06.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-06-18T19:08:22.000Z (7 months ago)
- Last Synced: 2025-06-18T19:29:32.398Z (7 months ago)
- Topics: apod, astronomy, image-viewer, ios, ios-app, mvvm, nasa-api, offline-first, space, swift, swiftui
- Language: Swift
- Homepage: https://emrepbu.github.io/CosmicDaily/
- Size: 4.63 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Support: docs/support.html
Awesome Lists containing this project
README
# Cosmic Daily
An iOS app that brings NASA's Astronomy Picture of the Day to your iPhone and iPad. Discover stunning images of our universe with detailed explanations from NASA astronomers.

## Features
### Core Features
- Daily astronomy pictures from NASA
- Beautiful native iOS design
- Dark mode support
- Offline support with smart caching
- Pull to refresh
### Image Features
- Full-screen image viewer
- Pinch to zoom
- High-resolution image support
- Video content support
### iPad Features
- Split-view layout
- In-place zoom gestures
- Optimized for all iPad sizes
## Requirements
- iOS 17.6
- Xcode 16.4
- Swift 5.0
## Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/CosmicCanvas.git
```
2. Open in Xcode:
```bash
cd CosmicCanvas
open CosmicCanvas.xcodeproj
```
3. Build and run (⌘R)
## NASA API Key
The app includes a demo API key. For unlimited requests:
1. Get your free key at [api.nasa.gov](https://api.nasa.gov)
2. Open Settings in the app
3. Enter your API key
## Project Structure
```
CosmicCanvas/
├── Models/ # Data models
├── Services/ # API and cache services
├── ViewModels/ # Business logic
├── Views/ # SwiftUI views
└── Components/ # Reusable components
```
## Technologies
- **SwiftUI** - Modern declarative UI
- **MVVM** - Clean architecture pattern
- **Async/Await** - Modern concurrency
- **NASA APOD API** - Space imagery source