<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/adding-mastodon-comments-z2qbt6tmd" -->

---
title: Adding Mastodon Comments | daily.dev
description: A brief announcement about integrating Mastodon-based comments into a blog using a self-contained web component. The implementation uses dpecos's...
canonical: https://daily.dev/posts/adding-mastodon-comments-z2qbt6tmd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Adding Mastodon Comments | daily.dev
og:description: A brief announcement about integrating Mastodon-based comments into a blog using a self-contained web component. The implementation uses dpecos's...
og:url: https://daily.dev/posts/adding-mastodon-comments-z2qbt6tmd
og:image: https://api.daily.dev/og/posts/Z2QbT6tMD.png
og:image:alt: Adding Mastodon Comments
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding Mastodon Comments

**[RUBYLAND](https://daily.dev/sources/rubyla)** · 1 min read · 0 upvotes · 0 comments

## Summary

A brief announcement about integrating Mastodon-based comments into a blog using a self-contained web component. The implementation uses dpecos's mastodon-comments component, which allows Fediverse users to reply to posts through their Mastodon accounts. The post includes a link to the web component repository and references a Hugo-specific implementation guide.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.mikeperham.com/2026/01/27/adding-mastodon-comments/>

## Similar posts on daily.dev

- [A beginner’s guide to Mastodon, the open source Twitter alternative](https://daily.dev/posts/a-beginner-s-guide-to-mastodon-the-open-source-twitter-alternative-8hchm6loj) · TechCrunch · 2 upvotes · 0 comments
- [Migrating 13,000 Comments from Drupal to Hugo](https://daily.dev/posts/migrating-13-000-comments-from-drupal-to-hugo-ega6n11gj) · Jeff Geerling · 26 upvotes · 0 comments
- [5.0: Laying the foundation](https://daily.dev/posts/5-0-laying-the-foundation-oxpbfwr3t) · Lobsters · 0 upvotes · 0 comments
- [Drop in comments for Filament with Commentions](https://daily.dev/posts/drop-in-comments-for-filament-with-commentions-yoovak7kf) · Laravel News · 1 upvotes · 0 comments
- [10 Years on Mastodon](https://daily.dev/posts/10-years-on-mastodon-eajuopp1k) · Terence Eden · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#web-components](https://daily.dev/tags/web-components), [#mastodon](https://daily.dev/tags/mastodon)

[View this post on daily.dev](https://daily.dev/posts/adding-mastodon-comments-z2qbt6tmd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Adding Mastodon Comments","url":"https://daily.dev/posts/adding-mastodon-comments-z2qbt6tmd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/adding-mastodon-comments-z2qbt6tmd"},"datePublished":"2026-01-28T01:24:42.189Z","dateModified":"2026-01-28T01:25:01.873Z","description":"A brief announcement about integrating Mastodon-based comments into a blog using a self-contained web component. The implementation uses dpecos's...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bcab1dc839734a1a0ddedb3147b4ba4a?_a=AQAEulh","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bcab1dc839734a1a0ddedb3147b4ba4a?_a=AQAEulh","isAccessibleForFree":true,"articleSection":"RUBYLAND","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"RUBYLAND","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rubyla","url":"https://daily.dev/sources/rubyla"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/adding-mastodon-comments-z2qbt6tmd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,web-components,mastodon","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"RUBYLAND","item":"https://daily.dev/sources/rubyla"},{"@type":"ListItem","position":3,"name":"Adding Mastodon Comments"}]}
```

