If you’re willing to play around with the API, you can do some pretty amazing things with Gingko.
Gingko’s API can change on occasion, so if you’d like to be notified of any changes, get in touch with me.
Open up your browser’s console, and play with this. To prevent headaches, make a copy of your tree before messing with this.
Send emails to a given card, automatically create a PDF from Gingko’s LaTeX output. If you use Gingko’s API for something, no matter how small or specific your use case, please share it with me, so I can add it here.
The Global app object is the main way to interact with your current tree. You can get a list of all cards, edit content, clear your trash, or do several other actions that don’t yet have a UI attached to them.
Thanks to @fabianmu for this one.
Update an existing card with, say, your last tweet.
(harder) Copy the body of any Gmail message you label ‘gko’, to a new card.
Or how about getting raw Markdown from Github README’s, and displaying that as a gingko tree?
(python tool is optional, to format JSON response nicely).
You can use the API to get any of our supported export formats (txt, html, json, docx, impress). You can also use flags like column=3 or cardId=someCardId.
Simplest option is to export the view you want from within the app, and copy the URL & parameters.
I’m aware that requiring position index is tricky (for instance, adding a card to the end of a list requires that you know the index of the last card). I’m working on a fix for this.
Can update content, position, and parentId.
"seed": "# Readme\nThis is some markdown document"
You can also import a JSON string in seed, using the format that Gingko exports JSON in.
Note that neither of these “import” functions will replace any part of your tree. The card someParentId will simply have a new subtree with this content (if null then the subtree will start in first column).
to get the Backbone.js models for the cards.
By binding to the Moustrap.js global object, and triggering Backbone events, you can create shortcuts for your own actions (or override the defaults).