A customizable, API-connected web application that lets you send messages directly to a Telegram channel and build dynamic pages using modular components.
Try it out: https://erden-rayev.com
- Telegram Integration — Send messages to your Telegram channel using a serverless API route.
- Modern UI Components — A set of reusable and animated components built with React and Framer Motion.
- Environment-Based Configuration — Securely manage your API credentials via a
.env.localfile. - Open and Extendable — Built for community use and contributions.
git clone https://github.com/rayeeev/My-website.git
cd My-websitenpm installCreate a .env.local file in the project root and add your Telegram bot credentials:
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
TELEGRAM_CHAT_ID=your_channel_or_chat_id
🛡️ Note: Keep your
.env.localfile private — do not commit it to GitHub.
npm run devThen open http://localhost:3000 to view your site.
The project includes an API endpoint at /api/telegram for sending messages to your Telegram channel.
Example usage:
fetch('/api/telegram', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
name: 'John Doe',
message: 'Hello from my website!',
source: 'website'
})
});This will send a formatted message using your TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID defined in .env.local.
The app comes with multiple reusable UI components that you can use to build and customize your website.
Examples include:
NavBarStepperGlassSurfaceProjectCardNoteCardSkillChip
You can extend these or create your own components under src/components.
To create a production build:
npm run buildTo start the production server:
npm startYou can deploy on platforms like Vercel, Netlify, or Render with minimal configuration.
Contributions are welcome! If you’d like to improve this project, please fork the repo and submit a pull request.
This project is open-source and available under the Apache 2.0 License.
Built and shared freely by rayeeev.
If you use this project, consider giving it a ⭐ on GitHub!
