An open API service indexing awesome lists of open source software.

https://github.com/malith-rukshan/telegram-card

Showcase your Telegram channels, groups, and bots with beautiful, dynamic preview cards. Perfect for GitHub profiles and portfolios. ✨
https://github.com/malith-rukshan/telegram-card

developer-tool github-profile-readme nextjs profile-badge profile-readme social-media telegram vercel vercel-og

Last synced: 3 months ago
JSON representation

Showcase your Telegram channels, groups, and bots with beautiful, dynamic preview cards. Perfect for GitHub profiles and portfolios. ✨

Awesome Lists containing this project

README

          


Telegram Card Widget


Telegram Card - Widget


[![Next.JS](https://img.shields.io/badge/Next.JS-SSR-874fff?logo=nextdotjs&style=flat)](https://nextjs.org/)
[![Telegram Public Data](https://img.shields.io/badge/Telegram-Card-0088CC?logo=telegram&style=flat)](https://t.me/SingleDevelopers)
[![Hosted on Vercel](https://img.shields.io/badge/Vercel-Demo-3ea161?logo=vercel&style=flat)](https://telegram-card.vercel.app/?username=SingleDevelopers)

✨ Beautiful dynamic cards for Telegram profiles, channels, and groups! 🚀


- Showcase your Telegram presence anywhere with beautiful, themed cards -


Powered by Next.js OG Image API ツ

## ✨ Features

- 🎨 Beautiful, responsive design
- 🌓 Dark and light theme support
- 🚀 Fast generation using Next.js OG Image API
- 📱 Works with channels, groups, bots and personal profiles
- 📊 Shows subscriber count, member count, or monthly users

## 🛠️ Usage

### Basic Usage

```
https://telegram-card.vercel.app/?username=SingleDevelopers
```

### With Theme Specification

```
https://telegram-card.vercel.app/?username=SingleDevelopers&theme=dark
```

### For Github Readme.md

```html
@SingleDevelopers
```
or
```markdown
![SingleDevelopers](https://telegram-card.vercel.app/?username=SingleDevelopers)
```

## 📸 Examples

Example usage for Github Profile : https://github.com/Malith-Rukshan#-connect-with-me

### 🎨 Theme Support

#### 🌝 Light Theme
![Channel Light Theme](https://telegram-card.vercel.app/?username=Premium&theme=light&random)

#### 🌚 Dark Theme
![Channel Dark Theme](https://telegram-card.vercel.app/?username=Premium&theme=dark&random)

### 🗂 Source Types Support

#### 🔔 Channel
![Telegram Channel](https://telegram-card.vercel.app/?username=SingleDevelopers&theme=light)

![Telegram Channel](https://telegram-card.vercel.app/?username=durov&theme=light)

#### 🤖 Bot
![Telegram Bot](https://telegram-card.vercel.app/?username=ReceiveSMSRobot&theme=light)

#### 👥 Group
![Telegram Group](https://telegram-card.vercel.app/?username=SSH_Store&theme=light)

| ![Preivew Item](https://telegram-card.vercel.app/?username=AlphaV2ray&theme=light) | ![Preivew Item](https://telegram-card.vercel.app/?username=SingleMusicX) |
|------------|-----------|
| ![Preivew Item](https://telegram-card.vercel.app/?username=MOD_APPS_Stock) | ![Preivew Item](https://telegram-card.vercel.app/?username=QuizUpLK) |
| ![Preivew Item](https://telegram-card.vercel.app/?username=Auto_ReactionBOT&theme=light) | ![Preivew Item](https://telegram-card.vercel.app/?username=Alpha_V2ray) |

## 📦 Getting Started

### 🚀 Quick Deploy

The fastest way to get your own Telegram Card Widget is to deploy it directly to one of these platforms:

#### ✅ Serverless - Free

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/Malith-Rukshan/telegram-card)
[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/Malith-Rukshan/telegram-card)

1. Click one of the deploy buttons above
2. Follow the platform's setup instructions
3. Your Telegram Card Widget will be online in minutes!
4. Use it by visiting: `https://your-deployment-url/?username=YourTelegramUsername`

## 🚀 Deploy on PaaS

Set all environmental variables before deployment if required by the platform.

[![Deploy with Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Malith-Rukshan/telegram-card)
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/Malith-Rukshan/telegram-card)

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.com/template/v2vpPI?referralCode=jC4ZQ_)
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/Malith-Rukshan/telegram-card)

## 💻 Local Development

If you want to run the project locally or customize it before deploying:

### Prerequisites

- Node.js 16+
- npm or yarn

### Installation

1. Clone the repository
```bash
git clone https://github.com/Malith-Rukshan/telegram-card.git
cd telegram-card
```

2. Install dependencies
```bash
npm install
# or
yarn install
```

3. Run the development server
```bash
npm run dev
# or
yarn dev
```

4. Open [http://localhost:3000/?username=SingleDevelopers](http://localhost:3000/?username=SingleDevelopers) to see your card!

## 🌐 Use Cases

- Add to your GitHub profile README
- Embed in your personal website
- Create dynamic links to your Telegram presence
- Showcase your channel or group subscribers

## 📜 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 🔧 Acknowledgements

- Built with [Next.js](https://nextjs.org/)
- OG Images powered by [@vercel/og](https://vercel.com/docs/concepts/functions/edge-functions/og-image-generation)
- Crafted specifically for developers to showcase their Telegram presence

## 🤝 Contributing

Feedback and suggestions are always welcome! Feel free to open issues or submit pull requests to help improve the Telegram Card widget.

## 🌟 Support and Community

If you found this project helpful, **don't forget to give it a ⭐ on GitHub.** This encourages more innovative projects to thrive! 🫶

## 📬 Contact

If you have any questions, feedback, or just want to say hi, you can reach out to me:

- Telegram: [@MalithRukshan](https://t.me/MalithRukshan)
- Email: [hello@malith.dev](mailto:hello@malith.dev)

🧑‍💻 Built with 💖 by [Single Developers >](https://SingleDevelopers.com)