sleepyheadsgang / indivaani-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

indivaani-backend

API Endpoints

  • / and /api - Home
  • /api/translate - Translate Text
  • /api/translate-webpage - Translate Webpage
  • /api/translate-audio - Translate Audio
  • /api/translate-file - Translate Files such as docx, pdf, etc...
  • /api/translation-history - Translation History
  • /api/languages - Supported Languages

Requirements

All the requirements are listed in the requirements.txt file.

  • Python >= 3.10.12
  • Flask >= 3.0.2

Installation

  1. Clone the repository
    git clone https://github.com/sleepyheadsgang/indivaani-backend.git
  2. Install the requirements
    pip install -r requirements.txt
  3. Run the server
    flask run
    The server will be running on http://localhost:5000/

File Structure

.
├── static/uploads/    // created automatically
├── utils/
│   ├── audiohandler.py
│   ├── docxhandler.py
│   ├── htmlhandler.py
│   ├── pdfhandler.py
│   ├── translator.py
│   ├── langs.json
|   └── main.ipynb
├── README.md
├── app.py
└── requirements.txt

Checklist

  • API
  • RESTFUL API
  • Database
  • Translator
  • HTML Handler
  • Add CSS to HTML
  • Add Other resources to HTML
  • Audio Handler
  • PDF Handler
  • DOCX Handler
  • Endpoints
    • /api
    • /api/translate
    • /api/translate-webpage
    • /api/translate-audio
    • /api/translate-file
    • /api/translation-history
    • /api/languages

Want to contribute?

  • You can contribute to this project by adding new features, fixing bugs, improving the code, etc...

How to contribute?

  • Fork the repository
  • Clone the repository
  • Create a new branch
  • Make changes in the code
  • Commit the changes
  • Push the changes to your forked repository

Please contact me at my email id while contributing.

Contributors

About


Languages

Language:Jupyter Notebook 88.1%Language:Python 11.9%