RSSHub/lib/middleware
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
..
templates
access-control.test.ts
access-control.ts feat: better error message display (#17477) 2024-11-07 01:55:12 +08:00
anti-hotlink.test.ts feat(middleware): 优化 多媒体处理增加 data.image/item.enclosure_url/item.image… (#16610) 2024-09-05 20:47:53 +08:00
anti-hotlink.ts feat: HOTLINK_TEMPLATE environment variable applied to audio and video link (#17287) 2024-10-25 02:01:02 +08:00
cache.test.ts
cache.ts feat(route/telegram): Fix tglib (#18268) 2025-09-16 21:41:05 +08:00
debug.test.ts
debug.ts chore(deps): bump hono from 4.7.11 to 4.8.0 (#19404) 2025-06-19 11:28:16 +08:00
filter-engine.test.ts
header.test.ts feat(core): add routePath in response header 2025-05-14 17:21:22 +08:00
header.ts chore(deps): bump hono from 4.7.11 to 4.8.0 (#19404) 2025-06-19 11:28:16 +08:00
logger.ts chore: otel fix and enhancement (#16754) 2024-09-15 19:42:21 +08:00
parameter.test.ts feat(middleware): process feed title and description using LLM (#16464) 2024-08-22 02:15:00 +08:00
parameter.ts chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.2 (#19998) 2025-09-08 23:03:48 +08:00
sentry.ts
template.test.ts feat: api route (#19209) 2025-05-27 13:21:27 +08:00
template.tsx feat: api route (#19209) 2025-05-27 13:21:27 +08:00
trace.ts feat(core): opentelementry support (update of #14668) (#16087) 2024-07-05 19:22:33 +08:00