├── .eslintrc ├── .github └── workflows │ └── deploy.yml ├── .gitignore ├── .vscode └── settings.json ├── README.md ├── deno.jsonc ├── import-map.json ├── package.json ├── pnpm-lock.yaml ├── public ├── app.webmanifest ├── darkbluearrow.png ├── darkbluearrow2x.png ├── darky18.png ├── favicon.ico ├── grayarrow.gif ├── grayarrow2x.gif ├── hn.js ├── icon_1024_mac.png ├── icon_1024_maskable.jpg ├── icon_1024_win.webp ├── new.png ├── news.css ├── s.gif ├── y18.gif └── y18.png ├── src ├── api │ ├── .gitignore │ ├── dom-api.ts │ ├── firebase.ts │ ├── index.ts │ ├── interface.ts │ ├── iter.ts │ ├── make-api.ts │ ├── rest-api.ts │ ├── rewrite-content.ts │ └── sw-api.ts ├── entry │ ├── cf.ts │ ├── deno-globals.ts │ ├── deno.ts │ ├── globals.ts │ ├── sw-def.ts │ └── sw.ts ├── location.ts ├── router.ts ├── routes │ ├── assets.ts │ ├── components.ts │ ├── index.ts │ ├── item.ts │ ├── manifest-handler.js │ ├── news.ts │ ├── threads.ts │ └── user.ts ├── stubs │ ├── device-detector.ts │ ├── firebase.ts │ ├── linkedom.ts │ └── perf_hooks.js └── vendor │ ├── aggregate-error.ts │ ├── async-queue.ts │ ├── awaited-values.ts │ ├── common-types.ts │ ├── custom-event-polyfill.ts │ ├── enumerable.ts │ ├── map-append.ts │ └── unsettle.ts ├── tsconfig.json ├── tsconfig.sw.json ├── typings ├── blockies.d.ts ├── global.d.ts └── negotiated.d.ts ├── worker-news.jpg └── wrangler.toml /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/README.md -------------------------------------------------------------------------------- /deno.jsonc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/deno.jsonc -------------------------------------------------------------------------------- /import-map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/import-map.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/app.webmanifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/app.webmanifest -------------------------------------------------------------------------------- /public/darkbluearrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/darkbluearrow.png -------------------------------------------------------------------------------- /public/darkbluearrow2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/darkbluearrow2x.png -------------------------------------------------------------------------------- /public/darky18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/darky18.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/grayarrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/grayarrow.gif -------------------------------------------------------------------------------- /public/grayarrow2x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/grayarrow2x.gif -------------------------------------------------------------------------------- /public/hn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/hn.js -------------------------------------------------------------------------------- /public/icon_1024_mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/icon_1024_mac.png -------------------------------------------------------------------------------- /public/icon_1024_maskable.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/icon_1024_maskable.jpg -------------------------------------------------------------------------------- /public/icon_1024_win.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/icon_1024_win.webp -------------------------------------------------------------------------------- /public/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/new.png -------------------------------------------------------------------------------- /public/news.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/news.css -------------------------------------------------------------------------------- /public/s.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/s.gif -------------------------------------------------------------------------------- /public/y18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/y18.gif -------------------------------------------------------------------------------- /public/y18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/public/y18.png -------------------------------------------------------------------------------- /src/api/.gitignore: -------------------------------------------------------------------------------- 1 | _* -------------------------------------------------------------------------------- /src/api/dom-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/api/dom-api.ts -------------------------------------------------------------------------------- /src/api/firebase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/api/firebase.ts -------------------------------------------------------------------------------- /src/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/api/index.ts -------------------------------------------------------------------------------- /src/api/interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/api/interface.ts -------------------------------------------------------------------------------- /src/api/iter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/api/iter.ts -------------------------------------------------------------------------------- /src/api/make-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/api/make-api.ts -------------------------------------------------------------------------------- /src/api/rest-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/api/rest-api.ts -------------------------------------------------------------------------------- /src/api/rewrite-content.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/api/rewrite-content.ts -------------------------------------------------------------------------------- /src/api/sw-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/api/sw-api.ts -------------------------------------------------------------------------------- /src/entry/cf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/entry/cf.ts -------------------------------------------------------------------------------- /src/entry/deno-globals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/entry/deno-globals.ts -------------------------------------------------------------------------------- /src/entry/deno.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/entry/deno.ts -------------------------------------------------------------------------------- /src/entry/globals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/entry/globals.ts -------------------------------------------------------------------------------- /src/entry/sw-def.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/entry/sw-def.ts -------------------------------------------------------------------------------- /src/entry/sw.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/entry/sw.ts -------------------------------------------------------------------------------- /src/location.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/location.ts -------------------------------------------------------------------------------- /src/router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/router.ts -------------------------------------------------------------------------------- /src/routes/assets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/routes/assets.ts -------------------------------------------------------------------------------- /src/routes/components.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/routes/components.ts -------------------------------------------------------------------------------- /src/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/routes/index.ts -------------------------------------------------------------------------------- /src/routes/item.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/routes/item.ts -------------------------------------------------------------------------------- /src/routes/manifest-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/routes/manifest-handler.js -------------------------------------------------------------------------------- /src/routes/news.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/routes/news.ts -------------------------------------------------------------------------------- /src/routes/threads.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/routes/threads.ts -------------------------------------------------------------------------------- /src/routes/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/routes/user.ts -------------------------------------------------------------------------------- /src/stubs/device-detector.ts: -------------------------------------------------------------------------------- 1 | export default class DeviceDetector {} -------------------------------------------------------------------------------- /src/stubs/firebase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/stubs/firebase.ts -------------------------------------------------------------------------------- /src/stubs/linkedom.ts: -------------------------------------------------------------------------------- 1 | export class DOMParser {} -------------------------------------------------------------------------------- /src/stubs/perf_hooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/stubs/perf_hooks.js -------------------------------------------------------------------------------- /src/vendor/aggregate-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/vendor/aggregate-error.ts -------------------------------------------------------------------------------- /src/vendor/async-queue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/vendor/async-queue.ts -------------------------------------------------------------------------------- /src/vendor/awaited-values.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/vendor/awaited-values.ts -------------------------------------------------------------------------------- /src/vendor/common-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/vendor/common-types.ts -------------------------------------------------------------------------------- /src/vendor/custom-event-polyfill.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/vendor/custom-event-polyfill.ts -------------------------------------------------------------------------------- /src/vendor/enumerable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/vendor/enumerable.ts -------------------------------------------------------------------------------- /src/vendor/map-append.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/vendor/map-append.ts -------------------------------------------------------------------------------- /src/vendor/unsettle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/src/vendor/unsettle.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.sw.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/tsconfig.sw.json -------------------------------------------------------------------------------- /typings/blockies.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/typings/blockies.d.ts -------------------------------------------------------------------------------- /typings/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/typings/global.d.ts -------------------------------------------------------------------------------- /typings/negotiated.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/typings/negotiated.d.ts -------------------------------------------------------------------------------- /worker-news.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/worker-news.jpg -------------------------------------------------------------------------------- /wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/worker-tools/worker-news/HEAD/wrangler.toml --------------------------------------------------------------------------------