/clipboard-electron

My clipboard build by Electron + Vue

Primary LanguageVueMIT LicenseMIT

Clipboard-Electron

This project has been moved to a new address -> Electron Paste

This app is a clipboard tool programed by Electron and Vue.js (UI Component: Element). It supports Windows only. (Now supports ubuntu20.04 for some features.)

The design style of this app imitates Paste on Mac.

Sample

Main window

main.png

Setting window

setting.png regex.png


Development

Environment

node v14.15.2

npm 6.14.9 or yarn 1.22.10

vue-cli 4.5.9

Building require

installation:

  • Windows
    • windows-build-tools npm package (npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe)
  • Mac
    • Xcode Command Line Tools.
  • Linux
    • Python (v2.7 recommended, v3.x.x is not supported).
    • make.
    • A C/C++ compiler like GCC.
    • libxtst-dev and libpng++-dev (sudo apt-get install libxtst-dev libpng++-dev).

Install node-gyp using npm:

npm install -g node-gyp or yarn global add node-gyp

Then build:

npm run postinstall or yarn postinstall


Project setup

yarn or npm install

Compiles and hot-reloads for development

yarn serve or npm run serve

Compiles and minifies for production

yarn build or npm run build

Lints and fixes files

yarn lint or npm run lint

Customize configuration

See Configuration Reference.

Compiles electron app for development

yarn electron:serve or npm run electron:serve

Compiles and minifies electron app for production

yarn electron:build or npm run electron:build

Electron document

See Electron Documentation.

Use mirror:

export ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"


License

MIT