flxzt / rnote

Sketch and take handwritten notes.

Home Page:https://rnote.flxzt.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Frontend

sianami123 opened this issue · comments

commented

i need to use it inside my webpage project
how can I implent it inside web?

Somehow related : #390

The interface is built using gtk4 in the rnote-ui crate. So you'd have to built your own ui and connect things to the other crates (rnote-compose and rnote-engine). Note that at the moment the rnote engine depends on gtk4 and there is an ink stroke modeler (ink-stroke-modeler-rs) that is a wrapper around a C++ library. These two things might make it impossible to compile the non-ui part to WebAssembly currently (although I haven't tried anything of the sort yet).

One thing to check beforehand is verifying beforehand that whatever you want to use on the web is able to deal with pen and touch inputs, it's not a given.