{"id":760,"date":"2022-06-28T10:53:42","date_gmt":"2022-06-28T17:53:42","guid":{"rendered":"https:\/\/jasonsblog.access.ly\/?p=760"},"modified":"2022-11-05T08:21:48","modified_gmt":"2022-11-05T15:21:48","slug":"google-notes-replacement-with-zim-wiki-and-syncthing","status":"publish","type":"post","link":"https:\/\/jasonsblog.ddns.net\/index.php\/2022\/06\/28\/google-notes-replacement-with-zim-wiki-and-syncthing\/","title":{"rendered":"Google Notes Replacement with Zim Wiki and Syncthing"},"content":{"rendered":"\n<p>Continuing on with replacing Google products and getting away from their tracking and data collection, I was looking for a notes replacement. There are products like <a aria-label=\"Joplin (opens in a new tab)\" href=\"https:\/\/joplinapp.org\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">Joplin<\/a> and <a aria-label=\"Standard Notes (opens in a new tab)\" href=\"https:\/\/standardnotes.com\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">Standard Notes<\/a> where you can use their cloud service or self host your own, but I was already using <a aria-label=\"Syncthing (opens in a new tab)\" href=\"https:\/\/syncthing.net\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">Syncthing<\/a> as a Google Drive replacement with a Docker install, self hosted along with having Syncthing on all my virtual machines, computers and Android phone. Syncthing is mainly a way to sync file directories between machines but more in a distributed model where all the machines have the files with versioning, so you don&#8217;t have to depend on a centralized server and you have more protection from a single machine failure. So with the Syncthing foundation, I discovered <a aria-label=\"Zim Wiki (opens in a new tab)\" href=\"https:\/\/zim-wiki.org\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">Zim Wiki<\/a>. It&#8217;s a local desktop Wiki using markup language, but by storing the database in the Sync directory shared by all machines, it&#8217;s accessible by all my machines and it has clients for all machines except Android. But a handy application, <a aria-label=\"Markor (opens in a new tab)\" href=\"https:\/\/github.com\/gsantner\/markor\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">Markor<\/a> on Android, allows you to access, add, and edit the files from your Android phone (though not as nicely as the desktop Zim client).<\/p>\n\n\n\n<p>Syncthing has a dynamic way of linking machines where you share a machine ID code, and Syncthing will find the machine on the local network so you don&#8217;t have to hard code IP addresses. You could expose it to the internet for remote use, but I have Wireguard VPN so even if remote I can access as though on the local network. And you setup on each machine what directories will be shared with the default shared directory being ~\/Sync. And on computers you access Syncthing through a web interface with an app being used on Android.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"847\" src=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628_100715-1-1024x847.png\" alt=\"\" class=\"wp-image-1922\" srcset=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628_100715-1-1024x847.png 1024w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628_100715-1-300x248.png 300w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628_100715-1-768x635.png 768w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628_100715-1.png 1410w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100730-1-481x1024.jpg\" alt=\"\" class=\"wp-image-1919\" width=\"299\" height=\"636\" srcset=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100730-1-481x1024.jpg 481w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100730-1-141x300.jpg 141w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100730-1-768x1636.jpg 768w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100730-1-721x1536.jpg 721w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100730-1-962x2048.jpg 962w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100730-1.jpg 1080w\" sizes=\"auto, (max-width: 299px) 100vw, 299px\" \/><figcaption class=\"wp-element-caption\">Syncthing on Android<\/figcaption><\/figure>\n\n\n\n<p>Syncthing has been very reliable and I much prefer it to centralized server type systems like Nextcloud. I&#8217;ll post a video tutorial for installing and using Syncthing below.<\/p>\n\n\n\n<p>Now once you have your ~\/Sync directory syncing between machines, you can install Zim Wiki and save the database to the shared directory. And then you&#8217;re in business. And the <a aria-label=\"Zim Wiki Getting Started  (opens in a new tab)\" href=\"https:\/\/zim-wiki.org\/manual\/Usage\/Getting_Started.html\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">Zim Wiki Getting Started <\/a>page will walk you through what to do. And once you load Markor on Android you can access your Zim Wiki directory and have access to all your notes. And you can keep notes simple or employ the supported markup language to make your notes more dynamic and link associated materials together in true wiki fashion.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"864\" src=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628_100223-1-1024x864.png\" alt=\"\" class=\"wp-image-1921\" srcset=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628_100223-1-1024x864.png 1024w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628_100223-1-300x253.png 300w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628_100223-1-768x648.png 768w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628_100223-1.png 1140w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Zim Wiki on Ubuntu Linux<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-095949-1-481x1024.jpg\" alt=\"\" class=\"wp-image-1917\" width=\"305\" height=\"647\"\/><figcaption class=\"wp-element-caption\">Markor application on Android to access Zim Wiki files<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100032-1-481x1024.jpg\" alt=\"\" class=\"wp-image-1918\" width=\"315\" height=\"671\" srcset=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100032-1-481x1024.jpg 481w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100032-1-141x300.jpg 141w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100032-1-768x1636.jpg 768w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100032-1-721x1536.jpg 721w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100032-1-962x2048.jpg 962w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_20220628-100032-1.jpg 1080w\" sizes=\"auto, (max-width: 315px) 100vw, 315px\" \/><figcaption class=\"wp-element-caption\">Example Zim Wiki note in Markor<\/figcaption><\/figure>\n\n\n\n<p>So by implementing Zim Wiki with Syncthing you can have your own note solution and don&#8217;t need to depend on Google or any other cloud providers. But at least with solutions like Joplin or Standard Notes the database is encrypted and you control your data and it can&#8217;t be scanned by the provider. And we know that <a aria-label=\"Google is scanning your data (opens in a new tab)\" href=\"https:\/\/www.forbes.com\/sites\/thomasbrewster\/2021\/12\/20\/google-scans-gmail-and-drive-for-cartoons-of-child-sexual-abuse\/?sh=16f892ab79c7\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">Google is scanning your data<\/a> as it came out they were looking for child porn and copyrighted materials, but those are the entry excuses to violate your privacy with more to follow eventually as what is considered &#8220;illegal&#8221; changes. Or the government could add file fingerprints for things they find offensive that aren&#8217;t necessarily illegal but just contrary to their governance and control, and all you have to do is look at the<a aria-label=\" treatment of January 6th protestors (opens in a new tab)\" href=\"https:\/\/www.bizpacreview.com\/2021\/10\/02\/judge-asks-prosecutors-why-jan-6-protesters-are-being-treated-worse-than-blm-rioters-1143057\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\"> treatment of January 6th protestors<\/a> to understand how this could happen. <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Open Source File Sync: Getting Started Tutorial With Syncthing on Windows &amp; Linux\" width=\"1290\" height=\"726\" src=\"https:\/\/www.youtube.com\/embed\/O5O4ajGWZz8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Continuing on with replacing Google products and getting away from their tracking and data collection, I was looking for a notes replacement. There are products like Joplin and Standard Notes where you can use their cloud service or self host your own, but I was already using Syncthing as a Google Drive replacement with a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-760","post","type-post","status-publish","format-standard","hentry","category-tech"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"featured_image_src":null,"author_info":{"display_name":"Jason","author_link":"https:\/\/jasonsblog.ddns.net\/index.php\/author\/jturning\/"},"_links":{"self":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/comments?post=760"}],"version-history":[{"count":14,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/760\/revisions"}],"predecessor-version":[{"id":1928,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/760\/revisions\/1928"}],"wp:attachment":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/media?parent=760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/categories?post=760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/tags?post=760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}