npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gatsby-theme-ghost-commento

v2.0.0

Published

Gatsby theme to easily add commento to gatsby-theme-try-ghost

Downloads

37

Readme

gatsby-theme-ghost-commento

Released under MIT license. gatsby-theme-ghost-commento npm package version. PRs welcome!

Integrates the commenting system Commento into blog posts of gatsby-theme-try-ghost. This theme makes use of latent-component-shadowing and showcases best practices for adding custom themes to gatsby-theme-try-ghost.

Install

yarn add gatsby-theme-ghost-commento

Dependencies

This theme is an add-on theme designed to seamlessly integrate with gatsby-theme-try-ghost. The theme uses functions provided by gatsby-theme-try-ghost, so installing gatsby-theme-try-ghost is required.

yarn add gatsby-theme-try-ghost

How to use

// In your gatsby-config.js
plugins: [
    {
        resolve: `gatsby-theme-ghost-commento`,
        options: {
            // The url pointing to your self-hosted commento installation
            // You can remove the option, if you use the commento.io managed service
            url: `https://commento.your-blog.com`,
        },
    },
]

Details

This Gatsby theme plugin hooks into the gatsby-theme-try-ghost theme and adds a comment section to every post. Please play with the Commento Demo in order to find out if this is the right commenting system for you. If you are self-hosting commento, then add your endpoint in the url field above. Users of the commento.io managed service, can remove the options as the url defaults to https://cdn.commento.io.

Backend

In order to be able to use comments with Commento, you need a backend. You have two options here:

  1. Register with Commento (convenient, subscription fees).

  2. Spin-up a self-hosted Commento server Commento server (full control, own server costs).

The Commento backend allows you to set spam filters, add moderators, authentication options and much more. It also provides a dashboard for anonymous analytics.

Wishlist

All comments are sourced in via a javascript plugin on runtime. To improve SEO it would be better to have an hybrid approach, where older comments are sourced in during Gatsby build time and only new comments are provided on runtime. If you feel the call to improve this plugin, please get in contact with us.

Contributions

PRs are welcome! Consider contributing to this project if you are missing feature that is also useful for others. Explore this guide, to get some more ideas.

Copyright & License

Copyright (c) 2020 styxlab - Released under the MIT license.