This is a TUI application that allows you to use your favourite LLM (via openrouter) to assist you with coding. I made this project to learn how AI interacts with natibe applications and to have a fun project to work on. I hope you enjoy it as much as I do!
- Read tool: ALlows AI model to read files on the host system.
- Write tool: Allows AI model to write files on the host system.
- Bash tool: Allows AI model to execute commands on the host system.
- Clone the repository
git clone https://github.com/arjav0703/claude-code-clone.git- Make sure you have cargo installed (https://rustup.rs)
- Run the project
cd claude-code-clone
cargo runnALT + Enter: Send messageCtrl + Q: QuitCtrl + N: New chatCtrl + H: Acess previous ChatCtrl + L: Show LogsCtrl + .: Settings panel
- Create a file called
config.tomlin the root directory of the project. - Add the following content to the file, replacing the values with your own:
OPENROUTER_API_KEY="your_openrouter_api_key_here"
MODEL_NAME = "openrouter/owl-alpha"I had tab completions on throughout the development process. It helped every once in a while. I also used opencode for debugging when I wrote ugly code and confused myself ðŸ˜. Used ChatGPT for asking questions (mostly when i couldn't find something in the documentation)