Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

iamAmer/transify

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transify

A NodeJS CLI tool to extract text from PDFs and translate between languages.

alt text

Features

  • PDF Text Extraction - text extraction from PDF files
  • Multi-language Translation - Supports 4+ languages (expandable)
  • Sentence-level Translation - Quick single-sentence translations

Installation

Via npm (Recommended)

npm install -g transify-cli

Manual Installation

git clone https://github.com/yourusername/transify.git
cd transify
npm install
npm link  # for global access

Quick Start

1. languages code

transify -languages

2. sentence translation:

transify sentence -s "hello" -f en -t es

3. Extract text only:

transify extract -p "PDF file path"

4. Translate a PDF:

transify translate -p "PDF file path" -f en -t es

Full Usage

Commands

Command Description Example
translate Translate a PDF file transify translate -p file.pdf -f en -t es
extract Extract text from PDF transify extract -p doc.pdf
sentence Translate single sentence transify sentence -s "Text" -f en -t de
--languages Show supported languages transify -l

Options

Flag Description Required For
-p, --path Path to PDF file All commands except -l
-f, --from Source language code translate, sentence
-t, --to Target language code translate, sentence
-s, --sentence Text to translate sentence command only
-l, --languages List supported languages Standalone flag

Supported Languages

Language Code
English en
Spanish es
German de
Arabic ar

License

MIT

About

A NodeJS CLI tool to extract text from PDFs and translate between languages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.