An annotated guide to my laptop stickers.
This is a very, very rough first pass.
Install Node.js (if you don't already have it installed).
Check if you have node installed correctly with
node -v
npm -vClone the project with and navigate into it with
git clone https://github.com/leoriviera/stickers.git
cd stickersSetup project and install required packages with
npm installFinally, build the static site and start run the app with
npm run build
npm run startNavigate to http://localhost:3000/ to see an example image annotation or to http://localhost:3000/generate to create your own.
- Improve the editor
- Compress the images on upload
- Possibly encode in Base85 to reduce the size of the images
- Accept HEICs and convert them to JPEGs
- Add a way to "swap out" images, so that the annotations can be preserved when the image is updated
- Improve the colours when creating annotations
- Allow moving/removing/editing of points in annotations
- Better branding (add a favicon, some OpenGraph images, etc.)s
Render line breaks in the annotationsdone
First fork the repo and clone it, then check out the main branch and get all upstream changes
git checkout main
git pullOpen a new branch locally
git switch -c "your-branch-name"During development for hot-reloading run the project with
npm run devBefore raising a PR check your code with
npm run lintStage, commit, and push your changes as usual. No fancy ways of working here.
git add .
git commit -m "Use a descriptive commit name though"
git pushRaise a PR with a nice description of what you changed.

