SMARTexts is an AI-powered platform designed to transform unstructured documents (PDF/TXT) into searchable, summarized, and multilingual insights. By integrating advanced NLP models and translation capabilities, SMARTexts extracts meaning from your documents and makes them accessible across language barriers.
Automatically generates high-level summaries from uploaded documents using Cohere’s command models.
Seamlessly translate summaries and insights into multiple target languages using DeepL’s high-quality translation API.
Search your document collection using vector similarity. Find semantically related content even without exact keyword matches.
Ask natural-language questions and get direct answers extracted from the documents, powered by Cohere’s generative models.
Automatically detect and extract key conclusions, insights, and implications from the content—not just surface-level facts.
Interact with any uploaded document through natural-language questions. The system leverages semantic embeddings and large language models to extract accurate, context-aware answers based on the content of the selected document.
- Express.js REST API
- Cohere API (summarization, embeddings, Q&A)
- DeepL API (translation)
- pdf-parse (PDF text extraction)
- MongoDB (via Mongoose)
- dotenv, cors, fs, etc.
- React + Vite
- Tailwind CSS
- React Router
- Axios
SMARTexts/
├── backend/
│ ├── controllers/
│ ├── routes/
│ ├── services/
│ ├── models/
│ └── server.js
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ └── App.jsx
└── README.md
- Clone the repository:
git clone https://github.com/Sarah5567/SMARTexts.git
cd SMARTexts/backend
npm install- Create a
.envfile with:
PORT=5000
MONGO_URI=your_mongo_connection_uri
COHERE_API_KEY=your_cohere_api_key
DEEPL_API_KEY=your_deepl_api_key
FILE_STORAGE_PATH=your_storage_path
Move to backend:
cd ../back
npm node app- Move to frontend:
cd ../front
npm install
npm run dev- Visit: http://localhost:5173
Below are some screenshots from the SMARTexts platform:





