
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
reactjs-freshchat
Advanced tools
React component wrapper for Freshchat. The oficial documentation can be found here https://developers.freshchat.com/web-sdk/.
Simple icon chat
Labeled icon chat
import { Freshchat } from 'reactjs-freshchat';
import 'reactjs-freshchat/dist/index.css'
//1. Anonymous User
<Freshchat token={'YOUR-TOKEN-HERE'} />
//2. Logged in User
<Freshchat
token={'YOUR-TOKEN-HERE'}
externalId={"john.doe1987"}
firstName={"John"}
lastName={"Doe"}
/>
//3. Labeled chat and styled colors
<Freshchat
token={'YOUR-TOKEN-HERE'}
label="Label"
ic_styles={{
backgroundColor: '#002d85',
color: '#fff'
}}
/>
$ npm i reactjs-freshchat
Keep it simple. Keep it minimal. Don't put every single feature just because you can. Have fun 🚀!
Download the source code. Then, you need to install the dependencies using
yarn
or
npm install
Then run the following command to run the component yarn start
or npm start
.
Then navigate to the example folder and run the start script to run the example project and see your changes.
MIT © ViniciusTei
FAQs
A Reactjs component wrapper for Freshchat web-sdk api.
We found that reactjs-freshchat demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.