Shudesu/line-harness-oss

L Harness — self-hosted LINE Official Account CRM: step messaging, broadcasts, forms and reservations, with MCP and TypeScript SDK. By Shudesu (野田修一).

What it solves

L Harness is an open-source CRM specifically designed for LINE Official Accounts. It provides a free alternative to expensive paid CRM tools, allowing users to manage customer relationships, automate messaging, and handle marketing campaigns without software licensing fees.

How it works

The system is built using a modern serverless architecture: a Cloudflare Worker (using Hono) handles APIs, LIFF, and Webhooks, while Cloudflare D1 (SQLite) serves as the database. A Next.js 15 dashboard provides the management interface. It integrates directly with the LINE Platform via the Messaging API.

Who it’s for

It is intended for businesses and marketers using LINE Official Accounts who want a full-featured CRM with advanced automation, multi-account management, and AI integration without the high monthly costs of proprietary software.

Highlights

  • Advanced Messaging: Supports step-by-step delivery (with minute-level control), broadcasts to segments, and countdown reminders.
  • CRM & Marketing: Includes lead scoring, user tagging, rich menu switching, and LIFF-based forms.
  • AI Integration: Comes with a built-in MCP server allowing Claude Code to manage conversations, create scenarios, and send messages using natural language.
  • Multi-Account Management: Supports managing multiple LINE accounts from one dashboard, including a traffic pool and automatic account switching if a BAN is detected.
  • Affiliate Tracking: Features a built-in ASP system for affiliate link generation, conversion tracking, and reward management.
  • Quick Setup: A dedicated CLI (create-line-harness) automates the entire deployment to Cloudflare in about 5 minutes.

Related

  • Project
  • Project
  • Project
  • Project