For professional developers aspiring to create Amplenote’s greatest new plugin, it is common to want to sync GitHub code with a plugin body. This plugin allows you to define an "entry file" in a public GitHub repo, and then have the main block from that entry file imported into a plugin note.
Better yet, you can import functions from other files and have those functions be inlined in the code that gets inserted into your plugin note. No more 1,500 line single files necessary. See "caveats" for about use of import.