Hacking Dog

Start building with the Inkdrop API

The Inkdrop API empowers users to tailor and enhance the app's core functionalities. Whether customizing the editor, tweaking the Markdown renderer, or crafting unique themes and plugins, this API provides the tools you need.

Getting started

Before diving deep into the API functionalities, it's essential to familiarize yourself with the basics. Here are two essential guides to get you started:

  • The Init File: Understand how Inkdrop loads and how you can customize its behavior using JavaScript in the init.js file. Whether you wish to run custom scripts on startup or add new commands, this guide offers a foundation for using the API with JavaScript.
  • Style Tweaks: Delve into the aesthetic customizations of Inkdrop. Learn how to apply personal style changes and adjustments to the UI using the styles.less file, without the need to create an entire theme.


Create a theme

A tutorial on how to create a theme.

Read more

Create a plugin

A tutorial on how to create a plugin.

Read more

Access the database

Learn how to access the local database from plugins and external programs.

Read more

Create a blog using Astro

A tutorial on how to create a blog using Astro.

Read more

Data Access


Learn about the note model and the note class, which provide the core functionality for handling notes.


Notebooks are how notes are organized in Inkdrop and are commonly used to separate notes by category, project, or purpose.


Tags let you add keywords to notes, making them easier to find and browse when you've got a lot of them.


Files in Inkdrop are primarily used as image attachments that can be inserted into notes.


Provides convenient methods for managing documents in the local database.

Local HTTP server

The Inkdrop client app can open a simple HTTP server so that you can access the data from an external program easily.

Can you help us improve the docs? 🙏

The source of these docs is here on GitHub. If you see a way these docs can be improved, please fork us!