flxzt / rnote

Sketch and take handwritten notes.
https://rnote.flxzt.net
GNU General Public License v3.0
6.42k stars 214 forks source link

Web Frontend #1082

Open sianami123 opened 2 months ago

sianami123 commented 2 months ago

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

Doublonmousse commented 2 months ago

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.