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

HCAI

  • 2 Devlogs
  • 13 Total hours

A lightweight AI command-line interface powered by Hack Club AI. HCAI allows you to chat with multiple AI models directly from your terminal with streaming responses, persistent conversation history, and seamless model switching.

Ship #1

# I made a lightweight AI command-line interface powered by Hack Club AI.

## Why I made this?
- I came to know about OpenCode, yes the AI coding agent and I loved the feature of switching between AI models. Like I can use Claude for Frontend, ChatGPT for Backend and Gemini or Qwen models for simple question and answer.
- But guess what? It is not allowed to use, I asked people on the Slack about why it is not allowed, they told me that because it can let the AI modify files on the computer, that's why it is not allowed.
- So I decided upon making one of my own terminal based program.

## What does it do?
- You can change whichever model you want to use as per the user's choice and requirements for the work directly from your terminal with just one simple command.
- It won't take control of the user's computer to modify files, just a simple Q/A between AI model and the user.

## Features
- I was impressed of how much it is good and also better than I have imagined it to be.
- Like user can directly access the models available by writing a single command and even if it will be from the other provider it will change the provider too as well as model of course.
- There are commands I have made, you use /help for seeing the commands and what they do (also for more detail for the command check out my GitHub repo for this project and read "README").
- It handles error very nicely and user friendly too!

## How to use it?
- Don't clone GitHub repo or somehow download the course code for it.
- I have published it on PyPI so you can directly install the package from there on your computer via terminal (I have provided with the demo link which is the page of my package on PyPI and also provide a user friendly documentation).

## What next? (important)
- I decided upon releasing v1.0.0 version of the HCAI, but during polishing I improved it so much that I released v1.0.1 after an hour of initial v1.0.0 release, on GitHub and PyPI both (Note: the version I am shipping is v1.0.1).
- Also when I was making the database, there were only 338 models available, but today when I will ship this project the number of models have been increased.
- So when the v1.0.2 will have the remaining models too, also the package will handle more and rare Errors too (making it user friendly also) and will minimize credit burns (the plan for v1.0.2 is as of now this, who knows I might end up adding more feature in future and improve it).

# Thank you!!

  • 2 devlogs
  • 13h
Try project → See source code →
Open comments for this post

2h 46m logged

HCAI Devlog #2 (Final)

HCAI is ready to use now. :yayayayayay:

What new?

  • I was gonna release v1.0.0 but then during polishing I improved it so much that after 1 hour of releasing v1.0.0 on GitHub I released v1.0.1 on GitHub 🥀.
  • I published my package on PyPI also so you can directly use it on your terminal by installing that package.
  • Also handled storing your chats with the AI so that you can continue where you left off.
  • I improved error handling and made it more user friendly.
  • Made commands that you can use with the package.

What does it do?

  • Basically it provides you a way you can switch between different AI models you want to as per your work requirements, so that you can minimize the credit burn and maximize the productivity with the free quota provided by Hack Club.
  • You can even switch between with a command like /use in between the session.

About v1.0.2

  • Well when I made the database there were only 338 models at that time, now the models have increased on the day I will ship it, so will add that models in the v1.0.2 release which will shortly come in the near future.
  • Will reduce credit burn more as to make AI remember the history of the chats where the user left off.

For more information visit my GitHub, and my documentation on PyPI, just search “hcai” on ‘pypi.org’ or you can directly visit it through the demo link of the project I will provide you with when I ship the project.

2
0
20
Open comments for this post

9h 51m 26s logged

HCAI Devlog #1

What is HCAI?

  • HCAI is a terminal based dev tool I am making for programmers in Hack Club using Hack Club AI APIs for their software/program they are building.

What problem is solved?

  • Well I was thinking of using OpenCode for my software projects in Stardance but then I found out that Hack Club don’t allow it :speed: for their AI API keys.
  • The reason I wanted to use OpenCode was to switch between AI models so that I can use credits efficiently, for ex. I might use Claude Opus 4.8 or Sonnet 5 for frontend, ChatGPT for backend stuff and Gemini or some Qwen models (light models) for simple question and answer.
  • OpenCode does the same but it is a AI Coding Agent so it might be used to write code for the program, giving access of the files to modify code, so it is not allowed and it is completely understandable why it is not allowed.

What does it do?

  • HCAI is almost same :thumbs-up: but you can’t give access to your files to HCAI, so AI will not be directly able to modify the users file who is using HCAI.
  • HCAI will work on the users terminal and will give the flexibility to user to switch between models to use AI credits efficiently and minimize useless credit burns and maximize the productivity with the free quota given by Hack Club.
  • The user can directly start a session in terminal with whichever model they want and then can switch between the models they prefer for the type of work they are doing.
  • The best part now, your chat history will be saved :ultrafastparrot: , so for ex. if you first used Claude then switched to ChatGPT and then again switched to Gemini then came back to using Claude, you can directly continue the conversation you left on when switched to ChatGPT, and also the same for ChatGPT and Gemini too.

How much completed and what next?

  • I already hit 9+ hours of work time :meow_code: on this project in 2 days, that’s why I am writing this Devlog 🥀 , I was thinking that I might ship the project by writing the first Devlog itself but can’t manage time efficiently and it is larger project than I expected so yea I will finish it in next 1-2 days max (might be even earlier, who knows?).
  • I have completed the setup for the user, made the database of the AI models provided by Hack Club, made a model pulling engine, and right now working on making an engine where to send prompt directly from the terminal and retrieving answer from the model inside the terminal.

Something I guess…….🥀

  • It will be made in near future, till then follow me out :yesyes: so that you can use it whenever it is released.
  • Also check out my other projects too :yesyes: .
0
0
21

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…