Skip to content

Files

Latest commit

c7db3a7 · Apr 2, 2025

History

History
37 lines (27 loc) · 970 Bytes

samples.mdx

File metadata and controls

37 lines (27 loc) · 970 Bytes
title description
Samples
Working examples of K21 SDK implementation

Overview

The K21 Node.js SDK comes with a comprehensive sample project that demonstrates various features and implementation patterns. This sample repository serves as a practical reference for integrating K21 into your applications. The official sample repository is available at kontext21/k21-node-sample

Getting Started with Examples

  1. Clone the repository:
git clone https://github.com/kontext21/k21-node-sample.git
  1. Install dependencies:
npm install
  1. Run the examples:
npm run start

Available Examples

The sample repository includes implementations of:

  • Basic screen capture
  • OCR processing
  • Vision model integration
  • File-based capture
  • Custom processor configuration

Each example is documented with comments and includes configuration options for different use cases.