borarohithkumar/TerMind-CLI — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python command line tool called TerMind that lets someone type normal English like “show big log files” or “find files changed this week” and turns it into a safe Bash command they can review before running.

It should have a lightweight terminal client that starts with termind, talks to a FastAPI backend, and shows the suggested command, which engine produced it, and a yes or no confirmation before executing anything locally. The backend should first try to match the request against a prepared FAISS index of verified Linux and Docker commands, then fall back to a local HuggingFace T5 model when the match confidence is low.

Please include the server, client, data loading pieces, Docker setup, requirements, and an install script for Linux and Termux that sets up a virtual environment and adds the CLI to the user’s PATH. Make it easy to run locally with Docker on port 8000. Look up current docs online if you need to.

Want more depth? Deep Reverse