Monorepo for the Refile platform, combining the frontend and backend projects with full upstream history preserved via git subtree.
frontend/- Next.js + React web app for AI-assisted file workflows, presets, auth, and dashboard UX.backend/- FastAPI service for uploads, prompt persistence, AI command generation, and file access APIs.
- Frontend source: https://github.com/SaiTeja-2101/refile-frontend
- Backend source: https://github.com/YashvanthSankar/refile-backend
- Upload files and submit prompts for AI-generated Linux/media-processing commands.
- Run conversational follow-up processing requests.
- Store prompt/file metadata in Supabase.
- Support presets, user-specific history, and secure per-user file access patterns.
- Frontend: Next.js, React, Tailwind CSS, Supabase, Google OAuth flow.
- Backend: FastAPI, Supabase, LangChain/LangGraph, Mistral AI integration.
- Configure
.envwith API + Supabase values. - Install dependencies and run the dev server (see
frontend/README.md). - By default the app runs on
http://localhost:3000.
- Create and activate a Python virtual environment.
- Configure
.envfrom.env.examplewith Supabase + Mistral credentials. - Install requirements and run Uvicorn (see
backend/README.md). - By default the API runs on
http://localhost:8000.
POST /api/uploadPOST /api/processGET /api/list/{user_id}GET /api/download/{user_id}/{stored_filename}GET /api/health
Refer to backend/README.md and frontend/README.md for full setup details and project-specific notes.