GitHub - sarega/SVGcode: Convert color bitmap images to color SVG vector images. · GitHub
Skip to content
saregaPublic
forked from tomayac/SVGcode

About

Convert color bitmap images to color SVG vector images.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

VectorForge

VectorForge converts raster images such as PNG, JPG, WebP, AVIF, and GIF files into SVG vector graphics.

This fork focuses on a cleaner local editor experience:

  • Current version: 0.1.1.
  • Rebranded local app shell and install metadata.
  • Empty import-first workspace.
  • Compact mobile-friendly toolbar with zoom controls.
  • Preview background choices, including automatic contrast selection.
  • Output metadata for SVG size, dimensions, and mode.
  • Simplified settings panel with advanced controls collapsed by default.

Run Locally

Install dependencies once:

npm install

Start the app:

./run.command

The app runs at:

http://localhost:3000/

You can also start it directly with:

npm run dev

Port 3000 is configured as strict. If another process is already using it, stop that process and run the command again.

Build

Create a production build in docs/:

npm run build

The build command writes generated files only. It does not stage files in git.

GitHub Pages

This app is built for GitHub Pages from the docs/ folder on main.

After pushing main, enable Pages in the repository settings:

Settings -> Pages -> Build and deployment
Source: Deploy from a branch
Branch: main
Folder: /docs

The public URL will be:

https://sarega.github.io/SVGcode/

Development

Useful commands:

npm run dev
npm run build
npm run lint
npm run fix

Vite reloads the app automatically while npm run dev is running.

Notes

The conversion pipeline is based on Potrace compiled to WebAssembly and SVG optimization through SVGO.

License

GNU General Public License v2.0

About

Convert color bitmap images to color SVG vector images.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages