Code Monkey home page Code Monkey logo

svghero-app's Introduction

Powered by Electron GitHub branch checks state GitHub GitHub issues GitHub last commit GitHub all releases

SvgHero

Multi-platform (Mac, Windows, Linux) app that minifies SVG files and exports to PNG, JPG, TIFF or WEBP.

Check the video preview!

Check the video preview ๐Ÿ‘†


Download

โฌ‡๏ธ Download here

Sponsor

Buy Me A Coffee

Contributing

More details on CONTRIBUTING.


Starting Development

Start the app in the dev environment:

yarn
yarn start

Packaging for Production

To package apps for the local platform:

yarn package

Create Linux package with docker

docker run --rm -ti \
 --env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \
 --env ELECTRON_CACHE="/root/.cache/electron" \
 --env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
 -v ${PWD}:/project \
 -v ${PWD##*/}-node-modules:/project/node_modules \
 -v ~/.cache/electron:/root/.cache/electron \
 -v ~/.cache/electron-builder:/root/.cache/electron-builder \
 electronuserland/builder:wine

Debug Packaged app

  1. Run the command bellow on terminal:
open /Applications/SvgHero.app --args --remote-debugging-port=8315
  1. Navigate to chrome://inspect/#devices in Chrome 80+. Then click Configure... and add localhost:8315 as a discovery server.

  2. Then, wait for your Electron instance to appear in the devices list and click inspec

Issues with certificates (Apple):

  1. Change your trust settings of your developer certificate in keychain access to system default
  2. Delete all certificates in your local keychain
  3. Quit and relaunch xcode
  4. Clean
  5. Run program on device
  6. When it asks, enter your keychain password and click always trust

Check Mac Code Sign

codesign --display --verbose=2  SvgHero.app // If the app is signed it will display the details in the Terminal.
pkgutil --check-signature SvgHero-1.0.0.pkg // If it is signed it will display the details in the Terminal.

Resources

License

GPL-3.0, see LICENSE.

svghero-app's People

Contributors

ricardodantas avatar

Watchers

 avatar

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.