Skip to content

websmartbd/salami

Repository files navigation

🧧 SalamiPay (সালামির পাতা) - Digital Salami Platform

PHP Version MySQL License PRs Welcome

SalamiPay (সালামির পাতা) is a modern, premium web application designed to simplify and digitize the traditional process of giving and receiving "Salami" during festivals in Bangladesh. Users can create a personalized profile, list their Mobile Financial Service (MFS) details, and share their unique link to receive gifts directly to their accounts.


✨ Key Features

👤 For Users

  • Personalized Profiles: Create a unique "Salami Page" with a custom username (e.g., সালামির.পাতা.বাংলা/username).
  • MFS Management: Add multiple MFS accounts (Bkash, Nagad, Rocket, Upay) and set a primary one for quick display.
  • Transaction Logs: Real-time tracking of received Salami with details like sender name, message, and transaction ID.
  • Interactive Dashboard: Visual statistics for total collected amount, verified vs. pending transactions, and profile views.

🛡️ Security & Integrity

  • Advanced Profanity Filter: Hybrid Bengali-English filter to catch offensive language and bypass tricks.
  • Data Integrity: Full protection against SQL injection using PHP PDO prepared statements.
  • IP Blocking System: Advanced security to block malicious IP addresses.
  • CSRF Protection: Native protection against cross-site request forgery.

🚀 Tech Stack

  • Backend: Core PHP (Vanilla) with PDO.
  • Database: MySQL/MariaDB.
  • Frontend: HTML5, CSS3 (Glassmorphism), Vanilla JavaScript.
  • Icons: FontAwesome 6.

🛠️ Installation Guide

Step 1: Clone the Repository

git clone https://github.com/websmartbd/salami.git
cd salami

Step 2: Database Setup

  1. Create a database (e.g., salami_db).
  2. Import databse.sql.

Step 3: Configuration

Update includes/config.php:

define('DB_HOST', 'localhost');
define('DB_NAME', 'your_db_name');
define('DB_USER', 'your_db_user');
define('DB_PASS', 'your_db_pass');
define('BASE_URL', 'https://সালামির.পাতা.বাংলা'); // No trailing slash

🤝 Contributing & Support

Contributions are welcome! If you want to improve the UI or add features:

  1. Fork the Project.
  2. Create your Feature Branch.
  3. Open a Pull Request.

📄 License

Distributed under a Custom Non-Commercial License. This software MAY NOT BE SOLD or RESOLD. See LICENSE for more information.

Made with ❤️ in Bangladesh for a better digital tradition.

Releases

No releases published

Packages

 
 
 

Contributors