
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@netless/app-presentation
Advanced tools
A Netless App that display multiple images as presentation slides.
npm add @netless/app-presentation
import { register } from "@netless/fastboard"
import { install } from "@netless/app-presentation"
install(register, { as: 'DocsViewer' })
Call fastboard.insertDocs()
if you installed this app { as: 'DocsViewer' }
.
// Assume you have got the presentation pages as such data structure
const data = [
// The [preview] field is optional
{ width: 1024, height: 768, url: 'url/to/1.png', preview: 'url/to/1.small.png' },
]
// Now call addApp()
fastboard.manager.addApp({
kind: 'Presentation',
options: {
// folder name to mount whiteboard scenes
// the same folder name will prevent you from insterting it again
scenePath: `/presentation/foo`,
// app window title
title: 'a.pdf',
// whiteboard scenes specification
scenes: data.map((e, i) => ({
name: String(i + 1),
ppt: {
src: e.url,
width: e.width,
height: e.height,
previewURL: e.preview
}
}))
}
})
Note that if you do not replace the DocsViewer app with { as: 'DocsViewer' }
,
the dispatchDocsEvent()
function won't work on the Presentation app. This is because that function only
handles app whose kind is DocsViewer
or Slide
.
To only develop the UI part, run:
$ pnpm build
$ pnpm dev
Then goto http://localhost:5173/ to see the app locally.
To develop it in a real whiteboard room, add a file .env.local containing the room's uuid and token, then goto http://localhost:5173/e2e/.
MIT @ netless
FAQs
Netless App for presentation slides (images)
The npm package @netless/app-presentation receives a total of 13 weekly downloads. As such, @netless/app-presentation popularity was classified as not popular.
We found that @netless/app-presentation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.