wpli / hackerweb-ios

A simply readable Hacker News app for iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HackerWeb for iOS

A simply readable Hacker News app for iOS.

Story

On June 2011, I made a statement.

On October 2011, I was playing around with some code.

On Feb 2012, I released HackerWeb (known as "HNmobile" at that time). I tried to coin the phrase "Looks and feels like a native iOS app" for the web app. I believe that HackerWeb is the first ever web app that tries to seriously cross the boundaries of native mobile apps.

HNmobile landing web site

On March 2012, I wrote an article on how I built it. It got submitted to Hacker News and appeared on the front page.

Very meta

Feedback has been amazing.

SengMin Tan (@sengming)

Sebastien Arbogast (@sarbogast)

Mitchell (@mitchell209)

  • Really impressed by @cheeaun's Hacker News mobile web app. Much better than any native clients/the full site on iOS.

Nathan Clark (@nthnclrk)

Philip (@philo23)

  • This web app feels snappier than every native HN app I've tried. You should give it a try too.

Romain Ruetschi (@_romac)

  • This is THE BEST and ONLY useful way to read Hacker News on an iPhone or iPad. Bookmark.

Scott Hanselman (@shanselman)

Okay fine, I'll stop now.

Time goes by as I continue improving the app bit by bit. Since it's a web app, it auto-updates itself quietly and doesn't need uh... much announcements.

Okay I lied, more tweet reviews:

  • I use HackerWeb every day, best thing ever.

Mario Ricalde (@mario_ricalde)

  • HackerWeb A simply readable Hacker News web app to bookmark on your mobile phone http://buff.ly/1tLaNwR - and it's open source :)

Jacob Shea (@JacobShea)

  • Have you guys seen HackerWeb? HackerNews reading pleasure (mobile included)

Hugo Bessa (@hugoBessaa)

Vince Mi (@v_mi)

Ever since HackerWeb is launched, there's been a few relevant articles and JS libraries popping up on the Internet:

...and probably a few more which I've missed.

Obviously I'm quite obsessed with "native". When React Native is announced on January 2015, I was excited and a little sceptical. I tried it and wasn't satisfied with it. After attending ReactEurope on July 2015, I become inspired again to try React Native and finally this project comes alive.

My previous attempt is to make a web app to look and feel like a native app. Now I have make a native app to look and feel like the web app!

So this is it. HackerWeb for iOS. Since 2011.

Preview

Development

Requirements

Getting started

  • npm install - Install all dependencies

Implementations

Bundling standalone modules

Some npm modules don't work with React Native so I have to compile them into a standalone module. Here's an example of the steps to bundle htmlparser2:

  1. npm install -g browserify if not installed
  2. git clone https://github.com/fb55/htmlparser2
  3. cd htmlparser2
  4. npm install
  5. browserify lib/index.js --standalone htmlparser2 > htmlparser2.js
  6. Move the generated htmlparser2.js file to the vendor folder in this repo

Running on device (iOS)

This article has good documentation on this: Running On Device (iOS).

Components

Similar apps

License

MIT.

About

A simply readable Hacker News app for iOS.


Languages

Language:JavaScript 89.6%Language:Objective-C 10.4%