Skip to content

noyesno/freemind-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freemind-repo

Freemind mindmaps are saved as XML files. So it's possible to manage a collection of Freemind mindmaps with a version control system. Here we choose popular Git.

But Freemind mindmap xml file contains attributes like CREATED, MODIFIED which are timestampes. Such timestampes does not make too much sense for a knowledge mindmap, and bring noise to version control.

freemind-mmx solve this issue with a hacked version Freemind.

This project solves the issue through git clean filter. A program is used to apply filters on the mindmap xml file.

  • Remove CREATED and MODIFIED node attributes.
    • Attribute ID is also removed. It's not needed when there is no node link in the mindmap.
  • Decode unicode characters which are encoded like 找.
    • This improves the readiblity of mindmap XML file.

It has been verified that Freemind can open the filterred mindmap file well.

Quick Usage

echo "*.mm filter=freemind" >> .gitattributes

git config filter.freemind.required true

git config filter.freemind.clean bin/mmclean.tcl
git config filter.freemind.smudge cat

Default filter program is implemented with Tcl - my favourite script language.

See Also

My another Freemind related project freefind-plus which focus on Freemind mindmap conversion.

About

freemind mindmap repo with git version control

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published