This Telegram bot automatically processes channel posts, saves them as structured JSON files, and generates SEO-optimized HTML pages for each post.
- Captures Telegram channel posts
- Saves post data as JSON files
- Generates individual HTML pages for each post
- SEO-friendly meta tags
- Deployable on Vercel
- Node.js (v16+)
- Telegram Bot Token
- Vercel Account (optional)
git clone https://github.com/RektDevelopers/ScriptersMarketplace.git
cd ScriptersMarketplace
npm install
- Create a Telegram bot via BotFather on Telegram
- Copy the bot token
- Edit
.env
file:BOT_TOKEN=your_telegram_bot_token
# Start development server
npm run dev
# Start production server
npm start
# Install Vercel CLI globally
npm install -g vercel
# Login to Vercel
vercel login
# Deploy
vercel deploy
index.js
: Main bot script.env
: Environment configurationvercel.json
: Vercel deployment settingspublic/data/posts/
: JSON post storagepublic/html/posts/
: Generated HTML pages
- Keep your bot token confidential
- Use environment variables for sensitive information
- Sanitize user inputs to prevent XSS
- Ensure bot has necessary channel permissions
- Check Telegram API limits
- Verify environment configurations
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
MIT License