Add Comments to Your Replit App

Comments, Reactions, and Ratings for Apps Built With Replit Agent

Whatever stack Replit Agent picked for your app, Hyvor Talk fits. Give the Agent one prompt, and your pages get a comment section, without new tables or API endpoints.

Installation guide About 5 minutes

Steps to Add Comments to a Replit App

You can ask Replit Agent to add the comments, or paste the code yourself. Either way, start with a website ID.

  1. Sign up at the Hyvor Talk Console, add a website, and copy its ID from Settings → Website.

  2. Add your deployment domain and your development URL's domain at Settings → Website → Allowed Domains.

  3. Give this prompt to Replit Agent. Replace YOUR_WEBSITE_ID with your website ID, and "article page" with the page where comments belong.

    Add Hyvor Talk comments to the bottom of every article page.
    
    Add this HTML to the article page template, after the article content:
    
    <script async src="https://talk.hyvor.com/embed/embed.js" type="module"></script>
    <hyvor-talk-comments
        website-id="YOUR_WEBSITE_ID"
        page-id="ARTICLE_ID"
    ></hyvor-talk-comments>
    
    Replace ARTICLE_ID with the article's ID from the database, so every
    article gets its own thread. If the frontend uses React, Vue, or Svelte,
    use @hyvor/hyvor-talk-react, @hyvor/hyvor-talk-vue, or
    @hyvor/hyvor-talk-svelte instead of the raw HTML.
    
    Don't build comment storage, tables, or API endpoints.
  4. Open an article in the webview to check the comments, then redeploy your app.

That's it. If the Agent wrote its own comment code instead, point it back to the embed above. For all embed options, see the comments docs.

Frequently asked questions

Yes. Replit apps can be Flask, Express, Next.js, Django, or anything else. The comments are a web component that works in any HTML page, so the language on your server doesn't matter.

It never changes, even if you rename an article or change its URL. That keeps each thread attached to the right page. See page-id.

No. Comments and commenters are stored by Hyvor Talk. You don't need new tables, and nothing is added to your database bill.

The development URL is a different domain from your deployment. Add both at Settings → Website → Allowed Domains in the Console.

Yes. With stateless SSO, your server signs the logged-in user's data and passes it to the embed. Ask the Agent to set it up using the docs. SSO is on the Business plan.

Replies, upvotes, reactions, ratings, reply emails, spam filtering, and moderation tools, all managed from the Hyvor Talk Console.

Start a 14-day free trial, no credit card needed. See the pricing page for plans.

Start your 14-day free trial now!

14-day free trial
No credit card required
Cancel anytime