All source listed below is under MIT license if no LICENSE file stating different is available.

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
.gitignore
auth.h
browse.c
browse.h
chat.h
cmd.sh
compose.yml
database.db
db_utils.c
db_utils.h
Dockerfile
http_curl.h
indexer.h
line.h
main.c
Makefile
markdown.h
messages.h
openai.h
plugin.h
r.h
README.md
review.md
rpylib.c
rpylib.so
screenshot1.png
setup.py
tools.h
url.h
utils.h