Skip to content

indiser/Sticker-Vault-Web

Repository files navigation

🎯 Sticker Vault

Your Personal WhatsApp Sticker Arsenal

Python Flask JavaScript WhatsApp

Extract β€’ Organize β€’ Deploy

A complete automation suite that transforms WhatsApp Web stickers into organized, importable packs with a stunning web gallery.


🌟 What is Sticker Vault?

Sticker Vault bridges the gap between WhatsApp Web and custom sticker apps with a seamless three-step workflow:

graph LR
    A[🌐 WhatsApp Web] -->|Extract| B[βš™οΈ Sticker Vault]
    B -->|Process| C[πŸ“¦ Organized Packs]
    C -->|Import| D[πŸ“± WhatsApp App]
    
    style A fill:#25D366,stroke:#128C7E,color:#fff
    style B fill:#3776AB,stroke:#2C5F8D,color:#fff
    style C fill:#F7DF1E,stroke:#F0DB4F,color:#000
    style D fill:#25D366,stroke:#128C7E,color:#fff
Loading
πŸ”
Extract
Scrape stickers from WhatsApp Web
⚑
Process
Deduplicate & organize automatically
🎨
Browse
Beautiful web gallery with previews
πŸ“²
Import
One-click WhatsApp integration

✨ Key Features

πŸ” Smart Extraction

Browser-based scraper captures blob URLs from WhatsApp Web in real-time as you scroll through chats.

πŸ›‘οΈ Auto Deduplication

SHA-256 hashing eliminates duplicate stickers automaticallyβ€”no manual cleanup needed.

πŸ“¦ WhatsApp Compliant

Auto-chunks stickers into packs of 30 with proper manifest generation and tray icons.

🎨 Beautiful Gallery

Dark-themed Flask web app with lazy loading, smooth animations, and responsive design.

⬇️ Instant Downloads

Click any sticker to download it directlyβ€”no complicated export process.

πŸ–ΌοΈ Tray Icon Generation

Automatically creates optimized 96Γ—96 PNG tray icons for each pack.


πŸ› οΈ Tech Stack

Layer Technologies
Backend Python Flask
Frontend HTML5 TailwindCSS JavaScript
Processing Pillow SHA-256 Hashing
Data JSON WebP Format

πŸ“ Project Structure

wp_stickers/
β”‚
β”œβ”€β”€ 🐍 Python Scripts
β”‚   β”œβ”€β”€ app.py                    # Flask web server
β”‚   β”œβ”€β”€ build.py                  # Deduplication & build pipeline
β”‚   β”œβ”€β”€ generate_manifest.py      # WhatsApp manifest generator
β”‚   └── make_trays.py             # Tray icon generator (96x96)
β”‚
β”œβ”€β”€ 🌐 Browser Scripts
β”‚   β”œβ”€β”€ sticker_finder.js         # Scraper (run in DevTools)
β”‚   └── sticker_downloader.js     # Batch downloader
β”‚
β”œβ”€β”€ πŸ“„ Data Files
β”‚   β”œβ”€β”€ contents.json             # WhatsApp sticker manifest
β”‚   └── stickers.json             # Gallery metadata
β”‚
β”œβ”€β”€ 🎨 Web Interface
β”‚   β”œβ”€β”€ templates/
β”‚   β”‚   └── index.html            # Dark-themed gallery
β”‚   └── static/
β”‚       └── dist/                 # Processed stickers
β”‚
β”œβ”€β”€ πŸ“¦ Sticker Packs
β”‚   β”œβ”€β”€ 1/                        # Pack 1 (30 stickers)
β”‚   β”œβ”€β”€ 2/                        # Pack 2 (30 stickers)
β”‚   β”œβ”€β”€ 3/                        # Pack 3 (remaining)
β”‚   └── tray_*.png                # Pack tray icons
β”‚
└── πŸ—‚οΈ stickers/                  # Raw extracted files

πŸš€ Quick Start

πŸ“‹ Prerequisites

βœ… Python 3.8+ βœ… pip package manager βœ… Modern browser (Chrome/Edge/Firefox)

βš™οΈ Installation

# Clone the repository
git clone https://github.com/indiser/Sticker-Vault-Web.git
cd sticker-vault

# Install dependencies
pip install flask pillow

πŸ“– Complete Workflow

Step 1️⃣: Extract Stickers from WhatsApp Web

1. Open WhatsApp Web in your browser
2. Press F12 to open Developer Tools
3. Navigate to the Console tab
4. Paste and run sticker_finder.js
5. Scroll through chats to capture sticker URLs
6. Run sticker_downloader.js to download all stickers
7. Move downloaded files to the stickers/ folder

Step 2️⃣: Build & Deduplicate

python build.py
πŸ” What this does
  • βœ… Removes duplicate stickers using SHA-256 hashing
  • βœ… Renames files to sequential format (sticker_001.webp)
  • βœ… Stages output to static/dist/
  • βœ… Generates stickers.json for the web gallery

Step 3️⃣: Generate WhatsApp Manifest

python generate_manifest.py
πŸ” What this does
  • βœ… Creates WhatsApp-compliant contents.json
  • βœ… Auto-chunks stickers into packs of 30
  • βœ… Assigns tray icons and emoji metadata

Step 4️⃣: Generate Tray Icons

python make_trays.py
πŸ” What this does
  • βœ… Generates 96Γ—96 PNG tray icons
  • βœ… Optimizes file size (under 50KB limit)
  • βœ… Creates one icon per sticker pack

Step 5️⃣: Launch Web Gallery

python app.py
πŸ” What this does
  • βœ… Starts Flask server at http://localhost:5000
  • βœ… Displays all stickers with smooth animations
  • βœ… Enables one-click downloads

πŸŽ‰ Your sticker gallery is now live!


πŸ“± WhatsApp Compliance Checklist

Requirement Status Details
WebP Format βœ… All stickers in .webp format
Pack Size βœ… Maximum 30 stickers per pack
Tray Icon βœ… 96Γ—96 PNG format
Icon Size βœ… Under 50KB per icon
Emoji Metadata βœ… At least 1 emoji per sticker
Manifest Schema βœ… Valid contents.json

🎨 Gallery Features

πŸŒ™
Dark Theme
Slate color palette
✨
Animations
Staggered fade-ins
πŸ–ΌοΈ
Lazy Loading
Optimized performance
πŸ“±
Responsive
Mobile-friendly grid

🀝 Contributing

We welcome contributions! Here's how you can help:

πŸ› Found a bug?
Open an issue with details

πŸ’‘ Have an idea?
Submit a feature request

πŸ”§ Want to code?
Fork and create a PR

Contribution Steps

# 1. Fork the repository
# 2. Create your feature branch
git checkout -b feature/amazing-feature

# 3. Commit your changes
git commit -m 'Add amazing feature'

# 4. Push to the branch
git push origin feature/amazing-feature

# 5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License

See the LICENSE file for details


πŸ™ Acknowledgments

Built with ❀️ using:

Flask Tailwind CSS Python

Inspired by the WhatsApp Sticker Platform


πŸ’« Made with passion by Indiser

Back to Top ⬆️

⭐ Star this repo if you found it helpful!

GitHub stars GitHub forks

About

Complete pipeline to extract, organize, and deploy WhatsApp sticker packs. Browser-based scraper, SHA-256 deduplication, auto-packaging, tray icon generation, and dark-themed web gallery. Flask + Python + JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors