Most JS/TS runtimes have filesystem modules, at it's simplest/least secure you could implement it with client-side fetch and:
On get request - find matching .MD file and return
On put request - write to given location