Traductor de webs desde consola usando el servicio de Google Traductor.

Related tags

MiscellaneousproxiGG
Overview

proxiGG

Traductor de webs desde consola usando el servicio de Google Traductor.

Se adjunta el código fuente para Python3 y un binario compilado en C para quien quiera usarlo directamente como ejecutable.

El funcionamiento es sencillo, tan solo hay que ejecutar el archivo...

Para ejecutar el script en Python: ./proxiGG.py
Para ejecutar el binario compilado en C: ./proxiGG.bin

Recordar que al descargar el archivo es probable que deban añadírsele permisos de ejecución, esto puede hacerse con el siguiente comando:

chmod +x nombre_archivo

Una vez ejecutado, el programa pedirá al usuario la dirección que quiera traducir, el idioma de origen de la web y el idioma de destino. Una vez introducidos los datos solicitados por el programa, se abrirá el navegador web con la web traducida al idioma elegido.

Los idiomas se introducen con los códigos usados por Google en su servicio de traducción web:

'af','sq','de','am','ar','hy','az','bn','be', 'my','bs','bg','km','kn','ca','ce','cs','ny', 'zh-CN','si','ko','co','ht','hr','da','sk','sl', 'es','eo','et','eu','fi','fr','fy','gd','gl', 'ka','el','gu','ha','haw','iw','hi','hmn','hu', 'ig','id','en','ga','is','it','ja','jw','kk', 'rw','ky','ku','lo','la','lv','lt','lb','mk','ml', 'ms','mg','mt','mi','mr','mn','nl','no','or','pa', 'ps','fa','pl','pt','ro','ru','sm','sr','st','sn', 'sd','so','sw','sv','su','tl','th','ta','tt','tg', 'te','tr','tk','uk','ug','ur','uz','vi','xh','yi', 'yo','zu'

Cuando el programa solicita el código de idioma, puede introducir la palabra 'lista' como ayuda para ver un listado con todos los idiomas disponibles y sus correspondientes códigos ordenados alfabéticamente.

También puede usarse sin interacción del usuario llamándolo desde la línea de comandos con los parámetros "dirección web", "idioma origen" e "idioma destino" directamente.

./proxiGG.py direccion_web idioma_origen idioma_destino

Ejemplo de uso con parámetros:

./proxiGG.py https://www.dominio.com/loquesea/pagina es en

En este ejemplo se ve claramente que el primer parámetro es la web a traducir (https://www.dominio.com/loquesea/pagina), el segundo parámetro es el idioma de origen (es) y el tercer parámetro es el idioma de destino (en).

Una funcionalidad adicional es que puede usarse como proxy, ya que la navegación se realiza a través del servidor de traducción de Google.

Owner
@as_informatico
@as_informatico
Script to work around some quirks of the blender obj importer

ObjFix 1.0 (WIP) Script to work around some quirks of the blender obj importer Installation Download this repo In Blender, press "Edit" on the top-bar

Red_3D 4 Nov 20, 2021
JLC2KICAD_lib is a python script that generate a component library for KiCad from the JLCPCB/easyEDA library.

JLC2KiCad_lib is a python script that generate a component library (schematic, footprint and 3D model) for KiCad from the JLCPCB/easyEDA library. This script requires Python 3.6 or higher.

Nicolas Toussaint 73 Dec 26, 2022
Automatically deletes Capital One Eno virtual cards for when you've made a couple too many.

eno-delete Automatically deletes Capital One Eno virtual cards for when you've made a couple too many. Warning: Program will delete ALL virtual cards

h3x 3 Sep 29, 2022
A Pythonic Data Catalog powered by Ray that brings exabyte-level scalability and fast, ACID-compliant, change-data-capture to your big data workloads.

DeltaCAT DeltaCAT is a Pythonic Data Catalog powered by Ray. Its data storage model allows you to define and manage fast, scalable, ACID-compliant dat

45 Oct 15, 2022
Example platform plugin that fixes fentry calls in Binja

Example Binja Platform Plugin This is an example Binja platform plugin which fixes up linux kernel module calls to __fentry__. __fentry__ is the linux

_yrp 2 Oct 07, 2021
SmartGrid - Een poging tot een optimale SmartGrid oplossing, door Dirk Kuiper & Lars Zwaan

SmartGrid - Een poging tot een optimale SmartGrid oplossing, door Dirk Kuiper & Lars Zwaan

1 Jan 12, 2022
Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are developing and devising) [Still developing...]

Sodium Programming Language Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are deve

Instruction Oriented Programming 22 Jan 11, 2022
Identifies the faulty wafer before it can be used for the fabrication of integrated circuits and, in photovoltaics, to manufacture solar cells.

Identifies the faulty wafer before it can be used for the fabrication of integrated circuits and, in photovoltaics, to manufacture solar cells. The project retrains itself after every prediction, mak

Arun Singh Babal 2 Jul 01, 2022
Convert .1pux to .csv

1PasswordConverter Convert .1pux to .csv 1Password uses this new export format .1pux, I assume stands for 1 Password User eXport. As of right now, 1Pa

Shayne Hartford 7 Dec 16, 2022
1cak - An Indonesian web that provide lot of fun.

An unofficial API of 1cak.com 1cak - An Indonesian web that provide lot of fun. Endpoint Lol - 10 Recent stored posts on database Example: https://on

Dicky Mulia Fiqri 5 Sep 27, 2022
Model synchronization from dbt to Metabase.

dbt-metabase Model synchronization from dbt to Metabase. If dbt is your source of truth for database schemas and you use Metabase as your analytics to

Mike Gouline 270 Jan 08, 2023
Python library for the Unmand APIs.

Unmand Python SDK This is a simple package to aid in consuming the Unmand APIs. For more help, see our docs. Getting Started Create virtual environmen

Unmand 4 Jul 22, 2022
Class and mathematical functions for quaternion numbers.

Quaternions Class and mathematical functions for quaternion numbers. Installation Python This is a Python 3 module. If you don't have Python installed

3 Nov 08, 2022
Supply Chain will be a SAAS platfom to provide e-logistic facilites with most optimal

Shipp It Welcome To Supply Chain App [ Shipp It ] In "Shipp It" we are creating a full solution[web+app] for a entire supply chain from receiving orde

SAIKAT_CLAW 25 Dec 26, 2022
A Python library to simulate a Zoom H6 recorder remote control

H6 A Python library to emulate a Zoom H6 recorder remote control Introduction This library allows you to control your Zoom H6 recorder from your compu

Matias Godoy 68 Nov 02, 2022
vFuzzer is a tool developed for fuzzing buffer overflows, For now, It can be used for fuzzing plain vanilla stack based buffer overflows

vFuzzer vFuzzer is a tool developed for fuzzing buffer overflows, For now, It can be used for fuzzing plain vanilla stack based buffer overflows, The

Vedant Bhalgama 5 Nov 12, 2022
Expression interpreter written in Python

Calc Interpreter An interpreter modeled after a calculator implemented in Python 3. The program currently only supports basic mathematical expressions

1 Oct 17, 2021
To lazy to read your homework ? Get it done with LOL

LOL To lazy to read your homework ? Get it done with LOL Needs python 3.x L:::::::::L OO:::::::::OO L:::::::::L L:::::::

KorryKatti 4 Dec 08, 2022
Hook and simulate global keyboard events on Windows and Linux.

keyboard Take full control of your keyboard with this small Python library. Hook global events, register hotkeys, simulate key presses and much more.

BoppreH 3.2k Jan 01, 2023
This repo contains scripts that add functionality to xbar.

xbar-custom-plugins This repo contains scripts that add functionality to xbar. Usage You have to add scripts to xbar plugin folder. If you don't find

osman uygar 1 Jan 10, 2022