The Daily Lore is a lightweight, static news aggregation website.
- News API for the headlines
- Materialize for styling
- Custom build to avoid including unused components
- Netlify for hosting and continuous deployment
- Google Analytics for tracking pageviews
- StatusCake for monitoring
- Zapier for triggering daily deploys to update the headlines through a Netlify webhook
Check out the scripts in package.json
. You can also develop using the dev
script. Run $ ./dev
to see the options. To get started, run $ yarn start
or
$ ./dev start
.
If you make any changes to the source, the bundle will be rebuilt, and the page should refresh by itself.
To view debug output,
set localStorage.debug = 'lore';
in the browser console, and reload the page.
The tests use Playwright, which controls a headless instance of Chrome. If you need to debug the tests, check out these debugging tips.
This website was one of my earliest projects, and I abandoned it for a few years before reviving it. The (terrible) legacy source code is in this repo.