flatpickles / sketchbook

Sketchbook is a forkable development environment for HTML canvas artwork.
https://skbk.cc/
MIT License
7 stars 5 forks source link

`skbk` CLI tool #157

Open flatpickles opened 9 months ago

flatpickles commented 9 months ago

This is a BIG one – perhaps a fundamental reconceptualization of how Sketchbook works, and is used. A project unto itself. Maybe a major version increment if we do this after hitting 1.0.

Currently, Sketchbook is a web app repo that you clone in whole, and add to. This works well, and makes deployment easy, but it's a little bit clunky. Your sketchbook repo has to have a bunch of code in it that you didn't write, which doesn't feel great.

It'd be nicer to create just a src/art directory equivalent, and run commands like:

skbk init
skbk dev
skbk -v
skbk update

This would still be using all the existing code, but in a less direct way. Probably app code would still be present and gitignored within /.skbk. You would still be able to npm i and use other packages. We'd have figure out types and intellisense and other things.

Nice things:

Ultimately the skbk CLI tool would be doing a lot of file management, and indirectly running SvelteKit/Vite scripts.

First steps:

flatpickles commented 9 months ago

Helpful references, perhaps:

These are optimized for packaging components only, and I want to package the whole dang thing, so we'll see how relevant this actually is.

flatpickles commented 8 months ago