DEV Community

WangGithub0
WangGithub0

Posted on

1

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.

API Trace View

Struggling with slow API calls?

Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay