This Flask application generates stroke-based SVG files from a Shopify customer CSV. Each SVG is personalized with a custom message using Hershey fonts and can be sent to a Bachin plotter for writing notes.
- Install Python 3 and clone this repository.
- (Optional) Create a virtual environment:
python3 -m venv venv source venv/bin/activate - Install dependencies:
pip install -r requirements.txt
- Run the server locally:
The app will be available at
python app.py
http://localhost:5000.
- Prepare a CSV with a
First Namecolumn. - Open the app in your browser and upload the CSV.
- Enter a message template using
[First Name]as the placeholder. - Choose a Hershey font and generate the SVG notes.
- Download the generated files for use with your plotter.
The repository includes a render.yaml configuration for deploying on Render. Render installs the requirements and starts the app with python app.py. Ensure the app binds to 0.0.0.0 and uses the port defined by the PORT environment variable when deploying.
This project is distributed under the MIT License.