MCPcopy Index your code
hub / github.com/datumbrain/niimbot-d110-api

github.com/datumbrain/niimbot-d110-api @v1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2 ↗ · + Follow
54 symbols 138 edges 14 files 1 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

NIIMBOT D110 Label Printer API

An API server to create a tag image for a text and print it through the NIIMBOT D110 label printer.

Requirements

  • Python >=3.10
  • Golang
  • Linux (macOS doesn't support Bluetooth sockets, not tested on Windows)

Getting started

  • In the niimprint directory, run

    shell pip3 install -r requirements.txt

  • Run golang server

    shell go run .

  • POST request on http://localhost:8769/print with payload in the following JSON format

    json { "text" : "MYLABEL", "qr_text" : "https://www.example.com/MYLABEL" }

cURL

curl -d '{"text": "MYLABEL", "qr_text": "https://www.example.com/MYLABEL"}' \
     -H "Content-Type: application/json" \
     -X POST \
     http://localhost:8769/print

Authors

Core symbols most depended-on inside this repo

_transceive
called by 13
niimprint/niimprint/printerclient.py
setStatus
called by 5
handler.go
from_bytes
called by 4
niimprint/niimprint/niimbotpacket.py
copyOutput
called by 2
python.go
WriteHeader
called by 2
log.go
_send
called by 2
niimprint/niimprint/printerclient.py
Validate
called by 1
models.go
HandleAuth
called by 1
handler.go

Shape

Method 24
Function 20
Struct 5
Class 4
TypeAlias 1

Languages

Python50%
Go50%

Modules by API surface

niimprint/niimprint/printerclient.py20 symbols
niimprint/niimprint/niimbotpacket.py5 symbols
log.go5 symbols
text/text.go4 symbols
tag/utils.go3 symbols
tag/tag.go3 symbols
models.go3 symbols
handler.go3 symbols
python.go2 symbols
print.go2 symbols
niimprint/niimprint/printencoder.py2 symbols
qr/qr.go1 symbols

For agents

$ claude mcp add niimbot-d110-api \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page