Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@chatfall/client
Advanced tools
Chatfall is a fully-featured self-hosted commenting system for easily adding comments to any webpage.
This package contains only the client widget for embedding into your website.
Please see the root repository for more details.
We recommend loading this package at runtime via a CDN instead of bundling it into your code. For example:
<script>
const iframe = document.createElement('iframe');
// BEGIN: edit these values to match your needs
iframe.width = '100%';
iframe.height = '100%';
iframe.style.border = 'none';
const serverUrl = 'http://localhost:3000'; // URL to your Chatfall server
const rootElement = document.getElementById('root');
const version = '0.18.0'; // replace with the version of the Chatfall server you are running
// END
iframe.srcdoc = `
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@chatfall/client@${version}/dist/chatfall.css" crossorigin="anonymous" />
<script type="module">
import { Chatfall } from 'https://cdn.jsdelivr.net/npm/@chatfall/client@${version}/dist/chatfall.es.js';
Chatfall.init({
serverUrl: '${serverUrl}',
pageUrl: '${location.href}',
});
<\/script>
`;
rootElement.appendChild(iframe)
</script>
Read the official documentation for usage instructions.
See LICENSE.md
FAQs
A self-hosted, lightweight commenting system for your website.
The npm package @chatfall/client receives a total of 72 weekly downloads. As such, @chatfall/client popularity was classified as not popular.
We found that @chatfall/client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.