Improve config & instruction

This commit is contained in:
dakedres 2024-01-10 20:04:35 -05:00
parent a7278084f4
commit 040bd8f6fa
3 changed files with 5 additions and 7 deletions

7
README
View File

@ -8,10 +8,7 @@ Twitter (through nitter) sources are supported.
| Usage | Usage
- Run `yarn run setup`, `npm run setup`, etc. - `yarn run setup`
- Add usernames and such to the "feeds" array in config.js - Add usernames and such to the "feeds" array in config.js
- `bun .` - `yarn run start`
- Open `out/index.html` in a browser. Enjoy :) - Open `out/index.html` in a browser. Enjoy :)
Links
1. https://bun.sh

View File

@ -1,5 +1,5 @@
const courtesyWait = 1000 * 10 const courtesyWait = 1000 * 10
const linkToIndex = false const linkToIndex = true
const pageSize = 20 const pageSize = 20
const printDate = date => const printDate = date =>

View File

@ -4,6 +4,7 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "node .",
"setup": "mkdir out && cp -r default/* ." "setup": "mkdir out && cp -r default/* ."
}, },
"author": "", "author": "",