1. Fork this repository
  2. Create a folder to plugins/community in your fork. Use dashes to seperate words when naming this folder.
  3. In the folder you created, add a file index.ts
  4. Create a function within index.ts to that takes in the Request as a parameter and returns a Response. For example:
export default (request: Request) : Response => {
  var exampleNote = {
    "note": {
      "title": "new title"
      "content": "new content",
      "source": "new source",
    }
  }
  return new Response(JSON.stringify(exampleNote));
}
  1. Test your plugin locally to ensure it works as expected
  2. Create a pull request from your fork to the main repostory

See plugins/community/example for an up-to-date example.