npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vvb-text-widget

v1.1.2

Published

Virtual Voice Bridge (VVB) Text Chat Widget - Web Component for AI-powered chat integration

Downloads

25

Readme

VVB Text Widget

Virtual Voice Bridge (VVB) için geliştirilmiş, herhangi bir web sitesine kolayca entegre edilebilen modern chat widget'ı. Widget, Shadow DOM kullanarak tamamen izole edilmiştir ve mevcut site stillerinden etkilenmez.

NPM Version License: MIT

Özellikler

  • Shadow DOM: Tamamen izole edilmiş stil ve işlevsellik
  • WebSocket Bağlantısı: Gerçek zamanlı mesajlaşma
  • Responsive Tasarım: Tüm cihazlarda mükemmel görünüm
  • Çoklu Durum: Kapalı, yardım ve sohbet durumları
  • Modern UI: Profesyonel avatarlar ve smooth animasyonlar
  • Kolay Entegrasyon: Tek satır kod ile entegrasyon
  • Özelleştirilebilir: flowname ve displayname parametreleri ile
  • Oturum Yönetimi: 5 dakikalık oturum timeout özelliği

Kullanım

1. NPM ile Kurulum

npm install vvb-text-widget

2. CDN Üzerinden Kullanım

<script src="https://unpkg.com/vvb-text-widget@latest/vvb-chat-widget.js"></script>

3. Widget'ı Sayfanıza Ekleyin

<!-- flowname ve displayname parametreleri zorunludur -->
<vvb-chat-widget flowname="garanti" displayname="Garanti BBVA"></vvb-chat-widget>
<script src="https://unpkg.com/vvb-text-widget@latest/vvb-chat-widget.js"></script>

Parametre Açıklamaları

  • flowname: VVB API'sindeki flow adı (küçük harfler, boşluksuz)
  • displayname: Chat arayüzünde gösterilecek şirket/kurum adı

Kullanım Örnekleri

Temel Kullanım:

<vvb-chat-widget flowname="garanti" displayname="Garanti BBVA"></vvb-chat-widget>

Özelleştirilmiş Kullanım:

<vvb-chat-widget 
    flowname="akbank" 
    displayname="Akbank"
    help-text="Merhaba, size nasıl yardımcı olabilirim?"
    call-button-text="Sohbete Başla"
    chat-subtitle="Akbank Asistanı"
    primary-color="#e30a17"
    text-color="#1a1a1a"
    bg-color="#ffffff"
    button-radius="8px"
></vvb-chat-widget>

Özelleştirme Parametreleri

Zorunlu Parametreler:

  • flowname - VVB API'sindeki flow adı
  • displayname - Chat başlığında gösterilecek isim

Opsiyonel Parametreler:

Metin Özelleştirmeleri:

  • help-text - Yardım popup'ındaki metin (varsayılan: "Size nasıl yardımcı olabilirim?")
  • call-button-text - Başlat butonundaki metin (varsayılan: "Görüşme Başlat")
  • chat-subtitle - Chat başlığının alt metni (varsayılan: "AI Asistan ile Sohbet")

Stil Özelleştirmeleri:

  • primary-color - Ana renk (butonlar, avatarlar) (varsayılan: "rgb(85, 87, 199)")
  • text-color - Metin rengi (varsayılan: "#111827")
  • bg-color - Arka plan rengi (varsayılan: "white")
  • button-radius - Buton köşe yuvarlaklığı (varsayılan: "16px")

Widget Durumları

  1. Kapalı Durum: Sağ alt köşede floating buton
  2. Yardım Durumu: "Size nasıl yardımcı olabilirim?" popup'ı
  3. Sohbet Durumu: Tam sohbet arayüzü

Teknik Detaylar

  • Web Components teknolojisi kullanılmıştır
  • Shadow DOM ile stil izolasyonu sağlanmıştır
  • WebSocket ile gerçek zamanlı iletişim
  • CSS Animations ile smooth geçişler
  • Event Handling ile interaktif deneyim
  • Responsive Design ile mobil uyumluluk
  • Session Management ile akıllı oturum yönetimi

Tarayıcı Desteği

  • Chrome 54+
  • Firefox 63+
  • Safari 10.1+
  • Edge 79+

Lisans

MIT License - detaylar için LICENSE dosyasına bakınız.

Destek

Sorularınız için: [email protected]

Katkıda Bulunma

Bitbucket repository: https://bitbucket.org/solidict/vvb-text-widget