
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.
astro-mastodon
Advanced tools
Easily embed Mastodon posts into your Astro blog posts.
.md
, .mdx
and .astro
filesInstall the package:
pnpm add astro-mastodon
Update your astro.config.mjs
file:
// Other imports
import { remarkMastodonEmbed } from "astro-mastodon";
export default defineConfig({
// ...
markdown: {
remarkPlugins: [
remarkMastodonEmbed,
// other plugins
],
},
// ...
});
Add import "astro-mastodon/dist/output.css"
at the top of your post template file (e.g. src/pages/blog/[slug]/index.astro
)
In your markdown file, add post "mention":
---
title: Embeds FTW!
---
This is an example of an embedded Mastodon post:
`@rosnovsky@lounge.town:109860863149734322`
The anatomy of the embed is as follows:
@username@instance.domain:postId
Clone the repo and run
pnpm i
pnpm dev
Open http://localhost:4321
and have fun!
FAQs
ππ Mastodon embeds and mentions for Astro websites
The npm package astro-mastodon receives a total of 4 weekly downloads. As such, astro-mastodon popularity was classified as not popular.
We found that astro-mastodon 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 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.