Magpie, python based replacement of Evernote

Magpie logoEvernote is a very popular server to take notes, share them across all your devices but also much more. However it is difficult to trust a cloud provider or a proprietary software on what they do with your data….because you don’t know and cannot know!!

They could analyse your notes and if they found “Buy milk” or “buy xxxx” they could easily sell this information to 3rd party for targeted ads. And you will receive in your mailbox, “You want to buy milk? Don’t look further and buy Cowcowmilk!” I let your imagination think of which use they could do of all your data.


Anyway, I’ve been presenting several Evernote replacement, such as Laverna and OpenNote, but I’ve never introduce Magpie.

Magpie, for  MArkdown, Git, PIEthon is a Python based note taking application that can be installed on your own server. It is a web tool for managing all your notes, in a git repository. (No need for a database)

You will be able to create notebooks (Folders), and create/edit/delete notes in these notebooks.

Magpie screenshot notesWith a simple yet attractive design, Magpie is easy to use and to install!

A demo of magpie is available here.

Now let’s see the installation part!



1) Pre-requisites

You will need Python 2.7 with pip and git.

To install them, simple run (as root)

apt-get install python python-pip git

2) Install magpie

If you use Python virtualenv, you don’t need to use sudo/root anymore. If you don’t use it, then keep using sudo/root and run:

pip install magpie

It will download and install the latest version on magpie with its requirements.

3) Setup your own git repo (Optional, you can use 3rd party repo, but I suggest you will prefer to have everything on your own machine)

– Create a dedicated folder (where you want) to initialize your git repo

mkdir /home/user/magpie

Change the ‘user’ field by your own user

– Initialize your git repo

cd /home/user/magpie
git init

4) Start magpie

Still in root:


5) Run the web installer

Simply go to http://localhost:8080/config and change the Repository path (/home/user/magpie) in my case.

You will also be able to set a username and password on top of changing the port (Port 8080 may conflict with others services you have)

**    If you try to access to Magpie using your local network IP or public IP (Anything but localhost), you may face an “Unable to connect” error or so. If it is the case, you need to modify the value “address” in the web.cfg file. To do so: nano /usr/local/lib/python2.7/dist-packages/magpie/config/web.cfg

and replace the address field (localhost) by


Save (CTRL +X then Y) and start back the service.

You should now have a fully working Magpie instance on your server.

magpie main page



Loves to discover web-based apps to install on his own server@home and write articles about it


Add a comment