Giter Club home page Giter Club logo

fullhackernews's Introduction

FullHackerNews

Read all Hacker News articles in one single static page, optimized for reading. I use it to load all articles for offline reading on my iPhone.

Can work with any other feed.

Requirement

  • PHP >= 5.6.0
  • Amazon S3 account

Installing

  • Make the cache folder writable
  • Create an S3 bucket, configured as a Web server
  • upload the content of www to the S3 bucket
  • copy example.env to .env and update the values, or set env variables
  • install dependencies : $ php composer.phar install
  • run php index.php periodically
  • enjoy

License

This project is released under the BSD license.

fullhackernews's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fullhackernews's Issues

The links in the list moves the screen but not cursor

I'm using my keyboard to read your web app.
First, I am in the list, I select my article, and when pressed enter, the screen move.
however, the cursor stay in the list, if key up or key down is pressed, the screen scroll to the list.

This is an example where the cursor follow the link in the same time that the cursor.
https://www.nvaccess.org/files/nvda/documentation/userGuide.html#toc4

If you want to yse the cursor in the browser, press F7.

Add rel=canonical

Your service displays full articles that are overwhelmingly subject to copyright in their entirety. This may, in and of its own, constitute copyright infringement.

To lessen the effects and indeed act as a reputable aggregator, I would strongly recommend adding the rel=canonical tag to the HTML output so as to not appear in search engine results.

non-S3?

Wouldn't an option to not use S3 be a good idea, as well?

Some advice

1, Put the "INDEX" button between the "PREV" and the "NEXT" for a better experience.
2, Change cron time to <1 min
3, Mobile optimize needed

Force reload on page view

Is it possible to have say fullhn.com?reload=true and this will clear the cache and reload automatically. This will help me set bookmark and access latest content when users have internet connection.

Add documentation about loading algorithm

Cool project, thanks for building it! ๐Ÿ˜

Can you maybe document somewhere how exactly the reloading of the hosted fullhn.com site works.
When are articles added / removed from the list?

Add cache manifest

For offline use, adding a cache manifest would allow people to really read articles offline.
Everytime a new index.html is generated:

  • generate a corresponding manifest
  • use the date as cache version
  • upload it to S3
  • add the proper Content-Type: text/cache-manifest

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.