<R1 Create SDK />

Unofficial community JavaScript/TypeScript SDK for building R1 plugins

r1-create

Unofficial community JavaScript/TypeScript SDK for building R1/RabbitOS plugins with full hardware access, AI integration, and mobile optimization.

Features

  • 🔧
    Hardware Access Accelerometer, touch simulation, PTT button, scroll wheel
  • 💾
    Storage Secure and plain storage with automatic Base64 encoding
  • 🤖
    LLM Integration Direct interaction with R1's AI system + text-to-speech
  • 🌐
    Web Search SERP API integration for real-time information
  • 📱
    Optimized UI Purpose-built for 240x282px display with hardware acceleration

Installation

npm install r1-create
        
bash

Basic Usage

Initialize the SDK and interact with the RabbitOS environment.

import { R1Create } from 'r1-create';

await R1Create.init({
    verbose: true,
    logger: console.log
});

// Use LLM
const response = await R1Create.AI.prompt("What is the meaning of life?", { voice: true });

// Listen to hardware buttons
R1Create.Hardware.on('ptt_down', () => {
    console.log("Button pressed!");
});
ts

Deploying Your Creation

Once you have built your standalone web app using the hardware SDK, you can generate deployment metadata to load it onto your device seamlessly or submit it to the Boondit Store.

Open Payload Generator

Generate your r1 metadata payload to share or sideload locally via QR Code.