Skip to content

A smart AI tool for bilingual translation and content summarisation

Notifications You must be signed in to change notification settings

Rithik05/smartlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📖 SmartLang

SmartLang is an AI-powered application that leverages advanced language models via APIs to provide seamless text translation and PDF summarization services.


✨ Features

  • 🌍 Text Translation

    • Translate text instantly between multiple languages.
    • Uses Google translate API to provide contextually accurate and fluent translations.
  • 📄 PDF Summarization

    • Upload PDF documents and receive concise summaries of the content.
    • Ideal for quickly digesting lengthy reports, articles, and research papers.

📦 Installation

Clone the repository:

git clone https://github.com/yourusername/smartlang.git

Prerequisites

Install Poppler: For MacOS

brew install poppler
pdftotext -v

For Linux

sudo apt update
sudo apt install poppler-utils
pdftotext -v

Setup

Setup DB:

source .env.dev
mix deps.get
mix ecto.setup

generate static build from frontend

cd assets/frontend
npm i
npm run build

run phx server from smartlang dir

mix phx.server

Now you can visit localhost:4000 from your browser.

Run End To End Tests (Cypress)

follow the same steps to generate static build from frontend and then run:

source .env.end_to_end_test
mix deps.get
mix ecto.setup
mix phx.server # start the phx server
npx cypress open # Now you can run cypress tests

Run Elixir Tests

source .env.test
mix ecto.setup
mix test

About

A smart AI tool for bilingual translation and content summarisation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published