Commit Graph
71 Commits
Author SHA1 Message Date
DIYgod c265879605 docs: update emoji 2024-03-10 02:44:16 +08:00
DIYgod 79518e6402 docs: fix build errors 2024-03-10 02:22:44 +08:00
DIYgod 89adb29057 docs: update standard 2024-03-09 22:38:41 +08:00
DIYgod a9ffc27818 Merge remote-tracking branch 'origin/master' into feature/registry 2024-03-09 01:41:33 +08:00
DIYgod 6902129eb0 feat: new build script 2024-03-08 23:31:50 +08:00
Yishuai Li bee1de7704 docs: Instruction on fetching the Cookies (#14705) 2024-03-08 01:30:47 +08:00
Yufan You ef800a10bb docs: fix Mastodon config documentation (#14672) 2024-03-05 22:43:11 +08:00
Tony 9e74f84af5 docs: update output format (#14653) 2024-03-05 03:32:25 +08:00
DIYgod 4d3e5d79c1 feat: remove MEDIA_PROXY_KEY and internal media proxy 2024-03-04 23:06:41 +08:00
DIYgod ddc0fe4372 docs: add sponsors graph 2024-03-04 04:37:20 +08:00
DIYgod 1811dc7043 docs: add twitter 2024-03-04 04:25:52 +08:00
DIYgod 6bfa36f801 docs: js to ts 2024-03-04 02:01:32 +08:00
DIYgod 0ab8996f40 feat: remove allowlist and denylist 2024-03-02 21:35:40 +08:00
DIYgod 0165d742bc docs: remove User Authentication Configurations 2024-03-02 19:56:56 +08:00
DIYgod 9e8b7dc462 docs: esm export 2024-03-02 05:04:55 +08:00
DIYgod 398be0f592 feat: rename routes dir - 1/2 2024-03-01 01:21:28 +08:00
DIYgod 05f5f50206 Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-29 17:44:22 +08:00
DIYgod 28f14415e0 feat: v3 docs 2024-02-29 17:33:55 +08:00
1badc67a6a feat(route): Telegram Channels (with video and files) (#13255)
* add tg via client library for full-res video + photo support

* fix expiring links

* fix photo downloads

* add inline thumbnails

* document thumbnails + streaming cache lock workaround

* true streaming support via Range requests

* add radar rules

* parse entities in messages to html

* tune chunking for video downloads

* add CLI option to generate TG_SESSION

* update pnpm-lock.yaml

* update telegram

* fix console usages

* remove unnecessary comment

* add english docs

* respond to review comments

* update pnpm-lock.yaml

* fix linting

* backwards compatibility for routeParams

* fix linting

* tune requestSize for smoother streaming

* fix incorrect tail post handling

* fix apiId env var bug

* html.unparse must be called on stripped text, not source markdown

* fix video streaming (requestSize is raw TL `limit`, chunkSize auto-aligns offsets by gramjs)

* replace newlines with <br> in messages because unparse doesn't do that

* must be replaceAll \n to <br/>

* Apply suggestions from code review

avoid unnecessarily starting gramjs

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

* docs: fix docs

* fix import core router

* docs: fix docs merge

* fix: eslint

* fix: guard media access with key

* docs: fix maintainer

* chore: fix pnpm @babel/*

---------

Co-authored-by: syn <syn@localhost.localdomain>
2024-02-29 10:00:28 +08:00
Tony cbbd82918e feat: internal media proxy (#14593)
* feat: image proxy

* feat: use Map

* docs: add docs

* fix: change config name

* Add lightnovel.us as a media source

* fix: break hostname extraction

* feat: add psl for more accurate domain extraction

* feat: split referer map

* perf(deps): replace `psl` with `tldts`

* fix: add indienova.com to referer map
2024-02-29 08:38:15 +08:00
Tony 6cc3acde01 docs: fix spotify envs docs 2024-02-17 14:35:25 +00:00
CaoMeiYouRen b63690c64a feat: New Route Miyoushe - User Follow Dynamics | 新增路由 米游社 - 用户关注动态 (#14425)
* feat(route): 增加 米游社 - 用户关注动态 路由

* fix(route): 修复 路由、文档的风格问题

* docs: fix envs

---------
2024-02-08 19:27:26 +08:00
DIYgod 5c8b17308f docs: add twitter config tips 2024-01-30 01:15:47 +08:00
DIYgod 5c8e5421e2 feat: add TWITTER_AUTHENTICATION_SECRET 2024-01-30 00:37:12 +08:00
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