You are browsing as a guest. Sign up (or log in) to start making projects!

ChatBot

  • 1 Devlogs
  • 9 Total hours

A chatbot with different characters from manga and comics, It also has an option from which u can add characters of your own

Open comments for this post

8h 53m 35s logged

So this one’s finally wrapped up. It’s a little desktop app where you pick a character — J.A.R.V.I.S., Goku, Sherlock, Raphael from Slime, or one you made yourself — and just chat with them. Runs on Groq’s API under the hood (Llama 3.3 70B), all wrapped in a Tkinter GUI.
Honestly the character creation part was the fun bit to build. You can type in a name, write a system prompt, pick an accent color with the native color picker, and upload your own image for them. It gets saved locally so it’s still there next time you open the app.
The chat screen itself doesn’t use a normal text box — I drew the whole thing manually on a canvas. Rounded bubbles, little avatar circles with initials, background art that scales to fit the window. Took a while to get the bubble sizing right based on the text’s bounding box but I like how it turned out.
A couple of small things I’m proud of:

API calls run in background threads so the UI never locks up while waiting on a response
there’s a “typing…” message that shows up and then gets swapped out once the real reply comes back
if you delete a custom character, it doesn’t just vanish — the AI sends you one last in-character goodbye message first, which feels way better than a plain confirm dialog
there’s a compact mode that shrinks the window and pins it on top of everything else, so you can keep it open while doing other stuff

First time running it, it’ll ask for your Groq API key and then just remembers it after that (checks a config file, then env var, then prompts if neither exists).
It’s a single Python file, no build process, just pip install the deps and go. Not adding anything else for now, calling this v1.0.

0
0
5

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…