Commit Graph
47 Commits
Author SHA1 Message Date
DIYgod 3ae25ddb7a feat: support twitter username and password login 2024-01-29 20:06:44 +08:00
Tony 6d901cb7dc style(eslint): add eslint-unicorn (#14257)
* style: add eslint-unicorn

* style: fix unicorn/no-useless-spread

* style: fix unicorn/no-useless-promise-resolve-reject

* style: fix unicorn/no-for-loop

* fix: codeql bad HTML filtering regexp

* fix: codeql incomplete replace

* fix: unicorn/no-abusive-eslint-disable

* style: fix unicorn/no-new-array

* style: fix unicorn/no-typeof-undefined

* style: fix unicorn/no-zero-fractions

* style: fix unicorn/no-empty-file

* style: fix unicorn/prefer-date-now

* revert: auto fix unicorn/prefer-switch on lib/v2/kuaidi100/utils.js

* style: fix unicorn/prefer-array-find

* style: fix unicorn/prefer-array-flat

* style: fix unicorn/prefer-array-flat-map

* style: fix unicorn/prefer-at

* style: fix unicorn/prefer-string-starts-ends-with

* style: fix unicorn/prefer-includes

* fix: codeql URL substring sanitization

* style: fix unicorn/prefer-optional-catch-binding

* style: fix unicorn/catch-error-name

* style: fix unicorn/escape-case

* style: fix unicorn/prefer-native-coercion-functions

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/require-array-join-separator

* style: fix unicorn/prefer-math-trunc

* style: fix unicorn/prefer-negative-index

* style: fix unicorn/prefer-dom-node-dataset

* style: fix unicorn/prefer-dom-node-text-content

* style: fix unicorn/prefer-query-selector

* style: fix unicorn/no-array-for-each

* style: fix unicorn/no-negated-condition

* style: fix unicorn/prefer-add-event-listener

* style: fix unicorn/import-style

* style: fix prefer-regex-literals

* style: disable unicorn/no-useless-switch-case

* style: disable unicorn/text-encoding-identifier-case

* style: fix unicorn/prefer-set-has

* style: fix unicorn/prefer-spread

* revert: auto fix on lib/routes/universities/ynnu/edu/base64.js

* style: fix unicorn/no-useless-undefined

* style: fix unicorn/no-array-push-push

* style: fix unicorn/no-useless-undefined again

* style: fix unicorn/no-lonely-if

* style: fix unicorn/prefer-reflect-apply

* style: fix unicorn/switch-case-braces

* style: fix unicorn/prefer-switch

* style: fix unicorn/prefer-array-some

* fix: deepscan UNUSED_VAR_ASSIGN

* style: fix unicorn/prefer-ternary

* fix: follow-up of unicorn/prefer-ternary

* revert: auto fix of unicorn/prefer-string-slice for substring()

* style: disable unicorn/prefer-string-slice

fix: auto fix slice over deprecated substr

* style: fix unicorn/throw-new-error

* style: fix unicorn/filename-case

* test: fix dateParser renaming

* style: fix unicorn/better-regex

* style: fix unicorn/prefer-string-replace-all

* fix(deps): add sanitize-html

* style: fix no-prototype-builtins

* style: fix unicorn/consistent-destructuring

* style: fix unicorn/consistent-function-scoping

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/prefer-logical-operator-over-ternary

* style: fix unicorn/no-array-callback-reference

* style: add prefer-object-has-own

* style: warn unicorn/no-empty-file

* style: fix unicorn/prefer-number-properties

* style: fix no-useless-undefined again

* style: fix unicorn/numeric-separators-style

* style: disable unicorn/no-array-callback-reference

false postive with cheerio
2024-01-18 20:43:40 +08:00
Carson Yang f9ac1e2c72 docs: Add deploy to Sealos (#14259) 2024-01-16 09:04:30 +00:00
JimenezLi 0e70524248 feat(proxy): add PAC script support (#14218)
* feat(proxy): add PAC script support

* fix pnpm fail

* fix coverage

* fix coverage final

* update docs
2024-01-13 02:35:56 +00:00
Manish Bhattarai 176341e95b docs: change html example to use items variable instead of item (#14205)
* change html example to use items variable instead of item

The existing example for HTML retrieval uses 'item' variable on item retrieval, but the final rss output uses the 'items' variable. This results in undefined variable for anyone who directly uses the example code.

* docs: fix cn docs too

---------
2024-01-08 12:16:11 +08:00
Tony 1f90b69973 fix: adjust http log level (#14114)
* feat: log redirect

* fix: change puppeteer/proxy/redirect/got log level to `http`

ref: https://github.com/winstonjs/winston#logging-levels (npm levels)
2023-12-26 02:23:33 +08:00
只捱宅 1f9e472142 docs: fix path of zh configuration (#14100) 2023-12-23 00:09:55 +08:00
DIYgod 78001402b5 feat: remove notOperational routes - reading 2023-12-21 23:12:31 +08:00
DIYgod 4cf17c004c feat: remove notOperational routes - social media 2023-12-18 22:33:53 +08:00
DIYgod 279584775d feat: update github radars 2023-12-18 21:33:36 +08:00
DIYgod 08b8181254 docs: update badge 2023-12-18 21:09:18 +08:00
DIYgod 3a80ecd6dd docs: update badge 2023-12-18 16:34:11 +08:00
DIYgod a02b0c95bc docs: update badge 2023-12-18 00:19:43 +08:00
nightmare-mio 5774a576a9 feat(route): 轻之国度 文章更新阅读 #11848 (#13938)
* add router 关于bilibili票务

* bilibili票务基础模板

* add bilibili会员购票务 maintainer

* add cookie

* doc文档,radar

* add 补充内容

* 修改doc条目顺序,优化代码

* fix:修复doc文旦错误,移除作者备注

* fix: delete radar.js中的多余文字

* fix: 修复错误

* 开坑,轻之国度。

* 轻之国度,主体完成

* fix: router.js

* 添加文章正文内容

* 文档补全

* cookie可从环境变量赋值

* fix:补充说明

* fix:补充说明

* fix:puppeteer浏览器没有关闭的问题

* fix: 作者名字写错了

* fix: delete tpye in route,modify case

* fix: puppeteer change to got

* fix:remove collctions and puppeteer

* fix: add cookie doc

* fix: website can not run beacuse '
2023-12-10 22:56:02 +08:00
incubator4 5921d8aba8 docs(deploy): Implement helm chart deploy docs. (#13962)
* feat(deploy): implement helm chart deploy docs.

* docs: add chinese translation

* docs: remove extra empty line

---------
2023-12-06 02:07:52 +08:00
Tony ea24778c47 docs: fix URL encoding in website components 2023-12-02 23:17:42 +08:00
DIYgod 91619677b0 docs: update sponsors and backers 2023-12-02 03:51:54 +08:00
DIYgod b4f91e285c docs: add radar description 2023-12-02 03:04:09 +08:00
DIYgod a975237f76 docs: remove rssbud badge 2023-12-02 02:43:00 +08:00
DIYgod 6ec4736c68 docs: better route component styles 2023-12-02 02:25:55 +08:00
DIYgod bc7a386ff3 docs: img loading lazy 2023-12-01 23:51:40 +08:00
DIYgod 8558382d95 docs: add twitter token generation script 2023-12-01 23:40:44 +08:00
TonyRL a35b10c1dc chore: Update PR template 2023-12-01 14:16:15 +00:00
DIYgod e30c50694c feat: support remote config 2023-12-01 11:19:00 +08:00
DIYgod 46300f5699 docs: rename selfhost to configRequired 2023-12-01 10:36:02 +08:00
TonyRL f9cda41946 docs: format docs using markdownlint-cli2 2023-11-30 18:07:46 +00:00
DIYgod 52fbf7cdb2 docs: add config page 2023-11-30 03:10:46 +08:00
TonyRL a322dae132 docs: clickable contributors
refs: https://docs.opencollective.com/help/collectives/collective-settings/data-export#contributor-image
2023-11-29 16:07:12 +00:00
3a5488acdc feat: Support RSS3 UMS output format (#13900)
* feat: support RSS3 UMS output

also optimized middleware/template

* fix: rss3_ums function name

* feat: handle current timestamp in UMS

* feat: add authors

* chore: update UMS type

* chore(deps-dev): bump @types/react from 18.2.37 to 18.2.38 in /website (#2249)

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.37 to 18.2.38.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/markdown-it in /website (#2250)

Bumps [@types/markdown-it](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/markdown-it) from 13.0.6 to 13.0.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/markdown-it)

---
updated-dependencies:
- dependency-name: "@types/markdown-it"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/react-dom in /website (#2252)

Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.15 to 18.2.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/react-dom in /website (#2255)

Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.16 to 18.2.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update lib/middleware/template.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/middleware/template.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/utils/render.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/views/rss3-ums.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/views/rss3-ums.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/utils/render.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* doc: update UMS related docs

* Update parameter.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update parameter.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 01:32:24 +08:00
DIYgod 82cf5c7453 docs: add public instances 2023-11-29 00:03:56 +08:00
zzturn e594309e7e feat(parameter): Add summary by ChatGPT (#13611)
* feat: 添加使用 ChatGPT 进行总结的功能

* feat: 添加使用 ChatGPT 进行总结的功能

* feat: 添加使用 ChatGPT 进行总结的功能

* feat: 添加使用 ChatGPT 进行总结的功能

* feat: 添加使用 ChatGPT 进行总结的功能

* feat: 添加使用 ChatGPT 进行总结的功能

* feat: 添加使用 ChatGPT 进行总结的功能

* feat: 添加使用 ChatGPT 进行总结的功能

* feat: 添加使用 ChatGPT 进行总结的功能

* style: camelCase

---------
2023-11-06 22:36:24 +08:00
Tony 06721a0f21 docs: ts config (#13690)
* docs: ts config

* chore: esm format script

* chore: bring back ast based formatting

* chore: revert 7b0493fbf4d93794a729289b24867e93732e703d

* chore: update dependabot config

* docs: rename to mdx extension

* fix: unused import

* docs: fix search build

* chore: remove deps changes
2023-11-03 23:17:17 +08:00
Henry Wang d6056e2dbc feat!: allowlist & denylist (#13681)
* feat!: allowlist & denylist

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* chore: revert

---------
2023-11-03 21:21:17 +08:00
dependabot[bot] 72f9a1f214 chore(deps): bump the docusaurus group in /website with 6 updates (#13668)
* chore(deps): bump the docs group in /website with 6 updates

Bumps the docs group in /website with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) | `2.4.3` | `3.0.0` |
| [@docusaurus/plugin-client-redirects](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-client-redirects) | `2.4.3` | `3.0.0` |
| [@docusaurus/plugin-pwa](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-pwa) | `2.4.3` | `3.0.0` |
| [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) | `2.4.3` | `3.0.0` |
| [@docusaurus/module-type-aliases](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-module-type-aliases) | `2.4.3` | `3.0.0` |
| [@docusaurus/types](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-types) | `2.4.3` | `3.0.0` |


Updates `@docusaurus/core` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus)

Updates `@docusaurus/plugin-client-redirects` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus-plugin-client-redirects)

Updates `@docusaurus/plugin-pwa` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus-plugin-pwa)

Updates `@docusaurus/preset-classic` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus-preset-classic)

Updates `@docusaurus/module-type-aliases` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus-module-type-aliases)

Updates `@docusaurus/types` from 2.4.3 to 3.0.0
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.0/packages/docusaurus-types)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: docs
- dependency-name: "@docusaurus/plugin-client-redirects"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: docs
- dependency-name: "@docusaurus/plugin-pwa"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: docs
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: docs
- dependency-name: "@docusaurus/module-type-aliases"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: docs
- dependency-name: "@docusaurus/types"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: docs
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix dependencies

* docs: fix admonition

caution is deprecated in v3

caution(v2 yellow) => warning(v3 yellow)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 23:24:57 +08:00
Colin cd01eac46b docs: update zh doc for email route limitations (#13664)
update email route limitations
2023-10-31 15:00:05 +08:00
Tony 4c73d7b0cd docs: prepare for docusaurus 3.0 (#13631)
* docs: prepare for docusaurus 3.0

* docs: fix typo
2023-10-25 00:33:51 +08:00
Tony 6309afcccc docs: fix rendering (#13382)
* docs: fix faq badge

* docs: no md within jsx tag

refs: https://docusaurus.io/docs/markdown-features/react#markdown-and-jsx-interoperability

* docs: use link component

* docs: route use link component

* fix: remove invalid attr

* docs: more a to link component

* fix: remove invalid attr

* fix: provide link in global scope
2023-09-24 23:30:16 +08:00
RengarLee 03146b5b6a docs: update new-radar doc (#13194) 2023-09-03 19:57:44 +08:00
JimenezLi 121763bb6d feat(core): add logger timestamp (#13165)
* feat(core): add logger timestamp

* Update website/docs/install/README.md

---------
2023-08-31 00:18:48 +08:00
TonyRL b2f0aaccfe refactor(route): move tophub to v2 2023-08-23 17:37:54 +00:00
JimenezLi 8e4f814ea6 fix(route): add tophub cookie (#13104)
* fix(route): add tophub cookie

* add docs for tophub cookie

* Update docs

* docs: reorder env
2023-08-23 20:36:08 +08:00
Tony 17da3677d9 docs: i18n sidebar, fix code block (#13085)
* docs: i18n sidebar

* docs: `code-group` to `tabs`

* docs: admonitions use default title

* docs: fix route

* docs: fix build

* docs: fix add-docs admonitions

* docs: unwrap `details` wrapped content

* docs: mention no i18n switch in dev mode

* docs: fix add-docs rendering

* docs: fix typo
2023-08-21 22:08:41 +08:00
DIYgod 6b03e492a1 docs: update README 2023-08-20 21:18:10 +01:00
Tony 7daa88abb4 docs: i18nable component (#13084) 2023-08-20 19:58:53 +01:00
DIYgod 8a58d74922 docs: documentation prioritizes English and maintains only one route list (#13075) 2023-08-20 15:57:05 +01:00
DIYgod d534ae4199 docs: fix i18n 2023-08-15 16:39:46 +01:00
DIYgod 7b65ba69bb feat: add docusaurus website (#13039) 2023-08-15 03:12:12 +01:00