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

@subsocial/opencomm

v0.0.3

Published

Small integration script to help you integrate Grill.chat to your app.

Downloads

2

Readme

How to Integrate Grill.chat to your app 🤝

This guide will help you to integrate Grill.chat to your app, with all the options available.

Iframe Integration

The easiest way to integrate Grill.chat to your app is to use the iframe integration. It's a simple HTML tag that you can add to your app, and it will render the chat in an iframe.

1. Add Iframe tag to your app

Add the following HTML tag to your app, where you want to render the chat and style it however you want.

<iframe allow="clipboard-write" src="https://x.grill.chat"></iframe>

2. Customize the src link

The src link can be customized to your needs. Below includes the list of options that you can use to customize the chat.

2.1. Space Options

Grill.chat home page contains list of topics for user to choose from. This topics are listed from all the posts in a subsocial space. You can create space in xSocial chain using Gazer

For example, if you create a space with ID 1002, then you can set the iframe src to https://grill.chat/1002 to only show topics from that space.

2.2. Page Options

Grill.chat has 2 pages that can be the start point.

  1. Home page

    It contains all of the topics in a subsocial space that you set in the src link. You can read more in Space Options.

    https://grill.chat/[spaceId]
  2. Chat Page

    You can also choose to have your user automatically opens a chat room. This is useful if you want to have a specific topic for your user to discuss.

    https://grill.chat/[spaceId]/c/[topicId]

2.3. Other options

You can also customize the src link with query parameters. Below includes the list of query parameters that you can use to customize the chat. generate table

| Name | Description | | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | theme | Theme of the chat. Available options: light or dark. If not provided, it will use user's system preferences or his last selected theme when accessed Grill.chat | | order | Specifies the order of the chat in home page. Pass multiple topic ids in order separated by comma. The other chats will be ordered based on last message |