@mountbuild/mouse v0.2.2
Summary
The Mouse is a collections of common actions to perform in code. It provides an API and CLI for performing these actions.
Getting Started
Requirements on Mac
brew cask install java
brew cask install mactex
brew cask install libreoffice
brew install imagemagick
brew install fontforge
brew install ffmpeg
brew install node
Requirements for Windows:
choco install libreoffice-fresh
choco install imagemagick --version 7.0.10.19
choco install fontforge
choco install ffmpeg
choco install miktex
choco install nodejs
Requirements for Linux:
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install texlive-xetex
sudo apt-get install imagemagick
sudo apt-get install libreoffice
sudo apt-get install fontforge
sudo apt-get install inkscape
sudo apt-get install ffmpeg
sudo apt-get install ufraw
sudo apt-get install rar
Finally, with these dependencies installed, you can install the mouse:
npm install -g @mountbuild/mouse
CLI
Here are some helpful commands to get you started:
Split a PDF into individual files.
$ mouse split some.pdf -o outputDirectory
Take a subset of a PDF.
$ mouse slice some.pdf -s 15 -e 25 -o output.pdf
Rename recursively a bunch of files:
$ mouse rename -t f -p "tmp/**/*.jpg" -s "\.jpg" -e ".png"
Convert HTML to PDF
$ mouse convert tmp/index.html -o tmp/index.pdf -w 2000px -h 3000px
Remove All EXIF Data from a JPEG
$ mouse remove exif input.jpg
Resize Image
$ mouse resize input.jpg -w 300 -o output.jpg
Contribute
Contributions are greatly welcomed. Help us define what the ideal interface would be for a browser-terminal-editor-os app. Identify the key painpoints in the customer onboarding flow, and help us map out the best solutions. See the contributor's guide for more info if you are just starting out coding. And here is a list of the contributors, just one atm.
Also, track our release progress if you're interested!
License
Copyright 2020 Mount
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Mount
Mouse is being developed by the folks at Mount, a California-based project for helping humanity master information and computation. Mount started off in the winter of 2008 as a spark of an idea, to forming a company 10 years later in the winter of 2018, to a seed of a project just beginning its development phases. Mount funds mouse's development. It is entirely bootstrapped by working full time and running Etsy and Amazon shops. Also find us on Facebook, Twitter, and LinkedIn. Check out our other GitHub projects as well!