Hello, generaly this is a nice idea, but I think you steel need to finish workflow. With some tweeks I able to make it work, but need more info
I use this old similar workflow https://github.com/cdpath/copy_link with some personal custom mod for my needs, maby this will be some inspiration for you.
I will keep eye on your litle project