项目
在 GitHub 查看
saulsharma/apple-news-ui
关于
Apple News UI for iOS, Android, and Web
网站与应用开发可以做什么
- 💣 Works on Android, iOS, and Web
- 🔄 Native gestures and transitions
- 🎵 Podcast Player with full playback controls
- Live Activities for sports scores
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Apple News Clone with Expo
A universal iOS News app clone built with React Native and Expo, delivering a native experience across iOS, Android, and Web platforms.
🚀 Live Demo
- Web: https://applenews.expo.app
- iOS/Android: Instruction below
✨ Key Features
- 💣 Works on Android, iOS, and Web
- 🔄 Native gestures and transitions
- 🎵 Podcast Player with full playback controls
- 📲 iOS-specific features:
- Live Activities for sports scores
- Home Screen Widgets
- Watch support
- Context menus and peek previews
- 🤏 Swipe actions like 𝕏 (Twitter)
- 🔍 Smart search with keyword highlighting
- ⚡️ Example Server Components (RSC) integration
- ↕️ Drag & sort favorites
🛠 Tech Stack
Core
- Expo - Universal app development platform
- React Native - Cross-platform native UI
- TypeScript - Type-safe JavaScript
- Tailwind CSS - Utility-first styling
Navigation & Routing
- Expo Router - File-based universal routing
- React Navigation - Native navigation primitives
Animation & Gestures
- Reanimated 4 - Native animations
- Gesture Handler - Native gestures
Data & State
- MMKV - Ultra-fast storage
UI Components
Native Features
- WidgetKit - iOS widgets
- ActivityKit - Live Activities
- Expo AV - Audio playback
📱 Installation
- Clone the repository:
git clone https://github.com/saulamsal/apple-news-ui
- Install dependencies (using bun or npm):
cd apple-news-ui
bun install
# or
npm install
- Start the development server:
bun run start
# or
npm start
- Run on your preferred platform:
# iOS
bun run ios
# Android
bun run android
# Web
bun run web
🧪 Experimental Features
Some features are in development and may be unstable:
- React Server Components integration
- Watch app support
- Background audio controls
- Enhanced Live Activities
🤝 Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📝 License
This project is MIT licensed.
🙏 Acknowledgments
- @baconbrix for
create-target - @mrousavy for
react-native-mmkv - @fernandotherojo for Zeego
- Expo team for the amazing tooling
Data Sources
Podcast Data
- Source: Apple Podcasts API
- Example URL: https://podcasts.apple.com/us/room/1589753370
- Image URL format: Replace
{w}x{h}with/376x376bb.webp
TODO
Audio
- Replace expo-av with expo-audio
- Lock screen player implementation
- Lock screen controls
- Pending react-native-track-player support for new architecture
- Alternative: Wait for expo-audio lock screen control support
UI/UX
- Shared transitions (Currently broken in Expo 52)
- Fix long press behavior - Details view and context menu conflict
- Optimize navigation performance during audio playback (25% complete)
- Fix /audio/[id] not playing on web when not loaded via MiniPlayer click
Other
- More robust RSC examples
探索相关项目
加载中…