R Vibe Tool

R is a CLI vibe tool for Linux with nice markdown output. It has agent support. Put your instructions into ~/.rcontext.txtto describe how it should behave. Tip: include the saving of files as instruction step. Use the index tool to initialize only source files and no environment / node_modules files to continue on an existing project! Good to instruct that first of your .rcontext.txt file.

By default it uses OpenAI GPT-3.5-turbo as the model. It will use my limited OpenAI key as example. That will thus only work temporary! Good news, Ollama and Claude are also supported

An example what I have vibed with is this.

How to get it working under OLLAMA

Ollama molodetz server is slow.

export R_MODEL="qwen2.5:3b"
export R_BASE_URL="https://ollama.molodetz.nl"
./r

How to get it working under ANTHROPIC CLAUDE

export R_MODEL="claude-3-5-haiku-20241022"
export R_BASE_URL="https://api.anthropic.com"
export R_KEY="sk-ant-"
./r