Skip to content

tas33n/telegram-invite-Widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Widget Generator

Discord-inspired Telegram invite widget for README badges and HTML embeds.

Preview

Misfits Dev Widget

Deploy to Cloudflare Pages

  1. Create a new Pages project from this repo (or upload the files manually).
  2. Leave Build command empty and set Build output directory to /.
  3. Deploy; the function is automatically exposed at /:username.

Use the Widget

  • Direct URL: https://tginvite.pages.dev/<telegram-username>
  • Markdown snippet: [![Telegram](https://tginvite.pages.dev/<username>)](https://t.me/<username>)

Customize the SVG

Edit getSVGTemplate() in functions/[username].js to adjust colors, layout, fonts, or button text.

Troubleshooting

  • Make sure the Telegram channel or group is public and the username is correct.
  • Cached responses live for one hour; purge cache or wait if the data seems stale.

About

Discord-inspired Telegram invite widget for README badges and HTML embeds.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors