Random filenames prefix

hi.

i’m finalizing a new CYOA (Choose Your Own Adventure) book… Obsidian is really a wonderful writing environment, especially when you configure well the tags and some plugin.

what i just miss is something to ramdomize the story (we have on file == one chapter == one number)

i usually name the files like: 123_my_node_title.md
so that i have all nodes ordered by number.

i would just need a plugin to rename all fles in a folder, randomizing the filename numbered prefix. i need to use Obisdian’s API rename method, so that all links get automatically fixed

has anybody done something alike, that i can copy to bootstrap?

(i’m a good programmer but haven’t workied with typescript/javascript and plugs)

thank you!