CORE FEATURES
Browse Top Stories
Access the latest top stories from Hacker News with smart pagination.
Automatic Caching
Articles and comments are automatically cached for offline reading with 24-hour expiration.
Smart Preloading
Articles are preloaded into memory before you open them for instant access.
Threaded Comments
Full comment threads with inline previews and recursive nested comment trees.
Cross-Platform
Works seamlessly on both iOS and Android devices.
Progressive Loading
Loads 20 stories initially with "Load more" pagination for smooth browsing.
TECHNOLOGY STACK
CORE FRAMEWORK
- React Native 0.81.4 Mobile framework
- React 19.1.0 UI library
- Expo ~54.0.7 Development platform
- TypeScript ~5.9.2 Type safety
KEY LIBRARIES
- AsyncStorage 2.2.0 Comment caching
- react-native-webview 13.16.0 Article display
- react-native-render-html 6.3.4 Comment rendering
🔥 HACKER NEWS API
Integrated with the official Hacker News Firebase API for real-time story and comment fetching.
https://hacker-news.firebaseio.com/v0/topstories.json
https://hacker-news.firebaseio.com/v0/item/{id}.json
THREE-LAYER CACHING
WebView Preloading
WebViewPreloadProvider.tsx
Preemptively fetches article HTML into memory before user opens. Provider wraps App.tsx and exposes context methods. Stories automatically preload the next article.
Comment Storage
commentStorage.ts
AsyncStorage with 24-hour expiration. Individual comments stored
as hn_comment_{id}. Full story threads stored as
hn_story_comments_{storyId}.
Comment Fetching
commentUtils.ts
Cache-first API calls to Hacker News API. Recursively fetches nested comment trees. Filters out deleted/dead comments automatically.
APP SCREENSHOTS
GETTING STARTED
Download HNews Offline from the Apple App Store today and start reading Hacker News offline.
DOWNLOAD ON APP STORE