TonyRL
ecfeafbff7
docs: simplify cache usage example
2023-05-17 16:48:45 +00:00
TonyRL
9a83292ed3
docs: simplify cache usage example
2023-05-17 16:46:35 +00:00
Bryan
7eb6400f6c
feat: add .debug.html ( #12476 )
...
* feat: add .debug.html
* Update lib/middleware/template.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* use regex to extract index
* add tests
* add docs
---------
2023-05-09 17:26:24 +08:00
Tony
1de1e9ae56
build: use pnpm ( #12438 )
...
* build: use pnpm
* fix: use corepack pnpm
* chore: use pnpm in gha
* chore: add setup pnpm
* fix: install command
* fix: pnpm lock file not updated
* chore: pnpm no recursive install
* docs: use pnpm
* fix: ignore yarn lock
* chore: update command for cloud dev env
2023-05-05 20:09:54 +08:00
TonyRL
25fb241523
docs: update advanced feed title
2023-04-28 14:16:13 +00:00
TonyRL
1e8d030e0f
docs: fix build on relative path
...
it worked on netlify but not cloudflare pages
2023-04-27 13:30:19 +00:00
Tony
b0ff4a0fee
docs: split docs package for vuepress ( #12382 )
...
* docs: split docs package for vuepress
* fix: yarn lock changes gha
* fix: remove npm script at top level
* docs: update oneclick link
refs: https://github.blog/changelog/2023-04-24-one-click-into-github-codespaces
2023-04-25 22:20:56 +08:00
TonyRL
b334aa49bb
docs: fix advanced feed tips
2023-04-08 19:02:47 +00:00
Tony
14da384c66
docs: add further reading for podcast ( #12250 )
2023-04-07 03:22:41 +08:00
TonyRL
2b7be504d9
docs: fix typos
2023-03-29 14:47:35 +00:00
github-actions[bot]
c09a28bf11
style: auto format
2023-03-29 14:38:16 +00:00
Tony
8614ec3b7e
docs: quick start revamp ( #12198 )
...
* docs: revamp quick start
* wip
* wip
* wip
* wip
* wip
* wip
* wip: radar
* wip: rich media
* wip: script standard
* wip: cache
* wip: chinese quick start
* wip: chinese quick start part 2
* wip: chinese quick start
* docs: add open collective
* retrigger ci
2023-03-29 22:31:58 +08:00
github-actions[bot]
9966ce7384
style: auto format
2023-03-17 13:56:47 +00:00
SUPER
5af7a60064
fix(doc): route description in `quick-start` ( #10221 )
...
* fix(doc): quick start cn
* docs: fix corresponding en docs
* fix: also update radar rules quick-start
2022-07-14 23:39:16 +08:00
Atlas Quan
bd80574f76
feat(route): add slowmist news ( #10044 )
...
* feat(route): add slowmist news
* feat(utils): remove useless ul for code section
* docs: add slowmist news route docs
* docs(quick-start): new router under /lib/v2
* test(utils): add test fixArticleContent for new wechat-mp code
* feat(router): update radar source of slowmist
2022-07-04 23:44:58 +08:00
Hagb (Junyu Guo 郭俊余)
eb79456f40
docs: support parameter suffix `*` ( #7946 )
...
* docs: support parameter suffix `*`
`*` denotes a zero or more parameter matches, so the parameter including `*` is optional. (https://github.com/pillarjs/path-to-regexp#zero-or-more )
* docs: mention the parameter suffix `*`
* docs: support parameter suffix `+`
* docs: add document of parameter suffixs
* docs: fix having / at the end of parameter
* docs: add missing changes in en docs
* docs: typo
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-05-07 17:18:35 +08:00
Bin Wang
6b7381e1e3
feat(core): add custom fields to atom feed ( #9355 )
...
* Add custom fields to atom feed
Atom allows to extend the xml with custom namespaces. This commit is
a first commit that tries to add some custom RSSHub fields to atom feed.
In this commit, I added three very common fields: upvotes, downvotes
and comments. Lots of websites has these common fields, like Youtube,
Twitter, Reddit, HackerNews and so on. Within these fields, RSS readers
can have more information to sort the contents, and can display these
information to user in a better format.
The document has been updated to reflect these new fields. I also changed
Bilibili video route as an example to show how to add number of comments
to the generated feed.
* docs: interactions
2022-04-18 02:54:32 +08:00
Rongrong
c48ca6bd5b
fix(core): invalid feed fields ( #9286 )
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-22 02:13:15 +08:00
Rongrong
41910802f2
feat(core): caching enhancements ( #9227 )
...
* fix(core): redis cache ignore `maxAge` when refreshing
memory cache do not have such a problem
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
* feat(core): make `cache.tryGet()` refreshing selectable
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
* docs: `ctx.cache.tryGet()` update
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-19 02:13:15 +08:00
Rongrong
3364b7eb1d
fix(route): migrate invalid `enclosure_length` usages to `itunes_duration` ( #9291 )
...
Close #9287
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-10 20:54:29 +08:00
Tony
e9a2c3af55
style: remark v13 ( #9140 )
2022-02-18 23:15:49 +08:00
Tony
6de540a311
docs(core): sync en docs and minor cn docs fixes ( #8356 )
...
Co-authored-by: DIYgod <diy.d.god@gmail.com>
2021-11-27 08:53:44 +00:00
DIYgod
73cbe9985f
chore: format
2021-11-27 07:06:38 +00:00
Tony
7065f51881
fix(docs): typo in script-standard radar rules ( #8265 )
2021-09-25 19:11:54 -07:00
NeverBehave
0792f7ba25
feat(core): first attempt to init script standard ( #8224 )
...
- lazy load
- rate limit per path
- init .debug.json support
- docs
- maintainer
- radar
2021-09-22 05:41:00 -07:00
Daniel Li (李丹阳)
d77a039f05
style(eslint): add no-implicit-coercion rule ( #8175 )
...
* refactor: add no-implicit-coercion rule for ESLint
* fix: errors from deepscan
* fix: errors from deepscan
* fix: errors from deepscan
* fix: errors from deepscan
* fix: errors from deepscan
* Update docs/en/joinus/quick-start.md
Co-authored-by: Sukka <isukkaw@gmail.com>
* Update docs/joinus/quick-start.md
Co-authored-by: Sukka <isukkaw@gmail.com>
* Update lib/routes/av01/tag.js
Co-authored-by: Sukka <isukkaw@gmail.com>
* Update lib/routes/gov/taiwan/mnd.js
Co-authored-by: Sukka <isukkaw@gmail.com>
* Update lib/routes/ps/product.js
Co-authored-by: Sukka <isukkaw@gmail.com>
* refactor: minify html string
Co-authored-by: Sukka <isukkaw@gmail.com>
2021-09-15 21:22:11 +08:00
NeverBehave
f513b5ef10
chore(docs): reword pubDate
2021-06-26 17:21:57 -07:00
Queensferry
65e74a1c5e
chore(utils): `parse-date` supports relative time & fix routes ( #7530 )
2021-05-14 23:08:33 -04:00
NeverBehave
9a3ae8a4bc
docs(core): pubdate, npm ci with templates ( #7501 )
2021-05-08 17:47:22 -04:00
DIYgod
1df0597fff
Revert "style: auto format"
...
This reverts commit 10d16bd30a .
2020-10-15 11:01:17 +08:00
GitHub Action
10d16bd30a
style: auto format
2020-10-14 19:21:52 +00:00
cayZ
32f1e0d494
docs: add rssbud related info ( #5857 )
...
Co-authored-by: Cay Zhang <zcy20020811@gmail.com>
Co-authored-by: DIYgod <diy.d.god@gmail.com>
2020-10-13 19:28:30 +08:00
DIYgod
98021a6826
Revert "style: auto format"
...
This reverts commit e661030efb .
2020-10-10 11:38:59 +08:00
GitHub Action
e661030efb
style: auto format
2020-10-10 03:19:30 +00:00
DIYgod
fd782a7b39
Revert "style: auto format"
...
This reverts commit 82ca7b448a .
2020-10-10 11:17:09 +08:00
GitHub Action
82ca7b448a
style: auto format
2020-10-09 21:09:21 +00:00
DIYgod
41bc394b08
docs: update
2020-05-18 12:04:49 +08:00
NeverBehave
fca18428a8
fix: no inlineCode format
2020-05-04 04:27:42 -04:00
NeverBehave
2d734edc07
fix: missing file and table escape
2020-05-03 12:42:43 -04:00
DIYgod
0e7b14e718
chore(deps-dev): bump prettier from 1.19.1 to 2.0.2
2020-04-02 21:21:46 +08:00
tuzi3040
213b847073
feat: add japanpost next-gen radar-rule ( #4155 )
2020-03-03 12:41:50 +08:00
DIYgod
2f001cda60
chore: add radar-rules-next, update radar docs
2020-02-29 16:42:45 +08:00
DIYgod
9de1356dfa
docs: English docs sync, #3051
2019-12-30 19:17:54 +08:00
niayyy
ed7f05464a
feat: add zzu news and fix doc error ( #3597 )
2019-12-19 17:22:12 +08:00
luotao
6db117da3b
docs: improve joinus [调试] section ( #3242 )
2019-10-12 18:46:56 +08:00
DIYgod
4c5cfb1493
docs: update joinus
2019-09-26 12:00:22 +08:00
DIYgod
a4f8693d88
docs: Media RSS
2019-08-29 19:13:28 +08:00
SettingDust
fd82474be6
feat: media rss & yande.re media ( #2924 )
2019-08-29 18:42:00 +08:00
DIYgod
9a3bea3525
feat: remove referrerpolicy in routes
2019-08-28 14:38:19 +08:00
tuzi3040
52342a2a9f
feat: add japanpost & fix: update joinus content ( #2901 )
2019-08-21 23:52:36 +08:00