External tools and scripts for Kanka
Last updated
Was this helpful?
Last updated
Was this helpful?
(KAREX) by Jonathan Garrison: A Python3 script that scans a campaign export Zip file to produce a human-readable HTML file.
by MaxJohnson: A rough and messy local workspace to approximate Kanka's layout and css capabilities for attribute template development. Uses JavaScript to replace some of the Blade logic with placeholder text to assist in developing and testing your template’s layout locally.
by NachtTheFerret: A JavaScript library for the API.
by BrandonEchols & The Quacken: Figure out what value to input for the map measurement setting based on your image's dimensions and desired metric.
by Kelaos: An API-based utility that adds a specified tag to all of your untagged entities so you can track them down more easily.
by Kuskus: A Typescript utility that computes the word count of your campaigns, supporting various options and filters. Installed and run locally via NPM.
by Fallayn: A bridge that automatically posts Kanka changes to a Discord channel.
by Arconyx: A Red-DiscordBot cog that allows you to access your Kanka campaigns from Discord.
The links that follow will take you to various scripts designed specifically for Kanka. Those scripts are extensions that can be installed in your browser to give you additional features without affecting the actual website for other users.
Automatically adds a Table of Contents block under the Pins sidebar of any entity on Kanka, with clickable links to each heading and optional "back to top" links. It integrates seamlessly with any official theme and can be customized further using campaign CSS.
Modifies Coloris color pickers in Kanka to suggest the user’s choice of preset colors. This applies to forms such as Events, Relations and Map Markers, as well as the Theme Builder.
A customizable script to help you replace the key bindings for Summernote’s keyboard shortcuts.
Makes the entity Privacy checkbox visible on both the Entry and Permissions tabs, so you don’t need to leave the main tab to make an entity private, but the setting also appears with the rest of the permission settings.
Sorts folders and images alphabetically in the Kanka Gallery, keeping folders first.
This simple script processes the HTML code of your Kanka entries every time you switch to Summernote's code view in order to add line breaks and indentation and make the code more legible.
A nifty little script that adds an unobtrusive dropdown menu next to the Collapse All and Expand All post controls in entity headers, allowing you to quickly scroll down to the selected post (with optional "back to top" links).
Saves a snapshot of the editor’s content to your browser’s local storage at set intervals so you can recover it if you forget or fail to save the entity after making changes. Adds a toolbar button to view your saved snapshots and insert them into the editor in one click.
Adds buttons to the Summernote editor toolbar that can be used to insert HTML elements or classes required by various Plugin Library themes with a simple click. Also provides convenient modals for the more complex plugins. Most features are compatible with both the visual and code editors, and you can also set up your own classes and HTML snippets in your campaign’s styles for quick access.
Adds a button to the polygon marker editor in Kanka maps that manipulates coordinates in the text field in order to turn them into a single line. For example, you can click any three points on the map and activate the Helper to end up with a continuous line instead of an enclosed triangle.
Allows viewing mentioned entities in a modal that contains the full entry, posts, pinned attributes and images, without leaving the current page.
Adds another link to search bar suggestions as you type. Said link will take you the Search page to look for your input in entity content rather than limiting itself to titles. Optionally, you can also use this script to quickly find campaign or user settings without navigating through the interface.
Shows the count of attributes, relations, assets, etc. on each entity's corresponding submenu item.
A simple script that sets the cursor position to the start of the input field rather than the end when switching to Code View in the Summernote editor, which is more consistent with what happens when you switch back to the visual editor.
Adds a text field under editors where you can see your entry’s Markdown equivalent in real time, and edit the Markdown to send the changes back to Summernote as you type.
This script adds a Tags column to entity lists in table view, as is often requested on the official Discord.