This repository contains a Telegram Mini App (Web App) that provides various tools such as a Sales Tax Calculator, QR Code Scanner, Wallpaper Calculator, and Unit Converter.
- Sales Tax Calculator: Calculate the total price including tax.
- QR Code Scanner: Scan QR codes from images.
- Wallpaper Calculator: Calculate the number of wallpaper rolls needed for a room.
- Unit Converter: Convert between different units of measurement (length, weight, volume).
├── assets/
│ ├── qr_scanner.png
│ ├── tax_sales_calc.png
│ ├── unit_converter.png
│ └── wallpaper_calc.png
├── css/
│ └── style.css
├── js/
│ ├── calculator.js
│ ├── main.js
│ ├── scanner.js
│ ├── telegram.js
│ ├── unitConverter.js
│ └── wallpaperCalculator.js
└── index.html
- index.html: Main HTML file that includes all necessary scripts and styles.
- js/main.js: Contains the main logic for handling tool navigation and initialization.
- js/telegram.js: Handles Telegram-specific functionality, such as fetching user data.
- css/style.css: Styles for the web app.
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Open
index.html
in a browser to view and use the app:xdg-open index.html # For Linux open index.html # For macOS start index.html # For Windows
- jsQR: Used for QR code scanning.
- Included via CDN in
index.html
.
- Included via CDN in
Feel free to contribute by opening issues or pull requests. Make sure to follow the existing coding conventions and structure.
This project is licensed under the MIT License. See the LICENSE file for details.