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

ichaty

v0.1.26

Published

Chaty, satisfy all your imagination about chatGPT! deploy your chatGPT web service, api service, wechat bot service etc.

Downloads

31

Readme

✨✨✨Chaty – ChatGPT ALl In One!

Read this in other languages: English | 简体中文

With Chaty, your needs about ChatGPT will come to life! Chaty allows you to:

  • Use it as a command-line assistant;
  • Deploy a private ChatGPT web service;
  • Deploy NodeJS API for ChatGPT;
  • Deploy WeChat ChatGPT bot;
  • Deploy Telegram ChatGPT bot;
  • More services are under coding!

Let Chaty take you beyond expectations and into the exciting world of ChatGPT.

Update

2023.03.13 Support for WeChat robot to reply to group chats! Just add the WeChat robot into the group and @<your-bot-name> to start a conversation!
2023.03.15 ❗️Based on some feedback, WeChat may impose restrictions on robot logins, which may result in account suspension. Please try running chaty run wechat with a secondary account. 2023.03.17 web dialog saving supported!

Usage

Chaty is very easy to use!
install ichaty first

npm i -g ichaty

then login with your openAI key

chaty login <your-openAI-key>
chaty // show you all commands and options  
chaty run command // run as a command chatGPT bot
chaty run web // deploy a web chatGPT service
chaty run node // deploy a node chatGPT api service
chaty run wechat // deploy a wechat chatGPT bot
chaty run telegram // deploy a telegram chatGPT bot

⚙️Installation

Tips: Node v16 or above version is required.
Chaty is a application based on Node.js, and can be installed with the following command:
If you have not installed NodeJS, click here

npm i -g ichaty

🔑Login

Login with your openAI key.You can find your API key at https://platform.openai.com/account/api-keys.
Then you can start your journey

chaty login <your-openAI-key>

🚀Services

Chaty provides multiple service options, and you can choose the most suitable one according to your needs.

-[x] command line Service📁   
-[x] private Web Service🚀  
-[x] weChat Robot Service💬   
-[x] nodeJS API Service💻 
-[] telegram Bot Service🤖  

📁command line Service

chaty run command

🌍Private Web Service

Chaty can deploy a private web service, and you can access the Chaty service you created anytime by visiting http://localhost:9522.
you can specify port with chaty run web --port <your-port>

chaty run web --port 9555

💬WeChat Robot Service

Chaty can also deploy a WeChat robot service, allowing you to chat with Chaty through a WeChat account.

chaty run wechat

Scan qrcode on terminal then login your wechat!

Just send message with hello/你好 to start your journey~

🤖Telegram Bot Service(under construction...)

Chaty can also deploy Telegram Bot service, enabling your users to chat with Chaty in Telegram. Simply send a message to '@your-bot' to initiate the chatbot service.

Troubleshooting

  1. If your network cannot access https://api.openai.com, you can try run
chaty proxy default

as a temporary proxy solution.
For a long-term solution, it is recommended to run on a server that supports accessing api.openai.com or use a stable proxy.

  1. when you got error like below(wechat security authorization). Auth your wechat account(me->Pay->upper right corner···->Real-Name Authentication).
uncaughtException AssertionError [ERR_ASSERTION]: 1 == 0

under coding

  • [] support SSE
  • [] support command line/ web service save dialog
  • [] faster service
  • [] config wechat robot params
  • [] better web service ui

Additional Features

More services are under construction!(discord, telegram, slack...)

Thank you for choosing Chaty! If you have any questions or suggestions, please feel free to contact us!