mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-05-13 15:09:12 +00:00
4339f22851070b4985242b0d182922604b484c1f
Enhanced tag extraction by encoding tag text into URLs and removing unnecessary style attributes, streamlining the process and ensuring better URL handling for search functionality.
BroadcastChannel
Turn your Telegram Channel into a MicroBlog.
English | 简体中文
✨ Features
- Turn your Telegram Channel into a MicroBlog
- SEO friendly
- 0 JS on the browser side
- RSS and RSS JSON
🪧 Demo
BroadcastChannel supports deployment on serverless platforms like Cloudflare, Netlify, Vercel that support Node.js SSR, or on a VPS. For detailed tutorials, see Deploy your Astro site.
🧱 Tech Stack
- Framework: Astro
- CMS: Telegram Channels
- Template: Sepia
🏗️ Deployment
- Fork this project to your GitHub
- Create a project on Cloudflare/Netlify/Vercel
- Select the
BroadcastChannelproject and theAstroframework - Configure the environment variable
CHANNELwith your channel name. This is the minimal configuration, for more configurations see the options below - Save and deploy
- Bind a domain (optional).
- Update code, refer to the official GitHub documentation Syncing a fork branch from the web UI.
⚒️ Configuration
## Telegram channel name, required
CHANNEL=Broadcast_Channel_Blog
## Language and timezone settings, language options see [dayjs](https://github.com/iamkun/dayjs/tree/dev/src/locale)
LOCALE=en
TIMEZONE="America/New_York"
## Social media usernames
TELEGRAM=ccbikai
TWITTER=ccbikai
GITHUB=ccbikai
## The following two social media need to be URLs
DISCORD=https://DISCORD.com
PODCAST=https://PODCAST.com
## Header and footer code injection, supports HTML
FOOTER_INJECT=FOOTER_INJECT
HEADER_INJECT=HEADER_INJECT
## SEO configuration options, can prevent search engines from indexing content
NO_FOLLOW=false
NO_INDEX=false
## Sentry configuration options, collect server-side errors
SENTRY_AUTH_TOKEN=SENTRY_AUTH_TOKEN
SENTRY_DSN=SENTRY_DSN
SENTRY_PROJECT=SENTRY_PROJECT
## Telegram host name and static resource proxy, not recommended to modify
HOST="telegram.dog"
STATIC_PROXY=""
☕ Sponsor
Languages
TypeScript
34.3%
Astro
26.2%
XSLT
19.4%
CSS
17%
JavaScript
2.5%
Other
0.6%