Live data from Hacker News

Show HN: A native macOS client for Hacker News, built with SwiftUI

github.com

21–30 of 192 posts

Re: Show HN: A native macOS client for Hacker News, built with SwiftUI

#23
post #17

> Built-in ad blocking — a precompiled WKContentRuleList blocks 14 major ad networks (DoubleClick, Google Syndication, Criteo, Taboola, Outbrain, Amazon ads, etc.) right in the WebKit layer. No extensions needed. Toggleable in settings This is a good start, but I think a better approach would be to piggyback off of ublock origin's lists. Hopefully less maintenance that way too.

> I think a better approach would be to piggyback off of ublock origin's lists That won’t work. uBlock origin is licensed GPLv3 ( https://github.com/gorhill/uBlock ), this code is MIT licensed ( https://github.com/IronsideXXVI/Hacker-News ).

Great point, thanks!

@IronsideXXVI, are you open to changing to gpl v3? Otherwise, there is probably a decent set of filter lists with an MIT license somewhere. The goal is for you to NOT become a filter list maintainer, and by piggybacking off an already respected set of lists, you'd build user trust in your adblocking.

Re: Show HN: A native macOS client for Hacker News, built with SwiftUI

#27

Looks nice but I don't have/want a Mac so I can't really use it. Support for other platforms would be nice.

Supposedly people are raving about Swift being cross-platform nowadays, this seems like a simple example where the Swifties can prove how useful/practical that is in practice.

Swift is de-facto cross-platform without limitations.

SwiftUI is something entirely different and not trying to be cross-platform at all.

Re: Show HN: A native macOS client for Hacker News, built with SwiftUI

#29
post #28

Ah, this gives me 2002 vibes where coolest websites started to produce native clients for their websites so their users could read and comment offline. This is sooo good.

WHAT? The client size is 2 megabytes? It can fit onto two floppy drives! Man, this is something. It's even more 2002 vibes! And I haven't installed it yet.

Bravo!

Re: Show HN: A native macOS client for Hacker News, built with SwiftUI

#30

Earlier quoted context omitted.

Supposedly people are raving about Swift being cross-platform nowadays, this seems like a simple example where the Swifties can prove how useful/practical that is in practice.

Swift is de-facto cross-platform without limitations. SwiftUI is something entirely different and not trying to be cross-platform at all.

Ok, so Swift-the-language is cross-platform, but can't actually do cross-platform UIs. So great for CLIs, bad for everything needing a GUI?
Post reply on HN