Skip to content
📰 News headlines aggregator
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
site
src
test
.editorconfig
.eslintignore
.gitattributes
.gitignore
.ignore
.nvmrc
.prettierignore
.sass-lint.yml
.travis.yml
.yarnrc
LICENSE
README.md
dev
jest-puppeteer.config.js
netlify.toml
package.json
template.env
webpack.config.js
yarn.lock

README.md

The Daily Lore

Build Status Netlify Status

The Daily Lore is a lightweight, static news aggregation website.

Tools and Infrastructure

Development

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 (thanks to webpack-dev-server).

To view debug output, set localStorage.debug = 'lore'; in the browser console, and reload the page.

The tests use Puppeteer, which controls a headless instance of Chrome. If you need to debug the tests, you can turn headless mode off with $ HEADLESS=0 dev test so that you can actually see the browser. You can also add an await jestPuppeteer.debug(); statement to the test to suspend execution. Lastly, you can add the slowMo option to jest-puppeteer.config.js to slow everything down.

Legacy

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.

License

MIT

You can’t perform that action at this time.