---
title: Mirror your MindMeister maps to nvALT
date: 2014-05-27 12:00
slug: mirror-your-mindmeister-maps-to-nvalt
categories:
- Code
tags:
- brainstorming
- markdown
- mindmapping
- mindmeister
- notes
- nvalt
- scripting
- search
- spotlight
---

[

![](https://brettterpstra.com/uploads/2014/05/mindmeister_nvalt.png)

][mm]

I love [iThoughtsX][], [MindNode Pro][] and [Mindjet MindManager][mindjet] for a lot of the local brainstorming I do on my Mac, but I've found myself doing a lot of work with [MindMeister][mm] in a [Fluid][fluidapp] browser (and [on iOS][mmios]) lately. 

[MindMeister][mm] is great for creating mind maps for sharing, collaboration and even presentation (with slideshow functionality), and has import and export functionality for all the other apps I use.

The one thing I wanted was to be able to search my MindMeister maps and brainstorms as part of my nomal notes setup, meaning nvALT and Spotlight. So I modified a project I worked on with [Donald Curtis] called [mindmeister2md][] to do just that.

### Description

The original script allowed for selecting and exporting a single map as Markdown. My modified version exports every map in your account to separate Markdown files, intended to be stored in my nvALT folder as plain text files. It also saves copies of my maps in PDF and Mindjet MindManager formats in a separate export folder. These can be searched with Spotlight and maintain their original formatting.

This is not a 2-way sync, it just gives you local, searchable copies of your work. Each of the Markdown notes contains a direct link back to the map, and stores additional details in MultiMarkdown metadata format. It has some rudimentary TaskPaper support for maps that contain due dates and priorities, but that part isn't fully fleshed out yet.

The script will check the last updated date of the maps and if no changes have been made since the last export, it will ignore them. This allows the script to be run as a recurring task using launchd. I run it every 10 minutes in the background, making a quick ping to the API and checking to see if any maps have been updated. If not, it quietly exits. If there are new changes, it updates the related files accordingly.

### Installation

To use it, [save the script from GitHub](https://gist.github.com/ttscoff/cd2a6c17964cccfb6665) as `mindmeister_store.rb` and run it once to initialize the config file at `~/.mindmeister2rb`. You'll need an API key from MindMeister, which you can [apply for here][apikey]. Edit the configuration file with your API key and secret. While you're in there, edit the `markdown_storage_folder` and `export_storage_folder` keys to point to your notes folder and where you want any exported files (pdf, mindmanager, etc.) to be stored.

The export options need to include an export type and the extension you want assigned to the files. For example:

		export_storage_folder: ~/Dropbox/MindMeisterMaps/
		export_formats:
		  mindmanager: mmap
		  pdf: pdf

Available options also include "freemind" and "rtf." I haven't set up image exports yet, mostly because they're not searchable with Spotlight and there's no point for me if I have the PDF and MindManager versions.

Next, you'll need to run it at intervals. I suggest using `launchd` via a configuration tool such as [Launch Control](http://www.soma-zone.com/LaunchControl/) (my current preference) or [Lingon](http://www.peterborgapps.com/lingon/). Set it up to run at any reasonable interval based on how often you update your mind maps on MindMeister.

Here's the script link again: <https://gist.github.com/ttscoff/cd2a6c17964cccfb6665>. If you don't already have a MindMeister account, sign up for a free trial at [MindMeister.com][mm].

[ithoughtsx]: https://itunes.apple.com/us/app/ithoughtsx/id720669838?mt=12&at=10l4tL&ct=mindmeister
[mindnode pro]: https://itunes.apple.com/us/app/mindnode-pro/id402398561?mt=12&uo=4&at=10l4tL&ct=mindmeister
[fluidapp]: http://fluidapp.com/
[mm]: http://www.mindmeister.com/?r=116987
[mindjet]: http://www.mindjet.com/mindmanager/
[apikey]: https://www.mindmeister.com/account/api/ 
[mindmeister2md]: https://github.com/milkypostman/mindmeister2md
[Donald Curtis]: http://milkbox.net/
[mmios]: https://itunes.apple.com/us/app/mindmeister-for-ipad/id381073026?at=10l4tL&ct=mindmeister

---

Brett is a writer and developer living in Minnesota, USA. You can follow him as ttscoff. This content is supported by readers like you. [More about Brett](https://brettterpstra.com/contact.md), including social links.

Copyright © 2026 Brett Terpstra. All rights reserved.
