A hackable drag and drop tool built with web technology
Winegold is a swiss army knife for every drag and drop. It is built on Electron.
3 steps to use winegold:
- Download the favorite CLI app you love to use
- Create a simple trigger for it
- And that's it! You can use every terminal/shell/CLI with a simple UI
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].
Yes, I expected to be simple as this example.
One drag and drop, detecting what to do with this file. Or asking what you want to do with the files you've just dragged.
- Convert a file in multiple formats
- Process multiple files
- Use autolaunch feature to make a "one move drag and drop" easier than ever
- Convert your old shell script to a nice trigger who writes output in a file.
- Read content of a file and use it to do evil 🙈
- Use JavaScript or bash (equal everything!), what is your favorite flavor ?
- Create your own scripts to use you drag and drop box
Download the latest winegold release.
Download the latest winegold installer.
winegold-win-x32-setup-v0.0.1-alpha.exe
is for 32-bit & winegold-win-x64-setup-v0.0.1-alpha.exe
64-bit systems.
Download the latest winegold release (x64 & x32).
The app haven't been tested on this platform! Every feedbacks are welcomed!
This is a wanted feature
Detect the kind of file you added, and give you a way to process it. So, I need to create a way to handle conversion cli tools (like Calibre ebook-convert, ImageMagick) into a multi-platform downloadable dependency on the need.
If you want to convert a kind of file, dependencies are downloaded if you need, and your file is processed.
Other (& simpler) todo:
We want to put file into the center of everything.
For this example, here is the script you describing how everthing works :
name: Convert to mobi
trigger :
fileExtension:
- pdf
- epub
cmd:
exec: ebook-convert {{file}} {{file}}.mobi --verbose
autolaunch: true
To understand, this script executes the shell command ebook-convert when a PDF or EPUB is found, and convert it to mobi. You need to have ebook-convert on your computer to use this script, but we work on another way to do this.
This script auto launch the command when file is dragged.
As you can see, we using YAML to provide a human readable kind of file.
You can add your own script by dragging a script called "myscript.add.yml"
. This action adds a trigger and a command for your own needs.
Use Eslint/XO syntax (xo --fix is used when you make yarn test
. Install here:
npm install xo -g
git clone https://github.com/arthurlacoste/winegold.git
cd winegold
npm install
npm start
Restart the app automatically every time code changes. Useful during development.
npm run watch
Builds app binaries for Mac, Linux, and Windows.
npm run build [platform]
Where [platform]
is darwin
, linux
, win32
, or all
(default).
After that, you'll see the binaries in the dist
folder 😄
Yes.
As Jesus turns water into wine, we turn wine into gold.