FileAI is a personal project designed to streamline the process of converting simple text prompts into fully formatted files. It provides a seamless and intelligent solution for users who need structured documents, reports, or data files without manually formatting them.
✅ Reports & Documents – Turn brief text into structured reports.
✅ Spreadsheets – Generate organized Excel sheets.
✅ Visualizations – Create charts & bar graphs.
✅ PDFs – Auto-format content into PDFs.
Follow these steps to run the File AI project locally, make changes, and test it.
First, clone the repository and navigate to the project directory:
git clone https://github.com/justsomerandomdude264/File_AI.git
cd File_AI Create two .env files for configuration.
Create a .env file in the root directory with the following content:
MYSQL_ROOT_PASSWORD=ROOT PASSWORD
DB_USER=DATABASE USER
DB_PASSWORD=DATABASE USER PASSWORD Create another .env file inside the backend directory:
OPENAI_API_KEY="YOUR OPENAI API KEY"
DB_ROOT_PASSWORD=ROOT PASSWORD
DB_NAME=fileai_db
DB_USER=DATABASE USER
DB_PASSWORD=DATABASE USER PASSWORD
DB_HOST=db
DB_PORT=3306
TEST_DB_NAME=fileai_test
DJANGO_SECRET_KEY="YOUR DJANGO SECRET KEY"
TEST=1
SENDGRID_API_KEY="YOUR SENDGRID API KEY"
TWILIO_ACCOUNT_SID="ACCOUNT SID"
TWILIO_AUTH_TOKEN="ACCOUNT AUTH TOKEN" If you prefer Docker, simply run:
docker-compose up If you don't want to use Docker, follow these steps:
Create and activate a virtual environment, then install dependencies:
python -m venv venv
venv/Scripts/activate
pip install -r requirements.txt Navigate to the backend folder and start the Django server:
cd backend
python manage.py runserver Navigate to the frontend folder and start the Next.js development server:
cd frontend_nextjs
npm run dev Now, open your browser on localhost:3000 if running manually and localhost:80 if running docker and start using File AI 🎉
Please feel free to contribute to this projects, open issues and pull requests.