ngquerol / Diurna

Basic/Classic Hacker News app, used as a Cocoa & Swift learning platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿ“ฐ Diurna

Basic/Classic Hacker News app, used as a Cocoa & Swift learning platform

โš ๏ธ Warning

The code leaves a lot to be desired (I am only working on this from time to time and am still learning), as does the git history.

๐Ÿ”จ Building

This project consists in a workspace and two projects, App and HackerNewsAPI. As their names suggest, the first is a good old AppKit macOS application, and the second is a framework where all interactions with the official HN API are handled.

There are two prerequisites for running the app:

  • You need to set up your own Firebase project and provide the corresponding GoogleService-Info.plist file by placing it in the App/Resources directory. The DATABASE_URL key should however always be set to the official HN API URL, i.e. https://hacker-news.firebaseio.com.

  • Dependencies are managed through Cocoapods; You must execute pod install in the project directory in order to retrieve them, once you have cloned it.

๐Ÿ“ TODO

  • user preferences
  • fix comment folding
  • fix code blocks layout
  • comment row height cache
  • proper networking
  • user login & voting
  • polls
  • proper toolbar
  • propert search, using https://hn.algolia.com
  • more icons?

... And many more.

๐Ÿ“ธ Screenshots

Light

Dark

About

Basic/Classic Hacker News app, used as a Cocoa & Swift learning platform

License:MIT License


Languages

Language:Swift 96.7%Language:Python 2.1%Language:Objective-C 0.4%Language:Rich Text Format 0.4%Language:Ruby 0.4%