@sabhay-sardana have you looked at SAMBA? I haven't tried it on Onion but it is available for OpenWrt. Take a look at this link:
Luci is just a web interface but you can configure SAMBA manually.
You could also use NFS.
Looks like your connection to Community was lost, please wait while we try to reconnect.