Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR Code Generator untuk WhatsApp Link

Aplikasi web sederhana untuk menggenerate QR code yang langsung mengarah ke chat WhatsApp dengan pesan tertentu. Dibangun menggunakan Streamlit dan Python.

✨ Fitur

  • 🔗 Generate QR code untuk WhatsApp link (wa.me)
  • 📱 Input nomor WhatsApp dan pesan custom
  • 💾 Simpan QR code ke database SQLite
  • 📥 Download QR code dalam format PNG
  • 📋 Kelola daftar QR code yang sudah dibuat
  • 🗑️ Hapus QR code yang tidak diperlukan
  • 🎯 Interface yang user-friendly

🛠️ Teknologi yang Digunakan

  • Python 3.x
  • Streamlit - Framework web app
  • qrcode - Library untuk generate QR code
  • Pillow (PIL) - Image processing
  • SQLite3 - Database untuk menyimpan metadata

📦 Instalasi

Prerequisites

  • Python 3.7 atau lebih baru
  • pip (Python package manager)

Langkah Instalasi

  1. Clone repository

    git clone <repository-url>
    cd qr-generator
  2. Buat virtual environment (opsional tapi disarankan)

    python -m venv .venv
    source .venv/bin/activate  # Linux/Mac
    # atau
    .venv\Scripts\activate     # Windows
  3. Install dependencies

    pip install -r requirements.txt

🚀 Cara Penggunaan

  1. Jalankan aplikasi

    streamlit run app.py
  2. Buka browser dan akses http://localhost:8501

  3. Generate QR Code:

    • Isi Nama (identifier untuk QR code)
    • Isi Placement (lokasi/tempat penggunaan)
    • Masukkan Nomor WhatsApp (format: 6281234567890)
    • Tulis Pesan yang akan dikirim
    • Klik "Generate QR Code"
  4. Download atau Kelola QR Code:

    • QR code akan ditampilkan dan bisa didownload
    • Lihat daftar QR code yang sudah dibuat di bagian bawah
    • Download atau hapus QR code sesuai kebutuhan

📁 Struktur Project

qr-generator/
├── app.py              # Main application file
├── requirements.txt    # Python dependencies
├── README.md          # Documentation
├── .gitignore         # Git ignore rules
├── qrcodes.db         # SQLite database (auto-generated)
├── qrcodes/           # Folder untuk menyimpan QR code images
└── .venv/             # Virtual environment (optional)

🔧 Konfigurasi

Format Nomor WhatsApp

  • Gunakan format internasional tanpa tanda + atau 0 di depan
  • Contoh: 6281234567890 untuk nomor Indonesia
  • Contoh: 601234567890 untuk nomor Malaysia

Database

  • Aplikasi menggunakan SQLite database (qrcodes.db)
  • Database akan dibuat otomatis saat pertama kali menjalankan aplikasi
  • Struktur tabel:
    CREATE TABLE qrcodes (
        id INTEGER PRIMARY KEY AUTOINCREMENT,
        name TEXT,
        placement TEXT,
        filename TEXT
    );

📱 Contoh Output

QR code yang dihasilkan akan mengarah ke URL seperti:

https://wa.me/6281234567890?text=Halo%20saya%20tertarik%20dengan%20produk%20Anda

🤝 Kontribusi

  1. Fork repository ini
  2. Buat branch untuk fitur baru (git checkout -b feature/AmazingFeature)
  3. Commit perubahan (git commit -m 'Add some AmazingFeature')
  4. Push ke branch (git push origin feature/AmazingFeature)
  5. Buat Pull Request

📄 License

Project ini bersifat open source. Silakan gunakan dan modifikasi sesuai kebutuhan.

🐛 Bug Reports & Feature Requests

Jika menemukan bug atau ingin request fitur baru, silakan buat issue di repository ini.

📞 Kontak

Untuk pertanyaan atau support, silakan hubungi [maintainer].


Happy Coding! 🎉

About

WA QR Code generator simple

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages