gitwtfhub

wtf is tagpilot-lm?

entropyhertz/tagpilot-lm — explained in plain English

Analysis updated 2026-05-18

0HTMLAudience · vibe coderComplexity · 3/5LicenseSetup · moderate

TL;DR

A Windows-focused fork of TagPilot for captioning images using a locally run AI model through LM Studio, no paid API needed.

Mindmap

mindmap
  root((TagPilot LM))
    What it does
      Captions images
      Uses local model
      Windows first
    Tech stack
      HTML
      JavaScript
      LM Studio
    Use cases
      Dataset captioning
      LAN captioning
    Audience
      Vibe coders
      Model trainers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Caption a folder of training images locally using a vision model running in LM Studio, without sending images to a paid API.

REASON 2

Batch-generate and clean up image captions for training a custom character or style model.

REASON 3

Access a local LM Studio captioning setup from another device on the same private network.

What's in the stack?

HTMLJavaScriptLM Studio

How it stacks up

entropyhertz/tagpilot-lm100/rutgers-pbl-dining-2015a15n/a15n_old
Stars0
LanguageHTMLHTMLHTML
Last pushed2015-12-012016-06-18
MaintenanceDormantDormant
Setup difficultymoderateeasyeasy
Complexity3/51/51/5
Audiencevibe codergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires LM Studio installed locally with a vision-capable model loaded.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

TagPilot-LM is a single-file browser tool for captioning and tagging images, built around AI image datasets used to train custom image models. It is a fork of an existing project called TagPilot, and this version is aimed mainly at Windows users who want to run captioning locally on their own machine instead of paying for a hosted AI service. The core idea is that you run LM Studio, a program that lets you load and run vision capable AI models on your own computer, and TagPilot-LM talks to that local model over your own network connection to generate captions for a folder of images. Because everything runs locally by default, your images do not leave your PC unless you choose to use one of the other supported providers, which include Gemini, Grok, OpenAI, Claude, vLLM, DeepDanbooru, and WD1.4, carried over from the original project. To get started on Windows you start the LM Studio server, then start a small local web server from the TagPilot-LM folder, open the tool in a browser, connect to LM Studio, detect which model is loaded, test the setup on one image, and only then run captioning across the whole batch. There is also an optional mode for reaching the LM Studio server from a different device on the same private network, though the README is careful to warn that this opens the server up more broadly and should only be used on a trusted network, never over the open internet. Other features include automatic detection of the exact model being used, checks that catch bad or malformed captions before they are accepted, and a way to insert a fixed identity trigger word into exported files exactly once, so it cannot be duplicated or misspelled. The project has no stars yet and is released under the MIT license, inherited from the original TagPilot project it builds on.

Yoink these prompts

Prompt 1
Walk me through setting up LM Studio and TagPilot-LM on Windows to caption a folder of images locally.
Prompt 2
Help me safely configure the optional LAN mode so I can run TagPilot-LM from my laptop while LM Studio runs on my desktop.
Prompt 3
Explain how the trigger token export feature works so I don't duplicate it in my training pipeline.
Prompt 4
Show me how to test one image before running Caption All on my full dataset in TagPilot-LM.

Frequently asked questions

wtf is tagpilot-lm?

A Windows-focused fork of TagPilot for captioning images using a locally run AI model through LM Studio, no paid API needed.

What language is tagpilot-lm written in?

Mainly HTML. The stack also includes HTML, JavaScript, LM Studio.

What license does tagpilot-lm use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is tagpilot-lm to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is tagpilot-lm for?

Mainly vibe coder.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.