1. Install deno
  2. Within the folder you created for your plugin, create a file called webserver.ts and add the following lines to it.
import { serve } from "https://deno.land/[email protected]/http/server.ts";
import myPlugin from "./index.ts"
serve(myPlugin);
  1. Now run the deno command to start the webserver
deno run --allow-all webserver.ts
  1. Once the webserver is up and running go to http://localhost:8000 to call the function you created in index.ts
  2. Here is an example curl request to get you started
curl -d '{"metadata":"some metadata", "note":{"title":"title","content":"content","source":"source"}}' -H "Content-Type: application/json" -X POST http://localhost:8000/

See plugins/community/example as an example