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
A web interface for a soft serve Git server.

Soft Serve monitor Soft Sevre is a very nice git server. It offers a really nice TUI to browse the repositories on the server. Unfortunately, it does

Maxime Bouillot 5 Apr 26, 2022
A repository for all ZenML projects that are specific production use-cases.

ZenFiles Original Image source: https://www.goodfon.com/wallpaper/x-files-sekretnye-materialy.html And naturally, all credits to the awesome X-Files s

ZenML 66 Jan 06, 2023
Generate your personal 8-bit avatars using Cellular Automata, a mathematical model that simulates life, survival, and extinction

Try the interactive demo here ✨ ✨ Sprites-as-a-Service is an open-source web application that allows you to generate custom 8-bit sprites using Cellul

Lj Miranda 265 Dec 26, 2022
The program converts Swiss notes into American notes

Informatik-Programmieren Einleitung: Das Programm rechnet Schweizer Noten in das Amerikanische Noten um. Der Benutzer kann seine Note eingeben und der

2 Dec 16, 2021
The code submitted for the Analytics Vidhya Jobathon - February 2022

Introduction On February 11th, 2022, Analytics Vidhya conducted a 3-day hackathon in data science. The top candidates had the chance to be selected by

11 Nov 21, 2022
Amitkumar Mishra 2 Jan 14, 2022
Buggy script to play with GPOs

GPOwned /!\ This is a buggy PoC I made just to play with GPOs in my lab. Don't use it in production! /!\ The script uses impacket and ldap3 to update

45 Dec 15, 2022
Sodium is a general purpose programming language which is instruction-oriented

Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are developing and devising)

Satin Wuker 22 Jan 11, 2022
An improved version of the common ˙pacman -S˙

BetterPacmanLook An improved version of the common pacman -S. Installation I know that this is probably one of the worst solutions and i will be worki

1 Nov 06, 2021
CMPE 204 Modelling Project

CISC/CMPE 204 Modelling Project Welcome to the major project for CISC/CMPE 204 (Fall 2021)! Change this README.md file to summarize your project (few

totallyrin 2 May 16, 2022
Whatsapp Messenger master

Whatsapp Messenger master

Swarup Kharul 5 Nov 21, 2021
An Notifier Program that Notifies you to relax your eyes Every 15 Minutes👀

Every 15 Minutes ⌛ Every 15 Minutes is an application that is used to Notify you to Relax your eyes Every 15 Minutes, This is fully made with Python a

FSP Gang s' YT 2 Oct 18, 2021
Paprika is a python library that reduces boilerplate. Heavily inspired by Project Lombok.

Image courtesy of Anna Quaglia (Photographer) Paprika Paprika is a python library that reduces boilerplate. It is heavily inspired by Project Lombok.

Rayan Hatout 55 Dec 26, 2022
This repository containing cross-section cut and fill calculations using Python programming language.

cross-section This repository is containing cut and fill calculations for cross-section using Python programming language. This codes is made to calcu

3 Jun 15, 2022
Developed a website to analyze and generate report of students based on the curriculum that represents student’s academic performance.

Developed a website to analyze and generate report of students based on the curriculum that represents student’s academic performance. We have developed the system such that, it will automatically pa

VIJETA CHAVHAN 3 Nov 08, 2022
Keyboard Layout Change - Extension for Ulauncher

Keyboard Layout Change - Extension for Ulauncher

Marco Borchi 4 Aug 26, 2022
SimCSE在中文任务上的简单实验

SimCSE 中文测试 SimCSE在常见中文数据集上的测试,包含ATEC、BQ、LCQMC、PAWSX、STS-B共5个任务。 介绍 博客:https://kexue.fm/archives/8348 论文:《SimCSE: Simple Contrastive Learning of Sente

苏剑林(Jianlin Su) 504 Jan 04, 2023
A simple calculator made with tkinter.

Simple Calculator A simple calculator made with tkinter. Requirements None, only you need to have windows 😉 ...Enjoy! Installation Clone this reposit

Abhyush 2 Jan 11, 2022
Msgpack serialization/deserialization library for Python, written in Rust using PyO3 and rust-msgpack. Reboot of orjson. msgpack.org[Python]

ormsgpack ormsgpack is a fast msgpack library for Python. It is a fork/reboot of orjson It serializes faster than msgpack-python and deserializes a bi

Aviram Hassan 139 Dec 30, 2022
A funny alarm clock I made in python

Wacky-Alarm-Clock Basically, I kept forgetting to take my medications, so I thought it would be a fun project to code my own alarm clock and make it r

1 Nov 18, 2021