RSSHub/website
Aleksandr Bogdanov 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
..
docs feat(route): Telegram Channels (with video and files) (#13255) 2024-02-29 10:00:28 +08:00
i18n feat(route): Telegram Channels (with video and files) (#13255) 2024-02-29 10:00:28 +08:00
src docs: update instance list 2024-01-26 01:49:49 +08:00
static docs: try language redirection 2023-08-20 21:08:43 +01:00
.editorconfig feat: add docusaurus website (#13039) 2023-08-15 03:12:12 +01:00
.gitignore feat: add docusaurus website (#13039) 2023-08-15 03:12:12 +01:00
README.md docs: format docs using markdownlint-cli2 2023-11-30 18:07:46 +00:00
babel.config.cjs docs: ts config (#13690) 2023-11-03 23:17:17 +08:00
docusaurus.config.ts docs: update sponsors and backers 2023-12-02 03:51:54 +08:00
package.json chore(deps-dev): bump @types/react from 18.2.59 to 18.2.60 in /website (#14575) 2024-02-27 21:22:07 +00:00
pnpm-lock.yaml chore(deps-dev): bump @types/react from 18.2.59 to 18.2.60 in /website (#14575) 2024-02-27 21:22:07 +00:00
sidebars.mjs docs: add public instances 2023-11-29 00:03:56 +08:00
tsconfig.json docs: ts config (#13690) 2023-11-03 23:17:17 +08:00

README.md

Website

This website is built using Docusaurus, a modern static website generator.

Installation

$ pnpm

Local Development

$ pnpm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ pnpm build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true pnpm deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> pnpm deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.