Show HN: Open sourcing Harmonic, my Android Hacker News client
305 points| swesnow | 2 years ago |github.com | reply
I'm the developer of one of the most popular Android clients for HN, Harmonic for Hacker News. Over the years I have recieved many requests to open source the app which I am finally doing - sorry about taking so long :)
Having been very busy working on my PhD during the last two years - Harmonic has not recieved the attention it deserves. I therefore hope that open sourcing it can give it a new lease on life. I also hope that by posting here many of the nice people who have reached out to me will notice that the app is finally open source. I'm also happy to answer questions about the app but cannot make any hard promises about future features.
(As a note; I wouldn't call the architecture of the app a beauty by any means - it is very much cobbled together using my (somewhat outdated) knowledge about Android development.)
-- Simon
[+] [-] ejj28|2 years ago|reply
[+] [-] mmanfrin|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] j_french|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] raybb|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] wantguns|2 years ago|reply
Thanks a lot for open-sourcing it.
I wait for the day, where I can finally get a good HN client at F-Droid :)
[+] [-] eastof|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] darnir|2 years ago|reply
[+] [-] pulpfictional|2 years ago|reply
Other way around is a better choice IMO.
[+] [-] levidos|2 years ago|reply
[+] [-] MartinodF|2 years ago|reply
That said, if you have any spare time to dedicate to it, it would be great if you could open some issues on GitHub to express what you have been wanting to do but didn't manage to. I don't have any gripes with the app as-is (other than adding Material You support, but that's likely to require some large changes) and it would be great to have some guidance on what would be useful to contribute.
Thanks!
[+] [-] swesnow|2 years ago|reply
The GitHub issues is a very good point! I have a long Google Keep list with things I've been meaning to do and hadn't even thought about opening issues to guide to help. I'll try to get some of those up tomorrow :)
[+] [-] Reubend|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] cudder|2 years ago|reply
Aside from that the other thing that makes me go back to Chrome are occasional crashes. Seeing how many people daily drive the app and nobody else has mentioned this, I have to wonder if it's something to do with my setup specifically. I do remember it happening on my previous phone (Samsung Galaxy A40, I think) in addition to my current one (Motorola Edge 20) so I just assumed it was something the app does for everyone. I think it usually happens when the app has been on the background for a while, and then I reopen it and it'll start to fetch the new stories and then crash.
Do you receive some sort of reports automatically from such crashes? I have zero Android app development experience so I don't know where to look for logs or what to try next.
[+] [-] swesnow|2 years ago|reply
I get automatic reports on crashes and about 99% of them are WebView crashed in native code. I've Googled this a bit and am under the impression that these are unavoidable but I definitiely do not understand it. My impression is that they are due to bad performance but it is unclear if anything can be done from the app side to mitigate the issue.
The actual Java crashes (i.e. crashes in the Harmonic code) are relatively few according to the console data I have and mostly non-deterministic but if you have a crash you can replicate I'd appreciate if you can describe it so I can see if I can get the same behavior on my side.
[+] [-] sagz|2 years ago|reply
A couple feature requests! 1. Enable deep linking. Capture the news.ycombinator links on my phone and they auto open in Harmonic 2. Something is broken in the login form that blocks my autofill from working (1password, but it should be the same for any as it's an Android level API)
[+] [-] swesnow|2 years ago|reply
1. Deep linking used to work a couple years back but I think there was some Android change making it harder meaning you had to verify that you had ownership of the domain. Perhaps this is possible to bypass but I haven't looked into it.
2. This totally slipped my mind; I just found out there's an autofillHints attribute which you can give to text boxes - I'll try to get this fixed. Thanks :)
[+] [-] suddenclarity|2 years ago|reply
[+] [-] pylbrecht|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
THere is an option to export bookmarks in the bottom of the settings and technically if you are a very hardcore person you could set up a Python script to import them but of course this is way too hardcore for most people.
[+] [-] dlojudice|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] XMasterrrr|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] FireInsight|2 years ago|reply
[+] [-] Ashymad|2 years ago|reply
[+] [-] thereticent|2 years ago|reply
[+] [-] ejj28|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] t0rb3n_|2 years ago|reply
One question though. Is it possible to change the accent color when using the Material You (light) theme?
[+] [-] swesnow|2 years ago|reply
As can be found in/values/themes.xml line 119, the accent color is one of the automatically extracted material you colors. Therefore you could change your wallpaper to change the color but I haven't got any plans to change the material you color used. However I don't use light mode and perhaps it is bad - in that case a change may perhaps be in order.
[+] [-] kawemi|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] lostin|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] whalesalad|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] nickexyz|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] CuteDepravity|2 years ago|reply
[+] [-] swesnow|2 years ago|reply
[+] [-] nunobrito|2 years ago|reply
Anyways, fantastic work with the app. I'm using it right now for writing this comment. Thank you for making it available.