Skip to content

awesome-comment/awesome-comment

Repository files navigation

Awesome Comment

Usage

  1. Add script to your page
    <script async src="https://unpkg.com/@meathill/awesome-comment@latest/dist/awesome-comment.js"></script>
  2. Attach awesome comment to your page
    AwesomeComment.init(
      dom, // container element, or DOM selector
      postId, // unique identifier for the page
      baseUrl, // base URL for the API
      domain, // auth0 domain
      clientId, // auth0 client id
    );

Structure

  • packages/awesome-comment
    • Vue3 SPA
    • to be built into dist script
    • to be injected into page, attach comment component to page when running
  • packages/admin
    • Nuxt3
    • admin panel, administrators use it to manage comments
    • to be deployed on Vercel
  • packages/core
    • pure TypeScript
    • include type definitions and interfaces
    • and some common functions

Author

LICENSE

MIT

About

A new OSS comment based on Cloud native components

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •