TARS AI is a project developed by the SHPE Club from LACC-MESA. It provides a Flask API for controlling a robot and a React application for user interaction.
tars-ai/
├── api/ # Flask API backend
│ ├── core/ # Core functionalities
│ ├── logs/ # Log files
│ ├── requirements.txt # Python dependencies
│ ├── .flaskenv # Environment variables for Flask
│ └── main.py # Main entry point for the API
├── tars-app/ # React frontend
│ ├── src/ # Source files for React
│ ├── public/ # Public assets
│ ├── package.json # Node.js dependencies
│ └── vite.config.ts # Vite configuration
└── README.md # Project documentation
git clone https://github.com/yourusername/tars-ai.git
cd tars-aicd api
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`cp .example.env .envEdit the .env file to add your OPENAI_API_KEY.
pip install -r requirements.txtcd ../tars-appyarncd api
python main.pycd ../tars-app
yarn dev- Access the API at
http://localhost:8080. - Access the frontend application at
http://localhost:3000.
Feel free to contribute by submitting issues or pull requests.
This project is licensed under the MIT License.
