DEV Community

Kevin
Kevin

Posted on

I Have Open-sourced Chaty, a Single Line of Code That Provides Multiple ChatGPT Services.

The impact of chatGPT is undeniable.

what chatGPT can do

Although it may not replace programmers entirely, chatGPT can help us become better ones.

With the ability to answer our questions, provide code suggestions, and offer technical support, chatGPT is becoming an indispensable part of our programming career.

Through interaction with chatGPT, we can better understand programming concepts and problem-solving methods, thereby continuously improving our skills and knowledge.

During the process of tinkering with chatGPT, I came across various plans for building chatGPT, all of which were messy and in different languages.

As someone who writes TypeScript, React/Vue, and Node, I created chaty.

I summarized the common scenarios for using chatGPT and implemented the following features in a week:

chaty run command // terminal chatbot

chaty run web // private chatGPT web service

chaty run node // chatGPT API based on Node

chaty run wechat // chatGPT WeChat bot

Enter fullscreen mode Exit fullscreen mode

chatGPT command-line bot

chatGPT web service

and

chaty run discord
chaty run telegram
Enter fullscreen mode Exit fullscreen mode

are under coding

Of course, the functionalities currently implemented are still relatively simple, and there is a lot of work to be done in the future for improvement.

For more details, please refer to the readme.

Project link: https://github.com/cosin2077/chaty

Feedback and contributions are welcome through PRs and issues.

Thank you for reading.

Top comments (0)