mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-05-13 15:09:12 +00:00
2.3 KiB
2.3 KiB
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).
⚒️ 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=""