-
Joplin
Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I've been using Joplin with the files encrypted and self-hosted (currently on Seafile, but soon to be Nextcloud) for note taking - really pleased with it so far. Works great on MacOS and iOS.
Another option though is to split things up. I have https://github.com/jbarlow83/OCRmyPDF running and it's great. It's what paperless uses (or used to use). Right now I just have this monitoring a folder on my nas and then it moves the files elsewhere on the nas. So if you can find some software that can search inside of OCR'd PDFs, you can use this first and then stash them inside the other software.
I moved my stuff to Trillium Notes (https://github.com/zadam/trilium). I have mine on my Cloudron (cloudron.io) installation. Works well.