MultiMote / niimblue

🖨 NIIMBOT custom web client/app. Design and print labels with NIIMBOT printers directly from your PC or mobile web browser!
https://niim.mmote.ru
MIT License
71 stars 11 forks source link

Editor / parts that can be refactored #7

Closed talaviram closed 2 months ago

talaviram commented 2 months ago

Hi, I’ve made a basic Apple eco-system niimbot stack (https://github.com/talaviram/libreniim) My higher goal is to make reusable web canvas (based on vanilla html5/js fabricjs) to be used for the Apple side and the Web (Chrome/WebBLE) side.

Today I’ve pushed my current state. (https://github.com/talaviram/libreniim/tree/labeleditor/web/labeleditor) As I’m looking for a web-based permissive (MIT) Niimbot web-stack I’ve got here and wasn’t able to find a way to contact except issue and telegram.

So far I’ve implemented some areas that might be useful also for your project. (hacky QR support, buggish object-alignment)

MultiMote commented 2 months ago

Hello!

I've looked at web/labeleditor (started dev server). The functionality so far is similar to what I did and there's no solid reason to think about integrating it into this project.

What about web stack, there is no released library yet (it will be released with MIT license), but you can try to use it now. Source code is on "draft" branch at the moment, but it is very unfinished.

niimblue is frontend, niimbluelib is printer interface. There is no documentation yet. Some sort of usage example you can find in niimblue/src/stores.ts, niimblue/src/lib/PrinterConnector.svelte and niimblue/src/lib/PrintPreview.svelte.

Stay tuned 😁

talaviram commented 2 months ago

I didn’t see QR at least running from https://dev.mmote.ru/niimblue/ (I have QR approach which works if needed)

MultiMote commented 2 months ago

QR an Zebra are on the Roadmap. I haven't even looked into libraries to generate it so I don't even know what I'm gonna deal with.

I will return to this later, it's not the top priority task (some people have issues with basic printing). Protocol also just partially implemented.

Anyway, thanks for your suggestion and interest in the project.

MultiMote commented 2 months ago

QR Code feature is now here (done by @xfqz86).

If needed, I'll re-open this issue later.