
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
react-telegram-sticker-viewer
Advanced tools
React component for viewing telegram sticker url with .tgs extension got from the telegram bot webhook
$ npm install react-telegram-sticker-viewer
For a live demo, visit: https://kokim2022.github.io/react-telegram-sticker-viewer/
import React, { useState } from 'react';
import ReactTelegramStickerViewer from 'react-telegram-sticker-viewer';
const App: React.FC = () => {
const [tgsUrl, setTgsUrl] = useState<string>(
'https://cdn.chatapi.net/stickers/telegram/1c49672ec5dbeef5cfd517996acf2bac/file_10.tgs'
);
return (
<ReactTelegramStickerViewer
tgsUrl={tgsUrl}
// Optional: You can pass a custom CORS proxy URL if needed
// corsProxyServerUrl="https://your-custom-cors-proxy.com/?url="
style={{ height: '300px', width: '300px' }}
/>
);
};
export default App;
tgsUrl
(required, string)
The URL of the Telegram Sticker (TGS file) to be displayed.
style
(optional, object)
The style of the sticker viewer. Default is { height: '100px', width: '100px' }
.
corsProxyServerUrl
(optional, string)
You can provide a custom CORS proxy URL if needed. This is useful if you're encountering CORS issues when accessing the TGS URL.
MIT @ kokim2020.
FAQs
React component for viewing telegram sticker url with .tgs extension got from the telegram bot webhook
The npm package react-telegram-sticker-viewer receives a total of 4 weekly downloads. As such, react-telegram-sticker-viewer popularity was classified as not popular.
We found that react-telegram-sticker-viewer 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.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.