Skip to content

fluffykitten/RedBG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔴 Latar Merah

Aplikasi web untuk mengubah latar belakang foto menjadi merah (atau warna lain) secara otomatis — cocok untuk pas foto, KTP, dan dokumen resmi.

Screenshot

✨ Fitur

  • 📁 Upload foto tunggal atau massal (bulk) sekaligus
  • 🤖 Background removal berkualitas tinggi via remove.bg API
  • 🎨 Pilih warna latar: Merah, Biru, Putih, atau warna Custom
  • 🔍 Preview perbandingan sebelum & sesudah
  • 📥 Unduh satu foto atau semua sekaligus dalam format ZIP
  • 💾 API Key tersimpan otomatis di browser (localStorage)

🚀 Cara Menjalankan

Prasyarat

Instalasi

# Clone repository
git clone https://github.com/smabibs/LatarMerah.git
cd LatarMerah

# Install dependencies
npm install

# Copy MediaPipe files ke folder public
npm run setup

# Jalankan dev server
npm run dev

Buka http://localhost:5173 di browser.

🔑 Setup API Key

  1. Daftar di remove.bg untuk mendapatkan API key gratis (50 foto/bulan)
  2. Masukkan API key di kolom yang tersedia di aplikasi
  3. Klik Simpan — API key tersimpan otomatis dan tidak perlu diisi ulang

🛠️ Tech Stack

Framework Vite
Background Removal remove.bg API
ZIP Download JSZip
Bahasa HTML, CSS, JavaScript (ES Modules)

📁 Struktur Proyek

latar-merah/
├── index.html      # Halaman utama
├── style.css       # Desain premium dark theme
├── main.js         # Logika aplikasi & remove.bg integration
├── package.json
└── public/
    └── mediapipe/  # (di-generate saat npm run setup)

📜 Lisensi

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors