From 040bd8f6fa65685ddb79d862c64a31a78d6852ff Mon Sep 17 00:00:00 2001 From: dakedres Date: Wed, 10 Jan 2024 20:04:35 -0500 Subject: [PATCH] Improve config & instruction --- README | 9 +++------ default/config.js | 2 +- package.json | 1 + 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README b/README index 92c04ec..b3bd122 100644 --- a/README +++ b/README @@ -8,10 +8,7 @@ Twitter (through nitter) sources are supported. | Usage -- Run `yarn run setup`, `npm run setup`, etc. +- `yarn run setup` - Add usernames and such to the "feeds" array in config.js -- `bun .` -- Open `out/index.html` in a browser. Enjoy :) - -Links -1. https://bun.sh \ No newline at end of file +- `yarn run start` +- Open `out/index.html` in a browser. Enjoy :) \ No newline at end of file diff --git a/default/config.js b/default/config.js index 14d4fc0..bc48a5c 100644 --- a/default/config.js +++ b/default/config.js @@ -1,5 +1,5 @@ const courtesyWait = 1000 * 10 -const linkToIndex = false +const linkToIndex = true const pageSize = 20 const printDate = date => diff --git a/package.json b/package.json index a1e92fe..a9d0b55 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "", "main": "index.js", "scripts": { + "start": "node .", "setup": "mkdir out && cp -r default/* ." }, "author": "",