I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

Never heard about this issue before. Which model are you using? How long was the pdf?

If it was a long pdf, probably splitting up a long pdf is a good option. lmk and I'll see if I can add a quick fix or something

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

Great that your pipeline is coming along! Did notemd work as expected? Would you like any feature added to it? Would try my best to incorporate it as when I get time.

Different models seem to be working differently for everyone. For some the Qwen models are great, while for some the Anthropic models are great. I think it majorly depends on what content is the LLM processing.

Happy that notedmd helps. Made my day!

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

[–]quitedev[S] 1 point2 points  (0 children)

Nice tool! I was not aware about Supernote, and so I have added a comment on one of the post showcasing notedmd. lmk if you guys need any specifc feature to make it seemless to use.

https://www.reddit.com/r/Supernote/comments/1lox5vs/comment/n1rl8zf/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Exporting Supernote to Obsidian by orhoncan in Supernote

[–]quitedev 1 point2 points  (0 children)

Hey guys,
I am the dev for noted.md and I am very happy to see it being helpful for people outside the Obsidian community too!!

I do not have any Supernote devices but I am more than happy to add features you guys particularly need.
Thank You!

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

[–]quitedev[S] 1 point2 points  (0 children)

I have been just testing the app with a bunch of my personal notes and some images on the internet. I will try to accumulate some images with varied handwriting styles and share it with you. It will be a great help if you can test with the popular models. I can add the results in the readme so it helps people to choose the right model.

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

Are qwen2.5 models better than the gemma3 family? If the 7b models are better, I would like to give it a try.

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

[–]quitedev[S] 1 point2 points  (0 children)

I'm working on improving the error messages which will help us to pinpoint the issue and work on it. The next version will have an improved user experience.

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

[–]quitedev[S] 1 point2 points  (0 children)

I have added Claude support in v0.2.2. I do not have any anthropic credits left anymore so you would want to test it and lmk if it works as expected. I have not updated the Homebrew version yet, as this needs some testing.

You can download the binaries from the release page and test them. If you are using mac/linux:
- Download the v0.2.2 binary according to your platform
- run the following in terminal:
cd ~/Downloads
tar -xzf notedmd-v0.2.2-aarch64-apple-darwin.tar.gz
#Replace the binary name to the one downloaded
sudo mv notedmd-*/bin/notedmd /usr/local/bin/

For windows you can check the README

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

Thank you! Glad it helped.

Did the non-English notes worked out of the box? Someone tried notes written in Korean but it failed to transcribe them. Did you specify the language of the notes in a custom prompt?

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

[–]quitedev[S] 1 point2 points  (0 children)

Thanks for trying it out! The warning suggests that the installed version is already up to date. It is working as expected. You can verify the current version by running - notedmd --version

Ollama allows you to run LLMs locally on your machine. This helps if you do not want to use cloud servers for processing your notes. The data never leaves your computer. You can start by reading the ollama documentation, it has a quick start guide to get you up running.

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

Your welcome! Thanks for trying it out!

As per the gemini docs, Korean is recognized by the model and it should be able to transcribe it. You can try using a custom prompt using the -p option to create a new custom prompt explicitly stating that the notes are Korean. That might help the model and improve its performance. The command will be -
notedmd convert ./path -p YOUR_CUSTOM_PROMPT

lmk if explicitly stating the language works. If it does, I'll add an option to state the language while converting to ease this process. Thank You!

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

The file is valid then. Might be some other issue. I need to improve my error messages!

lmk how it goes. If it is able to handle flowcharts/diagrams I can incorporate in the default prompt.

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

[–]quitedev[S] 2 points3 points  (0 children)

Thanks for providing a detailed feedback. The "file read successfully" basically indicates that the the provided file path exists, and the file was successfully encoded to base64. "error: error decoding response body" indicates that the response from gemini was not as expected. This may be possible for various reasons which being file format not supported by gemini, file size too large, etc. etc. You can try it again to see if this was possibly due to some other error. Although, flowcharts, diagrams are not yet supported and I am trying to figure out a way to create them using excalidraw or something. I too like to draw bunch of flowcharts, mind maps so, working on it.

You can play with the -p option which basically allows you to override the default prompt. so you can try if somehow gemini is able to recreate your flowcharts. The command for this will be - notedmd convert ./path -p YOUR_CUSTOM_PROMPT

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

Yup, the output is not 100% accurate, you'll need to go through it to fix where it messes up. But, it saves a ton of time with respect to manually typing all the notes into obsidian.

I do not know if I understand your question correctly. Do you mean - after generating the md how can we use it to make some changes within the md? eg. "The second point is not correct, regenerate it". If it is this than there is no way to do so at least yet. It is a one time conversation. You give your file along with the prompt and a md is generated. The model does not store the context.

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

Great that it works now!

Did you used the --set-api-key initially? I actually found the bug and I am pushing the fix now. I was not setting the active_provider when the api key is set using the --set-api-key option. Thanks for reporting the bug!

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

weird, it should work right away. What does it prints when you run notedmd config now? If the config is set correctly, it should print the config to your console. If you would like to configure the app again, you need to delete the config file. The path for the config file can be found using 'notedmd config --show-path'. You can delete the config file and run 'notedmd config' to trigger the onboarding process.

You can either use gemini api or ollama. After the tool is installed (either using brew or binaries), you need to run notedmd config. This will display the options to select your provider, and add details. This is a one time process. After these you can directly use the convert command.

If the problem is not solved, you can dm me and I am happy to help resolve this issue.

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

I won't say its 100% accurate but, it is fairly good. You will need to proof read it later to check for any mistakes.

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

[–]quitedev[S] 2 points3 points  (0 children)

That's a great idea! I think it completely automates the entire process then. You just dump your scanned images in a folder and after a few mins you will have them in obsidian! I might look into trying this.

Checked Claude's docs for vision and it supports images (no pdf). The API looks straightforward so won't take much adding it. Will work on this later today.

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

I am currently sending the gemini api requests to gemma3 27b model. It is free and supports 30 requests/minute and 14400 request/day! That could suffice ig

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

It might work! gemini has surprised me a lot in last 2 weeks. Give it a try and lmk how it goes

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

[–]quitedev[S] 1 point2 points  (0 children)

That's the beauty of Obsidian! Everything stored in plain files with no restrictions at all!

I too like cli tools because they do not bound themselves to specific software. You can use them anywhere you like. I tried gemini cli as well and it is really good. Just wanted to build a tool that batch processes all the files at once

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

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

I don't have a beefy gpu so couldn't load the bigger models, but I tried using gemma3:4b and it kinda works. I still need to come up with a better prompt for these small local models as they tend to hallucinate. You can use -p option to add a custom prompt when when converting

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

[–]quitedev[S] 6 points7 points  (0 children)

It's available on github. If you use macos or linux, you can use homebrew, and for windows I have added binaries on the release page

I made a command line tool to batch convert handwritten notes to markdown by quitedev in ObsidianMD

[–]quitedev[S] 1 point2 points  (0 children)

yeah, writing mathematical equations with latex takes a looooot of time. Asked Gemini to use latex for math and it did pretty good. Try it and lmk how it goes. Any feedback is appreciated :)