Skip to main content

Tools to generate mindmaps compatible from markdown-like text files, either as PNG with graphviz or as wisemapping-compatible XMLs

Project description

|pypi_version_img| |pypi_license_img| |travis_build_status|

Tools to generate mindmaps compatible from markdown-like text files, either as PNG with graphviz or as wisemapping-compatible XMLs.

A viewer for those can be found here: https://github.com/Lucas-C/wisemapping-mindmap-viewer

Also include a [Twilio](https://www.twilio.com) webhook that can receive updates for such markdown-like mindmap files, stored in `git`.

For more information, I wrote some [blog posts](https://chezsoi.org/lucas/blog/tag/mindmap/) explaining the role of those scripts.


Table of Contents
================

.. contents::


Usage
=====

::

wisemapping_md2xml examples/welcome.md > welcome.xml


::

graphviz_md2png examples/seasons.md


Deployment
==========

`upstart` job using `pew` & `uwsgi`: `/etc/init/brain_dump.conf`
```
start on startup

script
set -o errexit -o nounset -o xtrace
cd /path/to/brain_dump
exec >> upstart-stdout.log
exec 2>> upstart-stderr.log
date
LANG=fr_FR.UTF-8 HOME=$PWD pew-in brain_dump uwsgi --buffer-size 8000 --http :80 --manage-script-name --mount /webhook=brain_dump/twilio_webhook_gitdb_app.py
end script
```


Contributing
============

`pre-commit hooks <http://pre-commit.com>`__ installation:

::

pip install -r dev-requirements
pre-commit install

Unit tests (executed by `pre-commit run`):

::

py.test


.. |pypi_version_img| image:: https://img.shields.io/pypi/v/brain_dump.svg?style=flat
:target: https://pypi.python.org/pypi/brain_dump
.. |pypi_license_img| image:: https://img.shields.io/pypi/l/brain_dump.svg?style=flat
:target: https://pypi.python.org/pypi/brain_dump
.. |travis_build_status| image:: https://travis-ci.org/Lucas-C/brain_dump.svg?branch=master
:target: https://travis-ci.org/Lucas-C/brain_dump


Change Log
==========
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

[1.0.0] - 2017-09-22
--------------------
Initial publish version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brain_dump-1.0.0.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

brain_dump-1.0.0-py2.py3-none-any.whl (14.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page