Coder Social home page Coder Social logo

dawnlabs / alchemy Goto Github PK

View Code? Open in Web Editor NEW
926.0 926.0 71.0 61.4 MB

:crystal_ball: File conversion, all from the menu bar

Home Page: https://dawnlabs.github.io/alchemy

License: MIT License

HTML 0.65% JavaScript 88.83% Shell 0.22% SCSS 10.30%
alchemy convert electron files images menubar react

alchemy's People

Contributors

briandennis avatar dawsbot avatar dependabot[bot] avatar ericadamski avatar fossabot avatar jakedex avatar jonahisadev avatar jrhorn424 avatar kant avatar mfix22 avatar mohamed3on avatar rgtarrr avatar ryanbaer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alchemy's Issues

Stuck Converting

I attempted three times to convert different image files (JPG and PNG) and each time, after hitting the "Merge" button, the window changed to "Converting" and stayed that way for several minutes before I manually closed the application via the Windows Task Manager.

I'm using Windows 10.

I've deleted the software out of frustration so I can't do any more testing to figure out the cause, but I can provide more information on my system if it would help.

Doesn't show any GUI on Windows 7

Running the app only opens a process (as seen in the Task Manager), not an accompanying GUI. Is it not intended to work on Windows 7?

I tried the latest release, 0.5.0. Then I tried 0.4.1 just to check. Neither works.

Merging PDFs

Have you considered having the tool merge PDFs? If so, were there difficulties that de-prioritized that functionality? Would you consider a PR that adds that functionality?

support non-standard image formats for PDF merge

Currently the PDF library used by photosorcery only supports jpg, gif, and png images. This issue can probably be avoided by first converting all images to standard types before merging. While this could be added to photosorcery directly, it may be easier to accomplish from Node-land.

File name on the bottom of the image?

Hi there!

Is there any chance you can add (as an option) the file name - to be burned in somewhere on the bottom of the image (during converting jpg(s) to pdf)?

Thanks.

Add staging area

Add intermediate state where the order of files can be manipulated.

Alchemy Maintainer(s) wanted ๐Ÿ™

Hey all,
Alchemy is a beautiful little app that could use some tender, love, and care.

Since Carbon really took off, we have not had time to maintain this app. However, it is really useful and people could really benefit from it.

If anyone is interested in helping us out with this project, we would love to make you a maintainer.

We appreciate your support,
โค๏ธ @dawnlabs

Can't merge file name with a space in it.

  1. Have two files hat has a space in file name. E.g. File name #1: test 1.jpg, File name #2: test 2.jpg
  2. Merge them

Problem: "ERR: Error: Command failed........ invalid file" message shows.

Convert fails with differing extensions

This issue originates from #36. See for how to reproduce: #36 (comment)

I believe the issue stems from here

alchemy/src/api.js

Lines 29 to 44 in 251eaf9

async convert ({ files, outputPath, outputType }) {
const tmpDir = tmp.dirSync().name
const tmpFiles = files.map(copyToDir.bind(null, tmpDir))
const args = [
'convert',
'-type', outputType,
'-out', outputPath,
...tmpFiles
]
try {
await execa(binary, args)
} finally {
fs.remove(tmpDir)
}

Where it takes a list of files to convert but assumes they are all the same format.

We can fix it by grouping and converting each set of files separately or we can change photosorery to accept multiple file types. (It seems that handling this inside of node would be easier)

Don't Include File Extension Conversion for Current File

When a single image is placed in the application, and the "Convert" tab is selected, there is still an option in the dropdown menu to convert the file to the type it already is. For example, I could drag in "Image.jpg" and the dropdown would still have "JPG" as an option to convert it to.

I'd be happy to look into adding this as a feature, as it isn't really a big deal, and I'm sure there are other, more important things you guys are working on.

Adding support for converting from HEIC?

It would be SUPER helpful to have a conversion from HEIC to JPEG. iPhone images are stored in HEIC (this is changeable in iPhone settings, but using the less efficient images takes up more space), and converting them is always a hassle. Alchemy is already awesome, but it would be more awesome to convert from HEIC to at least JPEG.

No way to stop it

This app lacks ANY form of exit or quit.
Once launched there is no way to stop it, or remove it from the menu bar, short of shutting down your computer.

Security vulnerabilities

The following output was produced on Ubuntu 18.04.

jeffh@ubuntu-vbox:~/projects/alchemy$ npm install
npm WARN deprecated [email protected]: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
npm WARN deprecated [email protected]: Please upgrade to Chalk 2.1.0 - template literals in this version (2.0.1) are quite buggy.
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: 'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
npm WARN deprecated [email protected]: The major version is no longer supported. Please update to 4.x or newer

> [email protected] install /home/jeffh/projects/alchemy/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.4/linux-x64-64_binding.node
Download complete .] - :
Binary saved to /home/jeffh/projects/alchemy/node_modules/node-sass/vendor/linux-x64-64/binding.node
Caching binary to /home/jeffh/.npm/node-sass/4.9.4/linux-x64-64_binding.node

> [email protected] postinstall /home/jeffh/projects/alchemy/node_modules/electron
> node install.js

Downloading SHASUMS256.txt
[============================================>] 100.0% of 5.74 kB (5.74 kB/s)

> [email protected] postinstall /home/jeffh/projects/alchemy/node_modules/node-sass
> node scripts/build.js

Binary found at /home/jeffh/projects/alchemy/node_modules/node-sass/vendor/linux-x64-64/binding.node
Testing binary
Binary is fine
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1678 packages from 829 contributors and audited 30520 packages in 79.476s
found 8 vulnerabilities (1 low, 4 moderate, 2 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

Would you accept a PR with automatic fixes applied?

Doesn't support .webp

I like the ease of use of this program, but sadly it is missing some formats, .webp being one of them.
I hope that you will consider adding this in the future :)

Linux support

We're using electron-package to build for the macOS platform. It'd be great if someone could try building the executables for Windows and/or Linux.

Style

Needs a more unified style and color scheme.

Only errors

Looks stunning but doesn't work at all. After adding three jpegs and clicking convert to pdf I get only command line like errors

window closes as soon as i switch focus off of it

on linux, i cant drag and drop because when i go to do so on my file manager it closes the other window and i have to press the thing on my taskbar and it doesnt work because i have to leave focus to drag and drop, maybe add an upload button? or just make it so the window doesnt dissapear when it loses focus

save path not encoded

Hi, see the error below, after uploaded the source files to alchemy, the merge process failed by file path is invalid
image

Merging doesn't finish

Windows 10, using Alchemy version 0.5.0

When I drag and drop some files (.png) into the application, fill in a title, and click the start button, the 'in progress' screen is shown, and it stays on there. No pdf is produced and there is no way to cancel it.

Additionally, it seems it's not possible to exit the application at any point. I'm forced to end all Electron processes in task manager.

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.