A professional, responsive web application for generating authentic-looking bus tickets for various Indian state transport corporations. Built with Next.js, TypeScript, and Tailwind CSS.
- UPSRTC - Uttar Pradesh State Road Transport Corporation
- HRST - Haryana State Transport
- PUNBUS - Punjab State Transport
- RSRTC - Rajasthan State Road Transport Corporation
- JKSRTC - Jammu & Kashmir State Road Transport Corporation
- DTC - Delhi Transport Corporation
- Pixel-perfect recreation of real bus ticket layouts
- Dynamic branding based on selected transport corporation
- Authentic typography, spacing, and visual elements
- Barcode generation with embedded ticket information
- Dotted separators and professional styling
- 7 Beautiful Color Combinations:
- Classic Red
- Ocean Blue
- Forest Green
- Royal Purple
- Sunset Orange
- Ocean Teal
- Deep Indigo
- Fully responsive layout for all screen sizes
- Touch-friendly form controls
- Horizontal scroll for ticket preview on mobile
- Optimized dropdown menus for mobile devices
- Perfect print output on all devices
- Exact dimensions (850x300px) matching real tickets
- Perfect color reproduction with
print-color-adjust: exact
- Custom page sizing for optimal printing
- Professional PDF-quality output
- Passenger Name
- Origin & Destination
- Boarding Time & Date
- Price (including tax)
- Bus Number
- Seat Number
- Transport Corporation Selection
- Color Scheme Selection
- Select Transport Corporation - Choose from 6 major Indian transport corporations
- Fill Ticket Details - Enter passenger information, route, timing, and pricing
- Choose Color Scheme - Select from 7 professional color combinations
- Generate Ticket - Click "Generate Ticket" to create your professional bus ticket
- Print or Save - Use the print function for physical copies or save as PDF
Use the "Load Sample Data" button to quickly test the application with pre-filled information.
- Transport corporation logos and branding
- Professional typography matching real tickets
- Proper spacing and layout proportions
- Barcode with embedded ticket data
- Dotted separators for visual appeal
- Mobile-first approach
- Touch-friendly interface
- Horizontal scroll for ticket preview
- Optimized form layouts for all screen sizes
- Custom page sizing (11.81in x 4.17in)
- Zero margins for exact dimensions
- Color preservation in print output
- Professional PDF-quality results
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by real Indian state transport corporation ticket designs
- Built with modern web technologies for optimal performance
- Designed for both personal and educational use
If you encounter any issues or have questions:
- Open an issue
- Check the documentation
- Contact: [email protected]
If you find this project useful, please consider giving it a star ⭐ on GitHub!
Made with ❤️ for Father's Day
This application is for educational and personal use only. Please ensure compliance with local regulations when using generated tickets.