Skip to content

giorgiosiniscalchi/whatsapp-christmas-greeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽ„ ChristmasGreeter

Lo script per i pigri che non vogliono rinunciare a mandare gli auguri personalizzati a tutti!

Un semplice script JavaScript che aggiunge un pulsante magico a WhatsApp Web per precompilare messaggi di auguri personalizzati con il nome di ogni contatto. Perfetto per Natale, compleanni, o qualsiasi occasione speciale!

image

License: MIT WhatsApp


๐Ÿ‡ฎ๐Ÿ‡น Italiano

๐ŸŽฏ Cos'รจ ChristmasGreeter?

ChristmasGreeter รจ uno script leggero che si integra perfettamente in WhatsApp Web, aggiungendo un pulsante discreto per automatizzare la creazione di messaggi personalizzati.

Cosa fa:

  • โœ… Legge automaticamente il nome del contatto dalla chat aperta
  • โœ… Estrae il primo nome (anche da contatti salvati come "Mario Rossi (lavoro)")
  • โœ… Precompila un messaggio personalizzato con il loro nome
  • โœ… NON invia automaticamente - tu controlli sempre prima di premere invio!

๐Ÿš€ Installazione Rapida

  1. Apri WhatsApp Web
  2. Premi F12 (o Cmd+Option+I su Mac) per aprire la Console
  3. Copia e incolla tutto il contenuto di christmasgreeter.js
  4. Premi INVIO
  5. Fatto! ๐ŸŽ‰ Vedrai apparire un pulsante ๐ŸŽ„

๐Ÿ“– Come Usarlo

  1. Apri una chat con un contatto
  2. Clicca sul pulsante ๐ŸŽ„ (di default appare integrato nella barra dei messaggi)
  3. Il messaggio apparirร  precompilato con il nome del contatto
  4. Controlla che sia tutto ok
  5. Premi INVIO per inviare manualmente

Esempio:

Chat aperta: "Mario Rossi (lavoro)"
โ†“
Click su ๐ŸŽ„
โ†“
Messaggio precompilato: "Tanti auguri di buon Natale Mario! ๐ŸŽ„โœจโค๏ธ"

โš™๏ธ Personalizzazione

Modifica la sezione CONFIG all'inizio dello script:

const CONFIG = {
  // ๐Ÿ“ Il tuo messaggio personalizzato
  messaggioTemplate: "Tanti auguri di buon Natale {nome}! ๐ŸŽ„โœจโค๏ธ",
  
  // ๐ŸŽจ Emoji/testo del pulsante
  buttonText: "๐ŸŽ„",
  
  // ๐Ÿ“ Posizione del pulsante
  // Opzioni: "integrated", "above-input", "sidebar", "bottom-right"...
  position: "integrated",
  
  // ๐Ÿšซ Escludi contatti specifici
  excludeList: [
    "Mamma",
    "Team Lavoro"
  ],
  
  // ๐ŸŽญ Messaggi personalizzati per contatti specifici
  customMessages: {
    "Mario Rossi": "Buon Natale amico mio! ๐ŸŽ…",
    "Laura Bianchi": "Auguri di cuore! โค๏ธ๐ŸŽ„"
  }
};

๐ŸŽจ Posizioni Disponibili

Posizione Descrizione Screenshot
above-input โญ Sopra la casella di testo Sempre visibile e consigliata
integrated Integrato nella barra (come pulsante nativo) Integrata
sidebar Lato sinistro dello schermo Non invadente
bottom-right Angolo in basso a destra Stile floating
... Vedi documentazione completa

๐Ÿ›ก๏ธ Sicurezza & Privacy

  • โœ… 100% locale - tutto viene eseguito nel tuo browser
  • โœ… Nessun dato inviato a server esterni
  • โœ… Open source - puoi leggere tutto il codice
  • โœ… Controllo manuale - ogni messaggio deve essere inviato da te
  • โœ… Non usa API WhatsApp - solo manipolazione DOM lato client

โš ๏ธ Nota importante: Questo script รจ pensato per uso personale e sporadico. Inviare messaggi di massa potrebbe violare i termini di servizio di WhatsApp.

๐Ÿ—‘๏ธ Rimozione

Per rimuovere il pulsante, digita nella Console:

rimuoviChristmasGreeter()

๐Ÿค Contribuire

Contributi, issue e feature request sono benvenuti!

  1. Fai un Fork del progetto
  2. Crea il tuo Feature Branch (git checkout -b feature/NuovaFunzione)
  3. Commit delle modifiche (git commit -m 'Aggiunta nuova funzione')
  4. Push al Branch (git push origin feature/NuovaFunzione)
  5. Apri una Pull Request

๐Ÿ“ Changelog

v1.0.0 (Dicembre 2024)

  • ๐ŸŽ‰ Release iniziale
  • โœจ Supporto per 7 posizioni diverse del pulsante
  • ๐ŸŽญ Messaggi personalizzati per contatto
  • ๐Ÿšซ Lista esclusioni
  • ๐Ÿ”” Sistema di notifiche

โš ๏ธ Disclaimer

Questo script รจ fornito "cosรฌ com'รจ" senza garanzie. L'uso รจ a tuo rischio. Gli autori non sono responsabili per eventuali conseguenze derivanti dall'uso dello script, inclusa la violazione dei termini di servizio di WhatsApp.

๐Ÿ“„ Licenza

MIT License - Vedi file LICENSE per dettagli.


๐Ÿ‡ฌ๐Ÿ‡ง English

๐ŸŽฏ What is ChristmasGreeter?

ChristmasGreeter is a lightweight script that seamlessly integrates into WhatsApp Web, adding a discreet button to automate personalized greeting messages.

What it does:

  • โœ… Automatically reads the contact name from the open chat
  • โœ… Extracts the first name (even from contacts saved as "John Smith (work)")
  • โœ… Pre-fills a personalized message with their name
  • โœ… Does NOT send automatically - you always control before hitting send!

๐Ÿš€ Quick Installation

  1. Open WhatsApp Web
  2. Press F12 (or Cmd+Option+I on Mac) to open the Console
  3. Copy and paste the entire content of christmasgreeter.js
  4. Press ENTER
  5. Done! ๐ŸŽ‰ You'll see a ๐ŸŽ„ button appear

๐Ÿ“– How to Use

  1. Open a chat with a contact
  2. Click the ๐ŸŽ„ button (default: integrated in the message bar)
  3. The message will appear pre-filled with the contact's name
  4. Check that everything is correct
  5. Press ENTER to send manually

Example:

Open chat: "John Smith (work)"
โ†“
Click ๐ŸŽ„
โ†“
Pre-filled message: "Merry Christmas John! ๐ŸŽ„โœจโค๏ธ"

โš™๏ธ Customization

Edit the CONFIG section at the beginning of the script:

const CONFIG = {
  // ๐Ÿ“ Your custom message template
  messaggioTemplate: "Merry Christmas {nome}! ๐ŸŽ„โœจโค๏ธ",
  
  // ๐ŸŽจ Button emoji/text
  buttonText: "๐ŸŽ„",
  
  // ๐Ÿ“ Button position
  // Options: "integrated", "above-input", "sidebar", "bottom-right"...
  position: "integrated",
  
  // ๐Ÿšซ Exclude specific contacts
  excludeList: [
    "Mom",
    "Work Team"
  ],
  
  // ๐ŸŽญ Custom messages for specific contacts
  customMessages: {
    "John Smith": "Merry Christmas my friend! ๐ŸŽ…",
    "Jane Doe": "Warm wishes! โค๏ธ๐ŸŽ„"
  }
};

๐Ÿ›ก๏ธ Security & Privacy

  • โœ… 100% local - everything runs in your browser
  • โœ… No data sent to external servers
  • โœ… Open source - you can read all the code
  • โœ… Manual control - every message must be sent by you
  • โœ… No WhatsApp API - only client-side DOM manipulation

โš ๏ธ Important note: This script is designed for personal and occasional use. Sending mass messages may violate WhatsApp's terms of service.

๐Ÿ—‘๏ธ Removal

To remove the button, type in the Console:

rimuoviChristmasGreeter()

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

  1. Fork the project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“ Changelog

v1.0.0 (December 2024)

  • ๐ŸŽ‰ Initial release
  • โœจ Support for 7 different button positions
  • ๐ŸŽญ Custom messages per contact
  • ๐Ÿšซ Exclusion list
  • ๐Ÿ”” Notification system

โš ๏ธ Disclaimer

This script is provided "as is" without warranties. Use at your own risk. The authors are not responsible for any consequences resulting from the use of the script, including violation of WhatsApp's terms of service.

๐Ÿ“„ License

MIT License - See LICENSE file for details.


๐ŸŽ„ Auguri!

Questo progetto รจ nato da una pigra sera di dicembre... perchรฉ mandare auguri personalizzati dovrebbe essere facile, non faticoso!

Se ti รจ stato utile, lascia una โญ su GitHub!

P.S. A chi ha ricevuto i miei auguri grazie a questo script: non odiatemi, vi voglio bene! โค๏ธ


Made with โค๏ธ (and a bit of laziness) by Giorgio Siniscalchi

๐ŸŽ… "Working smarter, not harder - even during holidays!"

Releases

No releases published

Packages

 
 
 

Contributors