premii / hn Goto Github PK
View Code? Open in Web Editor NEWHacker News mobile app
License: MIT License
Hacker News mobile app
License: MIT License
I have forked this project and have already made significant contributions towards modernizing it. Here's the list of added support and improvements:
I plan on adding / migrating to:
@premii It would be nice if you or other contributors can contribute to my fork, which I hope will be merged later when finished
App is no longer available on the Google Play Store. The link to it from the README shows a "Not Found" page.
Is there a known reason for this?
Hello and thanks for your app again, I really like it. I like it and use it, that's why I notice what follow.
For a better readability in web browsers, I would suggest to reduce the .article-content p
and .comment div
widths to 60%. It will increase height of posts and scrolling, but actually, width is so hight that it's almost impossible to read, because when your eye change from one line to an other, it is lost, and it make the reading much more difficult.
Maybe 60%
is not exactly the right size but it looks like this :
I believe a max-width
in desktop browsers context will also be an interesting thing.
This is not a UI rule, this is something I learned from books typography. The problem doesn't occurs on portrait position on phones because it has the size of a book page, but on a large computer screen, you should change this.
I you don't have time for this I can send you a pull request.
Sorry for any mistake in English grammar and I hope it could help.
https://hn.premii.com expired yesterday (9th January 2019)
So, I'm not quite sure if this is possible, since I don't know how you could extend a UIActivity for Pocket sharing w/ Phonegap but maybe it can be an embedded option to add in-app via the web API? http://getpocket.com/developer/docs/getstarted/web
I quite like the way this app is designed but not being able to easily save links is a bummer (admittedly this would be a non-issue if iOS had a sane sharing system)
Thanks for making this. It is a lifesaver for proxies!
There is a console.log called on line 137 of notify.min.js on live:
var showContent = function(data) {
console.log(data);
var show = true;
if (data.frequency) {
if (notifyHistory(data.id, data.frequency)) {
show = false;
}
else if (data.showThis) {
show = data.showThis();
}
}
I would have created a PR but it seems that build isn't on GitHub.
http://gfycat.com/BasicGlassBinturong
Trying to change the color causes the color to cycle in firefox
iPhone 6+ has the feature where you double tap home, and the app resizes itself to half the original height.
When this is done in the HN app the app will never return to full screen. Simply stays smaller, you need to tap the black empty area above the app to force it to return to original size.
On touch enabled devices such as Microsoft surface. If you use touch the screen once, all mouse events stop working. Only way to fix is to reload the page.
Do you plan to add authentication support to the app? It would be useful to upvote stories and comments.
HTTPS for comments like Y-Combinator's main site (https://news.ycombinator.com/) would be helpful,
Right now this app is used only for reading, it would be greate to add possibility to login to HN and leave a comment.
"quote" in dark theme has white background and kills our eyes
Using the webversion, many sites seem to block loading the content by now. So instead of trying to load it in the app and make it appear nice, you could use an iframe as a fallback to display the site. This way users can stay in the app.
(Via iOS content blocking)
Hi, great app!
It would be really helpful if the comments title were set as the title of the submission. It seems like it would be simple to use the title from the hacker news API instead of the current title on each comments section, "Hacker News".
This would also mirror how hacker news does its own comments and help my tabbed browsing tremendously. Thanks!!
When I share an article on iOS to another app, say Telegram, this is what shows up:
http://hn.premii.com/#/article/11219208
Hacker News
Read Hacker News articles and comments with this clean, simple, modern looking and fast performing universal app.
This isn't very user-friendly as there is no preview: no article title, no article-specific snippet. This would work a lot better if the app didn't share URLs to the premii web UI (this is slower for recipients anyway). Instead, the app should share the standard URL, e.g. https://news.ycombinator.com/item?id=11219208
At least, it would be great if we had a setting to use the standard Hacker News URLs.
Since the update on 2018-01-05, web views no longer open in Safari View Controller.
Tap on an article
Tap on the URL at the top
Expected: opens Safari View Controller with web view
Actual: switches to Safari and opens link there
The scrollbar is black and not visible in dark theme. Would be nice to be the same colour as the main colour.
If the number of comments is high (more than 250), all comments are not loaded in app.
Please add the Month's best HN stories next to the Week's best.
Please dump the source code of that page somewhere so we can fix it. Thanks
I just wanted to let you know that the article http://hn.premii.com/#/article/8749605/ points to the wrong article on both the web app and on the android app. When I follow the link http://www.sciencealert.com/this-plane-will-be-able-to-fly-anywhere-in-the-world-within-4-hours it is the correct article. Currently an article about mummies shows up.
Thank you for the awesome app and I just wanted to let you know in case you were interetsed in figuring out why it points to the wrong article.
When its opened from the home screen on my ipad or iphone, it opens without chrome thanks to the apple meta tags. Seems nice, til you try to go to the original story, then go back—there's no back button, and swiping doesn't work. the only way for me to get back to the app is to hit the home button then go back into the app. I like the chromeless aspect of it, but its super annoying to be unable to navigate back to where I came from.
Since I'm using it as a web app on my phone, having appcache will greatly reduce the bandwidth cost.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.