0CodeKit Documentation

website·Indexed 33 days ago

https://docs.0codekit.com

A developer platform providing APIs for PDF manipulation (conversion from HTML, Markdown, and DOCX, merging, encryption, and page removal), text processing (regex evaluation and keyword search), and temporary storage. It includes modules for running Python, Asynchronous Python, and JavaScript code, with native integrations for automation platforms like Make and n8n.

Tokens
49K
Snippets
217
Records
411
Agent score
61%

What's inside 0CodeKit

  1. Access 0CodeKit using the free tier

    0CodeKit offers a standard free account that provides 250 credits per month. Users receive these credits automatically upon signing up.
  2. Integrate 0CodeKit with low-code platforms

    0CodeKit provides a toolkit for extending the capabilities of low-code and no-code workflow automation platforms. It is currently available for use within Make, Zapier, and N8N. For developers requiring more flexibility, direct API access is also provided.
  3. Set up an AI Agent in n8n using 0CodeKit MCP

    After configuring the MCP Client node for 0CodeKit, attach a Chat Model node (such as ChatGPT, Gemini, or Claude) to the workflow. Provide the respective model provider's API key. Once configured, the AI Agent can answer questions about 0CodeKit endpoints, such as "what endpoints does 0CodeKit have to offer?"
  4. Use the 0CodeKit Online Code Editor

    0CodeKit provides an integrated online code editor accessible via the dashboard. It allows developers to run code in the same environment as a workflow, use an AI code generator specifically trained for 0CodeKit modules and APIs, and save code snippets for direct use in workflows without manual copying.
  5. Run JavaScript code using the Run JavaScript Code module

    The Run JavaScript Code module executes JavaScript code on the Bun runtime within a standard Linux environment. Bun is largely compatible with Node.js. The module automatically installs any npm packages used via require.

    Key constraints:

    • Code must be valid JavaScript (not TypeScript).
    • Use require instead of import to load packages to avoid syntax errors.
    • Top-level await is supported for asynchronous operations.
    • Console printing has no effect; data must be returned to the module.
  6. Manage code execution duration and timeouts

    Standard JavaScript and Python executors have a maximum execution limit of 180 seconds due to HTTP timeouts. For tasks requiring more time (up to 30 minutes), use the async Python executor, which notifies a webhook upon completion.
  7. Define variables in 0CodeKit code snippets

    To create variables in the 0CodeKit editor that can be mapped in a workflow, use the syntax "#{variableName}" (including the double quotes). These variables are automatically detected and presented as input fields when using the hosted executor module in Make.
    const myValue = "#{variableName}";
  8. Steps to install n8n community nodes from npm

    Follow these steps within the n8n interface to install the 0codekit nodes:

    1. Navigate to Settings > Community Nodes.
    2. Click the Install button.
    3. Enter @0codekit/n8n-nodes-0codekit in the npm package name field and confirm the installation.
  9. Migrate from /docs to /openapi.json for OpenAPI documentation

    The GET /docs endpoint for retrieving OpenAPI documentation is deprecated. Developers should use the /openapi.json endpoint instead to obtain the API specification.
    GET /openapi.json