Skip to content

Batch shrink scanned PDFs, Electron GUI wrapper for GhostScript

License

Notifications You must be signed in to change notification settings

sudo-bcli/shrink-shrimp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shrink Shrimp

Batch shrink scanned PDFs, a Electron GUI wrapper for GhostScript

中文版说明点这里

logo

Showcase

showcase

Download

Current Version 0.1.0

Or visit Release Page.

Use

  1. Drag & Drop one or multiple PDFs to the Shrimp
  2. Wait for the process to finish
  3. Shrinked PDFs would be in the same directory with the prefix of shrink
  4. Click the shrimp icon at the bottom right to reset
  5. If you encounter errors, hover on the records to see details

Note: You would need to pre-install GhostScript on OSX and Ubuntu in order to use this app. You DO NOT have to pre-install GhostScript on Windows.

  • OSX: brew install ghostscript
  • Ubuntu: sudo apt-get install ghostscript (additional mirror may be required)

Develop

Assume you have node 10+ and npm installed

cd /to/some/dir/
git clone https://github.com/bclicn/shrink-shrimp.git

cd shrink-shrimp

// for chinese users
npm install -g mirror-config-china --registry=http://registry.npm.taobao.org

npm install
npm start

Build

Follow the steps in Develop then

// on Windows 64bit
npm run build-win

// on OSX
npm run build-mac

// on Linux
npm run build-lin

Note: after building on Windows, you can download gs-926-win32-x64.zip, then copy gsdll64.dll and gs.exe to the directory of shrink_shrimp.exe

Bug

Please use Issue Tab if you encounter a bug.

License

MIT