Commit Graph

34 Commits

Author SHA1 Message Date
Serhii Hospodarchuk abb7a21e28
feat(core): add summary field support for atom and json feed (#22758)
* fix(core): summary field in json feed

* feat(core): add summary field to atom

* test: update json view test to match the new summary field
2026-07-20 21:31:04 +08:00
DIYgod 566f028aaf
refactor: migrate browser automation to Playwright (#21901)
* refactor: migrate browser automation to Playwright

* ci: update browser checks for Playwright
2026-05-04 21:16:18 +08:00
Tony 0f7808f345
docs: add sports category (#21704)
* feat: add sports category

* fix: fix runyeah
2026-04-13 04:21:20 +08:00
Tony b84bb92a8a
style: replace unicorn/no-for-loop w/ typescript/prefer-for-of (#20798)
* style: replace unicorn/no-for-loop w/ typescript/prefer-for-of

* style: fix typescript-eslint/prefer-for-of

* style: fix typescript/no-inferrable-types

* style: fix typescript-eslint/consistent-generic-constructors

* style: typescript-eslint/consistent-type-assertions

* style: fix typescript-eslint/array-type

* fix: revert .entries() in d96ca62d3d80806b0475a54e749decfc07b24701
2026-01-02 09:42:24 +08:00
Aleksandr Bogdanov 9d2fc7a676
feat(route/telegram): Fix tglib (#18268)
* refactor telegram/tglib for Hono

* linter fix

* add CSP for channel media

* don't cut feed item title prematurely

* implement shared Geo position attachment

* don't start TG client unless routes are requested

* resolve typescript; fix private chats and groups; fix stickers and no-thumbnail document attachments; fix media-by-link attachments

* fix empty text and message grouping; add GeoLive media type; add Poll/Quiz media type

* add script-src none to CSP

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

* add unwrap media for stories support

* fix fwdFrom access

* remove unnecessary core patches, add media route docs

* remove tglib fallback, as it's already preferred if configured

* implement stories endpoint

* improve text representation of channel content

* serve channel media under /channel/entityName/msgId

* improve stories endpoint

* restore original post links to avoid feed duplicates on upgrade

* appease eslint

* fix lint

* improve stories config route definition

* fix poll handling

* lint fix

* format poll results nicely

* fix node compat

* remove duplicate ignore

---------
2025-09-16 21:41:05 +08:00
Nishant Singh 9ec1dda74d
feat(types): add hindi (#19726)
* add hindi

* fix: sort entries

---------
2025-08-04 21:58:46 +08:00
Cason Kervis ea821def53
feat(types): export Language and Category for better TS type Inference (#19651) 2025-07-22 14:53:39 +08:00
Lawrence Ching ab278982a5
feat: Exclude NSFW feeds when env variable DISABLE_NSFW is set to true (#19448)
* Exclude NSFW feeds when env variable DISABLE_NSFW is set to true

* Update lib/registry.ts

---------
2025-07-04 03:24:27 +08:00
DIYgod 8520db3e13
feat: api route (#19209)
* feat: api route

* test: api route
2025-05-27 13:21:27 +08:00
DIYgod 5d9e0f557e
feat: add video preview url in attachments for bilibili and youtube 2025-01-21 18:32:09 +08:00
Nishant Singh 86ff440666
refactor: add more languages to language type from rssboard.org/rss-language-codes (#18072)
* fix(types): add logo and icon properties and made language property Language type

* add rss-language-codes

---------

Co-authored-by: rjnishant530 <singhnisant530@gmail.com>
2025-01-11 03:18:57 +08:00
Nishant Singh 1acceff405
fix(types): add logo and icon properties and made language property Language type (#18043)
Co-authored-by: rjnishant530 <singhnisant530@gmail.com>
2025-01-04 14:03:58 +08:00
Ethan Shen a5deeb3729
fix(types): fix route type definitions for different languages (#17888) 2024-12-14 00:23:13 +08:00
pseudoyu 0a42f88de7
feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
chesha1 a3a2fe8d3a
chore: fix warning about potential push on string (#16511) 2024-08-22 21:07:46 +08:00
DIYgod 703e46de70
feat: add view 2024-07-23 15:14:21 +08:00
DIYgod cf1c9c98ff
feat: expanded parameters data 2024-06-26 18:11:19 +08:00
DIYgod 288788c37f
feat: support author url and avatar for json feed 2024-06-06 01:21:34 +08:00
Franklin Yu a0bee48d9f
docs: mention the GitHub issue for the new design (#15790) 2024-06-02 21:49:14 +08:00
DIYgod 6ee5d7267b
chore: add popular category 2024-05-19 23:00:43 +08:00
Tony 4eec3f6b2b
fix(route): rsshub new docs link (#15123) 2024-04-06 01:28:55 +08:00
Tony 06312b195b fix: types in RadarItem 2024-04-06 00:42:21 +08:00
Tony e8b0d7d262 chore: push type changes to docs 2024-03-24 13:14:41 +08:00
DIYgod 40350abcbb
feat: use jsx (#14863)
* feat: render rss using jsx

* fix: error page response header

* feat: render atom using jsx

* feat: export art

* feat: use jsxRenderer

* chore: upgrade hono
2024-03-21 00:28:11 +08:00
Tony d585a87daf
fix: allow multiple radar rules per route (#14800)
* fix: allow multiple radar rules per route

* fix: github folder

* feat: add namespace to radar target

* docs: fix types url
2024-03-16 03:28:44 +08:00
DIYgod 901075eda9
feat: radar rules api 2024-03-14 20:06:15 +08:00
DIYgod 1afe43eccd
feat: add config description field 2024-03-12 01:52:06 +08:00
DIYgod e5b8f852f5
feat: add requireConfig 2024-03-12 00:29:52 +08:00
DIYgod 6902129eb0
feat: new build script 2024-03-08 23:31:50 +08:00
DIYgod 75ec77b765
feat: multi-language support 2024-03-08 17:04:50 +08:00
DIYgod d4771fcbc4
feat: next generation routing registration method 2024-03-08 16:45:05 +08:00
DIYgod 42b6b1c724
feat: strict data type 2024-01-21 18:36:46 +08:00
DIYgod 4591116733
fix: middleware errors 2024-01-21 18:35:11 +08:00
DIYgod 847724cad1
feat: work with hono and typescript 2024-01-21 11:55:18 +08:00