DEV Community

WangGithub0
WangGithub0

Posted on

A web app companion for using GPT - ChatCraft

Have you met weird session issue or had to log in again when you using chatGPT? Have you considered to use multiple Large Language Models(LLMs) in one place? Do you wanna search some keywords from all the history?
If you do have met these, I think ChatCraft is a good choice to use AI.

Image description

  • Features

ChatCraft has multiple cool features:

Image description

  • Install

I got ChatCraft setup and tried to run on my Mac according to the CONTRIBUTING. It is quite easy.

  1. Install pnpm and Node.js

  2. Install dependencies pnpm install

  3. Run the app pnpm dev

  4. Choose AI provider OpenAI or OpenRouter and input API key

Then I could use it in local:

Image description

But it also provides a "Running the App with Backend", I felt confused about it, so I decided to learn more about CloudFlare Pages

Image description

  • Community

This project do has a official Discord server, but the link has expired, we will update it later.

  • Encrypt and share secrets

Thanks to Taras's generosity, I have been provided with GPT4 for using.

  1. I installed sops and ssh-to-age using Go according to the document

  2. I generated a new SSH key using ed25519 according to GitHub Docs and uploaded to my GitHub account and my GitHub username was already to added in sops/admin/users.sops-protected.yaml.
    After doc updated by Taras, I got the new branch by run git fetch origin && get checkout taras/sops2 and finally I got my OPENAI_API_KEY.

This is my first time collaborating on an open source project, and I'm really excited because this project is really cool. At the same time, I've also realized that there are many areas where I need to learn.

Top comments (0)