
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@threenine/nuxstr-comments
Advanced tools
Nuxstr Comments for doing amazing things.
Install the module to your Nuxt application with one command:
npx nuxi module add @threenine/nuxstr-comments
That's it! You can now use Nuxstr Comments in your Nuxt app ✨
<template>
<div>
<ContentDoc />
<NuxstrComments />
</div>
</template>
By default, the component tags comments by the current route path (e.g., content:/blog/my-post) and fetches them from configured relays.
export default defineNuxtConfig({
modules: [
'@nuxt/content',
'@threenine/nuxstr-comments',
],
nuxstrComments: {
relays: ['wss://relay.damus.io', 'wss://relay.nostr.band'],
tagStrategy: 'path',
tagPrefix: 'content:',
},
})
When a user attempts to post, they will be prompted to log in with their Nostr browser extension (NIP-07). Comments are published as kind:1 notes tagged with a t
tag containing the content tag (e.g., content:/blog/my-post
). Rendering of comment bodies uses @nuxt/content's ContentRendererMarkdown component so users can write markdown.
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release
FAQs
Nuxstr Comments
We found that @threenine/nuxstr-comments 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.