Skip to content

A minimal Hacker News reader for Apple Watch built with SwiftUI.

License

Notifications You must be signed in to change notification settings

wieslawsoltes/HackerNewsWatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HackerNewsWatch (watchOS)

Swift

A minimal Hacker News reader for Apple Watch built with SwiftUI.

  • Scrollable top stories feed with title, points, and comments count
  • Tap a story to view comments in a simple tree-style view
  • "Open Article" link at the top opens the article in the watch browser
  • HN-like styling (orange accent)
image

Requirements

  • Xcode 15 or newer
  • macOS with command line tools
  • Homebrew (for XcodeGen) or install XcodeGen manually

Generate the Xcode project

./scripts/generate.sh

This will install XcodeGen if needed and generate HackerNewsWatch.xcodeproj.

Build

./scripts/build.sh
  • To run on the latest available watchOS Simulator and auto-launch the app:
./scripts/run-sim.sh
  • The script will pick a recent Apple Watch simulator runtime and boot it. You can also open the generated HackerNewsWatch.xcodeproj in Xcode and run there.

Project layout

  • project.yml – XcodeGen spec
  • Sources/WatchApp – Swift sources for the watch app
  • scripts/ – helper scripts to generate and build

Privacy

The app accesses the public Hacker News API over HTTPS and does not collect or store personal data.

License

MIT

About

A minimal Hacker News reader for Apple Watch built with SwiftUI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published