Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
chattergun
Advanced tools
Changelog
0.0.10
Readme
ChatterGun is a cutting-edge web component that enables real-time, decentralized chat functionality in your web applications. Powered by GunDB, ChatterGun offers a robust, scalable solution for integrating chat systems that prioritize privacy and data sovereignty.
ChatterGun can be included directly from a CDN or installed via npm:
Simply include the following <script>
tag in your HTML to start using ChatterGun:
<script src="https://cdn.jsdelivr.net/npm/chattergun@0.0.19/index.js"></script>
Install ChatterGun using npm or yarn:
npm install @valiantlynx/chattergun
# or
yarn add @valiantlynx/chattergun
After installation, you can import ChatterGun in your JavaScript project:
import '@valiantlynx/chattergun';
Once included in your project, you can add ChatterGun to your web page like any other HTML element:
<chat-app></chat-app>
You can customize ChatterGun using CSS variables for themes or directly manipulate the shadow DOM for more complex customizations.
chat-app {
--chat-background-color: #f0f0f0;
--chat-text-color: #333;
--chat-button-color: #007bff;
}
To configure ChatterGun, set properties directly on the element:
<chat-app peer-list="https://yourcustomrelay.com/gun"></chat-app>
If you prefer to build ChatterGun from the source, clone the repository and run:
npm install
npm run build
This will compile the source files into a distributable format in the dist
folder.
Contributions are welcome! Please see our GitHub repository for submitting issues or pull requests.
ChatterGun is open-sourced software licensed under the MIT license.
For more details and documentation, please visit our official website or the GitHub repository.
FAQs
ChatterGun: Unleash the power of decentralized, real-time chat in any project. A plug-and-play chat solution that brings secure and scalable messaging to websites and applications alike, powered by GunDB.
The npm package chattergun receives a total of 88 weekly downloads. As such, chattergun popularity was classified as not popular.
We found that chattergun demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.