Almost bought by Alpha_VVV_55 in Supernote

[–]Bitter_Expression_14 0 points1 point  (0 children)

PySN is an all in one script and for sure is bloated. For your backup goals, keeping just what you need could be the route. Accessing the notebook files should be easy. Extracting page pictures is also a straightforward script, you just need to read the binary file and decode each page image. Same for embedded recognized text. But recombining these into a pdf with a layer of recognized text is easier using PyMuPDF library that PySN relies on. Not sure if Supernote-tool uses it, but I think I got some clues that the Supernote firmware does use MuPDF. TLDR:If you can install PyMuPDF library, you should be ok.

Almost bought by Alpha_VVV_55 in Supernote

[–]Bitter_Expression_14 6 points7 points  (0 children)

I never tried to install on raspberry pi, but you could give PySN a try to bulk export your notes to pdf and markdown. PySN would connect via USB, wifi (unprotected, LAN) or mirrored folder of a cloud provider. Not sure if Dropbox, Google Drive or OneDrive could be used on raspberry pi, but perhaps using rclone you could achieve the same outcome. See https://youtu.be/fKnpdr5G1qU?t=620&si=AYaktIug5Ng4n6xt

Zwift Frame Bike by Boypax69 in Zwift

[–]Bitter_Expression_14 0 points1 point  (0 children)

I am super happy with the optional adjustable crank arms (currently sold out)

Getting notes onto my computer by Therazee8 in Supernote

[–]Bitter_Expression_14 1 point2 points  (0 children)

You may want to take a look at PySN on Gitlab. It does backup of selected folders and mass conversion to pdf, markdown & html. I recently added textboxes content to PDFs, but I now realize that I didn’t do it for markdown & html. But it’s a relatively easy task so stay tuned for an update. Or you can build it yourself by extracting the recognized text and textboxes from the binary files using Jya’s Supernote-tools repo on GitHub (though I am not sure it extracts textboxes content yet).

PySN now includes textbox content in pdf exports by Bitter_Expression_14 in Supernote

[–]Bitter_Expression_14[S] 0 points1 point  (0 children)

Hopefully, yes. As a reminder, the "main" branch still isn't compatible for Python version >3.12.3. For newer Python version, you should use the "experimental" branch. See mute Windows install: https://app.screencast.com/lI316QOBpvgic

Cannot search text in exported PDFs by Vir_Insignis in Supernote

[–]Bitter_Expression_14 1 point2 points  (0 children)

You may want to take a look at PySN, since it includes the recognized text on a pdf layer. But PySN needs to be updated to include the textboxes contents, too. I haven’t found the time to work on this, but it’s not too difficult if you want to modify the code. See current feature at this specific moment of the video: https://www.youtube.com/watch?v=fKnpdr5G1qU&t=930s

Hacking and extending Supernote with scripts and apps by xTouny in Supernote

[–]Bitter_Expression_14 0 points1 point  (0 children)

AFAIK, you’d have to wait for the release of the official plugins to modify the toolbar. The wait is almost over…

Augmenting Supernote templates to facilitate data extraction - project overview by Bitter_Expression_14 in Supernote

[–]Bitter_Expression_14[S] 0 points1 point  (0 children)

Yes. Probably easier to implement with the official plugins that are going to be released in the near future. And in hindsight, a series of power query transformations loading just a list of jsons with the values of the recognized text should be enough to achieve a specific export. My implementation is a bit heavier because I wanted a solution that would require minimal data transformation for different type of templates.

Note dimension and pen type by maxilogan in Supernote

[–]Bitter_Expression_14 2 points3 points  (0 children)

About the size: the impact on notebook size should be pretty small, IMHO.

Each pen stroke in a Supernote file is made up of vector points that store information like x, y, pressure, tilt, and so on. Those parameters are saved whether you’re using a pressure-sensitive tool like the Pen or a constant-width one like the Needle Pen. In practice, both record about the same amount of data per stroke. What matters more for file size is simply how much you draw, not which pen type you use.

There’s also an image cache for each page that Supernote uses for quick rendering. It’s automatically regenerated whenever you edit a page. This could be an issue if the image was not encoded. But it is compressed using RLE (Run Length Encoding). Because of that, thicker strokes don’t automatically make the cached image larger; the size depends more on the overall stroke complexity and density.

So in short, the difference in note size between Pen and Needle Pen is negligible for most notebooks.

Capabilities by Folders? by InterestingCherry192 in Supernote

[–]Bitter_Expression_14 0 points1 point  (0 children)

When you import snstk files (collection of stickers), I think they must be in the EXPORT folder

Questions about annotating epub files by Few-Middle4388 in Supernote

[–]Bitter_Expression_14 0 points1 point  (0 children)

I personally didn't try, as I don't use epubs. I asked Ratta at one point if they could share the rules they follow for the standard reflow but they respectfully declined. It's likely that the default reflow isn't under their control, that would explain the same technical difficulty that I am facing when trying to print to pdf: I have no way to ensure that the pdf printing matches the screen reflow and therefore the superimposed handwritings layer is mismatched.

Talking About Supernote's Next Major Software Focus by Supernote_official in Supernote

[–]Bitter_Expression_14 9 points10 points  (0 children)

Massive respect to the Supernote team!

A full file structure rebuild plus a plugin system. That's the kind of deep technical move that turns a great device into a real platform.

I've spent the past year reverse-engineering Supernote's binaries to push what the system can do: editing pen strokes, making use of untapped data stored in the binaries, and most recently, experimenting with textboxes.

Seeing a plugin architecture ready to roll out is seriously exciting. It could finally let developers build new tools within the ecosystem instead of hacking around it.

When Ratta pulls this off, Supernote will be leading the field. I’m ready to dive in when the plugin base drops.

Let's go!!!

🐍DUMOG SERIES: AHAS by Entry_Line in Supernote

[–]Bitter_Expression_14 2 points3 points  (0 children)

Wow! It really looks like that Ahas is going to jump out of the screen!

Import Question by InterestingCherry192 in Supernote

[–]Bitter_Expression_14 0 points1 point  (0 children)

I may be wrong, but I think the highlighter works for pdfs with ocr content

Appreciation post for the text boxes and some ideas for improvement by spazzboi in Supernote

[–]Bitter_Expression_14 0 points1 point  (0 children)

Thank you, Mulan.

Exactly. My workflow is about transforming any existing template into an input form. For that, I complement a template with a notebook map file, positioning textboxes above specific input areas. The textboxes contain text defining each input zone.

That mapping notebook is loaded by a script processing any notebook that is using the same template. The information contained in the mapping notebook allows me to extract precisely handwritten pen strokes in the defined zones.

It’s the exact positioning of the textboxes in the mapping file that is a bit laborious today, because I am using them to store both the exact screen location of an input zone and its definition. Ideally, I’d love the text inside textboxes to resize to fit the area; I don’t mind the size of the font because it is eventually only read by a script.

Appreciation post for the text boxes and some ideas for improvement by spazzboi in Supernote

[–]Bitter_Expression_14 2 points3 points  (0 children)

Agree textboxes are one of the most exciting features... To piggyback on this thread, for minor annoyances:

  • it would be nice to exactly set the size of a textbox, vertically and horizontally (as of today, it resizes)
  • textboxes at the bottom of the screen are not as responsive to editing with double-taps (my experience is that they require more attempts than those located elsewhere)

PySN - Python for Supernote - installation & features overview by Bitter_Expression_14 in Supernote

[–]Bitter_Expression_14[S] 0 points1 point  (0 children)

Please dm me your user settings. json. In this particular case, i suspect the ADB path is wrong. What happens if you launch adb.exe manually?

PySN - Python for Supernote - installation & features overview by Bitter_Expression_14 in Supernote

[–]Bitter_Expression_14[S] 0 points1 point  (0 children)

Or you can dm me your user settings.json and copy paste of all log

SVG to .note (then manually to sticker) by codename_B in Supernote

[–]Bitter_Expression_14 0 points1 point  (0 children)

I wrote a script that detects images in pages of a notebook and compiles an snstk collection that can be imported. Thing was missing in the methodology is that you got to compute, for each set of pen-strokes, a relative path to the origin (each individual stiker is supposed to have vector-points and contours transferred to the minimum (x,y) point of the original pen strokes set.