Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ngquerol/Diurna
Basic/Classic Hacker News app, used as a Cocoa & Swift learning platform
https://github.com/ngquerol/Diurna
cocoa hacker-news macos news swift
Last synced: about 1 month ago
JSON representation
Basic/Classic Hacker News app, used as a Cocoa & Swift learning platform
- Host: GitHub
- URL: https://github.com/ngquerol/Diurna
- Owner: ngquerol
- License: mit
- Created: 2016-02-13T09:49:09.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T20:40:44.000Z (6 months ago)
- Last Synced: 2024-08-01T23:33:01.649Z (4 months ago)
- Topics: cocoa, hacker-news, macos, news, swift
- Language: Swift
- Homepage:
- Size: 6.78 MB
- Stars: 103
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- open-source-mac-os-apps - Diurna - Basic/Classic Hacker News app, used as a Cocoa & Swift learning platform. ![swift_icon] (Applications / News)
- open-source-mac-os-apps - Diurna - Basic/Classic Hacker News app, used as a Cocoa & Swift learning platform. ![swift_icon] (Applications / News)
- awesome-swift-macos-apps - Diurna - Basic/Classic Hacker News app, used as a Cocoa & Swift learning platform. (News / Text)
- awesome-swift-macos-apps - Diurna - Basic/Classic Hacker News app, used as a Cocoa & Swift learning platform. (News / Text)
README
# 📰 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](https://github.com/HackerNews/API) are handled.There are two prerequisites for running the app:
- You need to [set up](https://firebase.google.com/docs/ios/setup?authuser=0#create-firebase-project)
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](https://cocoapods.org); 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](algolia)
- [ ] more icons?... And many more.
## 📸 Screenshots
![Light](diurna.png)
![Dark](diurna_dark.png)