A comprehensive Telegram bot that decodes Vehicle Identification Numbers (VINs) and provides detailed vehicle information using the official NHTSA database.
- π VIN Analysis: Decode any 17-character VIN
- π² Random VIN Generator: Get sample VINs for testing
- π Real vs Fake Detection: Smart algorithm to detect authentic vehicles
- β½ Fuel Capacity Information: Always shows fuel tank capacity in gallons
- π Comprehensive Reports: Detailed technical specifications on request
- π« Duplicate Prevention: Never shows the same random VIN twice
- π¬ Professional Interface: Clean, intuitive user experience
- π§ Error Handling: Graceful handling of API failures and edge cases
-
Clone the repository
git clone https://github.com/yourusername/vin-checker-bot.git cd vin-checker-bot -
Set up environment
# Copy environment template cp .env.example .env # Install dependencies pip install -r requirements.txt
-
Configure bot token
- Message @BotFather on Telegram
- Create a new bot and get your token
- Edit
.envfile and replaceyour_telegram_bot_token_herewith your actual token
-
Run the bot
python bot.py
-
Connect Repository
- Fork/clone this repository to your GitHub
- Connect your GitHub account to Render
- Create a new Web Service from your repository
-
Configure Render Settings
- Build Command:
pip install -r requirements.txt - Start Command:
python bot.py
- Build Command:
-
Set Environment Variables in Render Dashboard
- Go to your service β Environment
- Add:
BOT_TOKEN=your_actual_bot_token_here
-
Deploy
- Click "Deploy Latest Commit"
- Your bot will be live in minutes!
/start- Start the bot and see main menu/randomvin- Generate a random VIN for testing/help- Show detailed help information/cancel- End current session
- VIN Validation: Checks format and authenticity using NHTSA database
- Data Analysis: Extracts vehicle specifications and technical details
- Smart Detection: Determines if VIN corresponds to real manufactured vehicle
- Fuel Capacity: Always provides fuel tank information (exact or estimated)
- Professional Reports: Comprehensive technical specifications on demand
- β REAL VIN: Authentic vehicle found in official database
- πΈ FAKE VIN: Valid format but synthetic/test data
- β INVALID VIN: Format errors or database rejection
- Vehicle Make, Model, and Year
- Manufacturer details
- Fuel tank capacity (gallons)
- Country of origin
- Real vs fake detection
- Complete technical specifications
- Engine details (cylinders, displacement, power)
- Transmission and drivetrain information
- Body style and vehicle type
- Dimensions and weight data
- Manufacturing plant details
- Safety ratings and certifications
- Environment variables for sensitive data
- No VIN data stored or logged
- Official NHTSA database only
- Secure deployment practices
- Python 3.8+
- python-telegram-bot: Telegram Bot API wrapper
- NHTSA API: Official vehicle database
- Render: Cloud deployment platform
- GitHub: Version control and CI/CD
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Create an issue for bug reports or feature requests
- Check existing issues before creating new ones
- Provide detailed information for faster resolution
Made with β€οΈ for the automotive community