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

fwgl

v1.0.4

Published

--- - Creates a proxy to connect Freshworks app running on Glitch to their respective product. - Since the FDK runs on Glitch side, all you need to have is : `fwgl` installed & the Glitch app for preview ✨ - Any number of participants can navigate throug

Downloads

14

Readme

Freshworks ↔️ Glitch connector


  • Creates a proxy to connect Freshworks app running on Glitch to their respective product.
  • Since the FDK runs on Glitch side, all you need to have is : fwgl installed & the Glitch app for preview ✨
  • Any number of participants can navigate through the source code like they would in their own editor.
  • If you are feeling adventurous, you can remix the app and add make your own additions too.

How to install:

npm i fwgl -g

Steps:

  1. Have fwgl installed on your machine
  2. Note down the Glitch app URL. It has to be in this format https://xxx.glitch.me.Here xxx is the Glitch app name. You can easily access it over here:

Note: For presenters, ensure that your attendees know the user and password of the Glitch app (that you set in the .env file) if they are willing to tryout the app remotely. Ensure to change it after the demo. As a general rule of thumb, do not hardcode any sensitive information in a Glitch app. Point 3 is only relevant if you are Remixing the app or if you are a presenter, else you can skip it.

  1. Ensure that the .env file in your Glitch app workspace has the following environment variables filled-in with proper values.
  • The values that you enter in FW_GLITCH_USER and FW_GLITCH_PASSWORD act as basic auth to protect certain endpoints in the Glitch app. This can be any value that you provide. You need to note this down for providing the same in the fwgl command line.
  • FDK_ARGS represents arguments that are passed to the FDK. Ex: If you want to skip coverage you can use '--skip-coverage' and if you want to open an ngrok tunnel within Glitch for testing webhooks, you can add --tunnel to the arguments. Anything provided there gets appended to FDK command while running the app.
FW_GLITCH_USER=dummy
FW_GLITCH_PASSWORD=dummy
# FDK Arguments
FDK_ARGS='--skip-coverage'
# Leave this as such.
INSEC=true 
  1. Now that we have noted enough details from the Glitch app, let us run the connector. Go to your terminal and type fwgl. Enter the details that you have noted down in the previous steps

Upon sucessful connection, you will notice that the proxy has been created 🎉

  1. You can switch to developer mode in the respective Freshworks products based on the instructions in the documentation to test the app!

  2. Since the proxy is established. You can also test the app as you normally would as if it were a local setup.

  • Installation pages at http://localhost:10001/custom_configs
  • Events simulator at http://localhost:10001/web/test

Additional notes:

  • In order to access the FDK, click on the Tools menu at the bottom of the Glitch app and choose the Terminal option. This will open a live terminal.

  • Any app that is created should be under workspace directory. The contents of this directory can be modified as per your wish. You can use fdk create or fdk generate and so on. By default, terminal starts with workspace directory set as the current working directory.