Giter VIP home page Giter VIP logo

deepl-linux's Introduction

About

A client for deepl in Linux, using webview.

Tested under ubuntu 20.04 only.

./demo.png

How to use

install dependencies

sudo apt install libwebkit2gtk-4.0-dev xsel xdotool golang
  • xsel

    clipboard needs it

  • xdotool

    active this app when do translating work in other apps

  • golang

    Go programming language compiler, 1.14 or higher is needed

    Check it:

    go version
        

    You can download prebuilt binaries from https://golang.org

build

cd /path/to/someDir
git clone https://github.com/kumakichi/Deepl-linux.git
cd Deepl-linux
make

modify loader.sh if you need to

WIDTH=800 # window width
HEIGHT=600 # window height

add system shortcut

in ubuntu

settings => keyboard shortcut => Add Custom Shortcut

add this command: /path/to/someDir/Deepl-linux/loader.sh

I set this command with shortcut Ctrl-Alt-D

use it

select text in any application, press Ctrl+c to copy selected content into clipboard, then press the shortcut you just defined for loader.sh, here I press Ctrl-Alt-D

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.