{"id":1402,"date":"2017-12-06T12:26:02","date_gmt":"2017-12-06T12:26:02","guid":{"rendered":"https:\/\/www.phillips321.co.uk\/?p=1402"},"modified":"2017-12-06T12:29:45","modified_gmt":"2017-12-06T12:29:45","slug":"cherrytree-on-macos-osx","status":"publish","type":"post","link":"https:\/\/www.phillips321.co.uk\/2017\/12\/06\/cherrytree-on-macos-osx\/","title":{"rendered":"CherryTree on MacOS (OSX)"},"content":{"rendered":"<p>So I use <a href=\"https:\/\/www.giuspen.com\/cherrytree\/\" target=\"_blank\">CherryTree<\/a> to keep my notes. What I like about it is the tree structure that allows me to easily find my notes, and if I cant I simply use the search function. I used to use Evernote but found it bloated. The good thing about CherryTree is it&#8217;s open source and runs using python. You can find out more about the project at the <a href=\"https:\/\/github.com\/giuspen\/cherrytree\" target=\"_blank\">GitHub page here<\/a>.<\/p>\n<p>Getting it running as an app on MacOS is a bit of a bitch to be honest, but with a combination of <a href=\"https:\/\/www.sveinbjorn.org\/platypus\" target=\"_blank\">Platypus<\/a> and some additional python libraries it&#8217;ll run just fine.<\/p>\n<p>The notes below are for a fresh build of MacOs 10.13 High Sierra, so any dependencies should be met using the following instructions.<\/p>\n<div class=\"codecolorer-container bash vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/><\/div><\/td><td><div class=\"bash codecolorer\"><span class=\"sy0\">\/<\/span>usr<span class=\"sy0\">\/<\/span>bin<span class=\"sy0\">\/<\/span>ruby <span class=\"re5\">-e<\/span> <span class=\"st0\">&quot;<span class=\"es4\">$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install)<\/span>&quot;<\/span><br \/>\nbrew <span class=\"kw2\">install<\/span> gtk-mac-integration pygtksourceview dbus dbus-glib <span class=\"kw2\">wget<\/span> <span class=\"kw2\">unzip<\/span><br \/>\n<span class=\"kw2\">wget<\/span> https:<span class=\"sy0\">\/\/<\/span>bootstrap.pypa.io<span class=\"sy0\">\/<\/span>get-pip.py<br \/>\n<span class=\"kw2\">sudo<\/span> python get-pip.py<br \/>\n<span class=\"kw2\">sudo<\/span> pip <span class=\"kw2\">install<\/span> dbus-python pyenchant chardet<br \/>\n<span class=\"kw2\">wget<\/span> https:<span class=\"sy0\">\/\/<\/span>github.com<span class=\"sy0\">\/<\/span>giuspen<span class=\"sy0\">\/<\/span>cherrytree<span class=\"sy0\">\/<\/span>archive<span class=\"sy0\">\/<\/span>master.zip<br \/>\n<span class=\"kw2\">unzip<\/span> master.zip<br \/>\n<span class=\"kw2\">mkdir<\/span> <span class=\"re5\">-p<\/span> <span class=\"sy0\">\/<\/span>Users<span class=\"sy0\">\/<\/span><span class=\"co1\">${USER}<\/span><span class=\"sy0\">\/<\/span>.local<span class=\"sy0\">\/<\/span>share<span class=\"sy0\">\/<\/span><br \/>\n<span class=\"kw2\">sed<\/span> <span class=\"re5\">-i<\/span><span class=\"st_h\">''<\/span> <span class=\"re5\">-e<\/span> <span class=\"st_h\">'\/x11_get_server_time\/s\/^\/#\/g'<\/span> cherrytree-master<span class=\"sy0\">\/<\/span>modules<span class=\"sy0\">\/<\/span>core.py<br \/>\n<span class=\"kw2\">wget<\/span> http:<span class=\"sy0\">\/\/<\/span>sveinbjorn.org<span class=\"sy0\">\/<\/span>files<span class=\"sy0\">\/<\/span>software<span class=\"sy0\">\/<\/span>platypus.zip<br \/>\n<span class=\"kw2\">unzip<\/span> platypus.zip<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>The above steps might take a while due to install the various sub dependencies, but once done you should be able to do the rest using the GUI app <a href=\"https:\/\/github.com\/sveinbjornt\/Platypus\" target=\"_blank\">Platypus<\/a>.<\/p>\n<p>Configure Platypus to use the following settings:<\/p>\n<ul>\n<li>App Name: Cheerytree<\/li>\n<li>Custom Icon: cherrytree-master\/glade\/cherrytree.png<\/li>\n<li>Script Type: Other \/usr\/local\/bin\/python2<\/li>\n<li>Args: Empty<\/li>\n<li>Script Path: \/Users\/user\/Downloads\/cherrytree-master\/cherrytree <\/li>\n<li>Interface: None<\/li>\n<li>Unchecked: &#8220;Run with root privileges&#8221; &#038; &#8220;Remain running after execution&#8221; &#038; &#8220;Accepts dropped items&#8221;<\/li>\n<li>Checked: &#8220;Run in background&#8221;<\/li>\n<li>Bundled Files: &#8220;modules&#8221; &#038; &#8220;glade&#8221;<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2017\/12\/CherryTree1.png\"><img loading=\"lazy\" src=\"https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2017\/12\/CherryTree1-300x254.png\" alt=\"\" width=\"300\" height=\"254\" class=\"aligncenter size-medium wp-image-1403\" srcset=\"https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2017\/12\/CherryTree1-300x254.png 300w, https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2017\/12\/CherryTree1-768x651.png 768w, https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2017\/12\/CherryTree1.png 804w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Finally click the create button at the bottom right and save the app in the Applications folder:<\/p>\n<ul>\n<li>Save As: Cherrytree.app<\/li>\n<li>Where: Applications<\/li>\n<li>Unchecked: ALL OPTIONS<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2017\/12\/CherryTree2.png\"><img loading=\"lazy\" src=\"https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2017\/12\/CherryTree2-300x226.png\" alt=\"\" width=\"300\" height=\"226\" class=\"aligncenter size-medium wp-image-1404\" srcset=\"https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2017\/12\/CherryTree2-300x226.png 300w, https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2017\/12\/CherryTree2.png 350w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I use CherryTree to keep my notes. What I like about it is the tree structure that allows me to easily find my notes, and if I cant I simply use the search function. I used to use Evernote but found it bloated. The good thing about CherryTree is it&#8217;s open source and runs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1406,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[478,479,454,480,111],"_links":{"self":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/1402"}],"collection":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/comments?post=1402"}],"version-history":[{"count":2,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/1402\/revisions"}],"predecessor-version":[{"id":1407,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/1402\/revisions\/1407"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/media\/1406"}],"wp:attachment":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/media?parent=1402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/categories?post=1402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/tags?post=1402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}