A set of open source extensions for StandardNotes.
Paste https://snext.netlify.app/index.json into Extended Code in StandardNotes.
Previously (last year) the URL was https://snext.netlify.com/index.json.
But early this year Netlify decided to change the domain used by hosted apps.
If you've been experiencing empty editor UI, there's a chance that you're using the old URL. Netlify is taking care of redirections but they are missing some headers. You should migrate to the new URL.
These steps are required to migrate:
- Look for the "Repository" options in the "Extensions" menu (on the bottom)
- Delete the repository
- Uninstall all installed themes and editors
- Re-enter the new URL into
Extended Code - Re-install all the themes and editors you use
If you'd like an extension to be included in this repository, feel free to open an issue.
In case if you'd like to host your own site other than using ours, you can do so with Netlify:
- Fork this repository;
- Create a Netlify account if you don't have one already;
- In Netlify app, Use "New site from Git" to create a site from your forked GitHub repository;
- Wait for the build to finish;
- After that you can use
YOUR_SITE_URL/index.jsonas anExtended Code; - Optionally you can set a human-readable site name (a subdomain of
netlify.app) from theSite settingspage. Notice: You need to manually trigger a new deploy via Netlify web UI after changing the site name.
It's easy and recommended to host with Netlify. However if you insist not to use it, it is also possible (notice: the following steps work on Linux or WSL):
- Prepare your environment with
Python 3.7withpip, as well asGit; - Make sure Python 3.7 can be called directly via
pythonfrom the shell; - Make sure Git is installed and can be called directly via
gitfrom the shell; pip install -r requirements.txtto install required Python libraries;- Run the build script
URL=my_url python build.pywheremy_urlis the full URL you would later host the resource files on. E.g. if you want to access the plugins viahttps://example.com/index.jsonthen replacemy_urlwithhttps://example.com/. - Verify that:
- the
publicdirectory is generated; - there should be
public/index.jsoncontaining information of all extensions; - all extensions should exists in
publicas sub-directories;
- the
- Host the
publicdirectory like you would do with any static resources, using nginx, caddy, etc. - You need to enable CORS headers on your reverse proxy (nginx / caddy / traefik). With nginx these rules will be enough:
add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Headers' 'content-type';