TiddlyPWA is worth a closer look. It is a single-file version which uses the browser-storage if there is no internet connection an syncs if connection is possible.
More details here at Talk: TiddlyPWA: Secure offline storage and cross-device synchronization solution
