I am currently using Evernote. I am on Ubuntu and there is no desktop client for Ubuntu. The web version is limited. I'm looking for an Evernote alternative that can preserve web page formatting and works offline.
If I copy some content like images and text and paste it into the note, it should look the same.
Also I don't want cloud syncing. It should store data locally.
The closest I came by is OpenNote, but I have issues with connecting it with CouchDB. Also the last commit was 2 years ago, so I doubt if it's still maintained.
Caveats:
When you clip a web content with images, I think Evernote converts the image to base64 encoded data and saves it along with the text. I exported the note into enex and tested. It does not just save the link to the image. I tried tagspaces. It is able to preserve formatting of copied contents when the note is HTML, but it links the images. So if the images go offline, then the page will be broken, which makes it not really offline.
Tried MHTML, but it saves images in tmp folder. Not very useful.
I found MAFF to work well offline. I saves the page completely offline in an archive which Firefox can read. I use Recoll for indexing and search, but not sure if it will work with this.
Update: Saving as single web page using MHTML flag enabled in Chrome saves everything locally.