Skip to content
evex-devPublic

About

LINEJS is a JavaScript library for creating a LINE SelfBot.

Topics

Resources

Stars

464 stars

Watchers

6 watching

Forks

Repository files navigation

LINEJS

npm JSR JSR Score JSR Scope release workflow
技術者倫理 遵守済み

LINEJS

LINEJS is a JavaScript library for creating a LINE SelfBot.
❓ Question: Join our Discord community
🤖 AI Generated Documentation: DeepWiki - LINEJS

Installation

Supports Node.js (22.18+ or 24.11+), Bun, and Deno, with TypeScript types included.

npm install @evex-dev/linejs
pnpm add @evex-dev/linejs
yarn add @evex-dev/linejs
bun add @evex-dev/linejs

The library is also published to JSR as @evex/linejs for Deno and JSR users:

npx jsr add @evex/linejs
deno add jsr:@evex/linejs

For AI coding agents

Install LINEJS as a skill so Codex, Claude Code, and other coding agents know how to work with the library:

npx skills add evex-dev/linejs --skill linejs

You can git clone the latest development version and link it locally:

git clone https://github.com/evex-dev/linejs.git
cd linejs
pnpm install
pnpm run build
Documentation is https://linejs.evex.land

Migrating from v1

The v1 → v2 surface change is large enough that a step-by-step manual diff isn't worth maintaining. Install the agent skill (see Installation) and ask your coding agent to migrate the affected files — it will read the skill's roadmap, pull the current API shapes, and rewrite call sites against the live source.

Browser Support

For now, please use "https://esm.sh/@evex-dev/linejs".

Example is here.

LINEJS Types

Please see @evex-dev/linejs-types (JSR: @evex/linejs-types).
In short, TypeScript types and enums (such as ReactionType (0, 1, 2, 3), MessageType, etc.) are provided.

Provided Packages

  • client - (@evex-dev/linejs)
    • Client - LINE SelfBot Client
  • base - (@evex-dev/linejs/base)
    • BaseClient - LINE SelfBot API Client
  • call - (@evex-dev/linejs/call)
  • thrift - (@evex-dev/linejs/thrift)
    • Thrift - Thrift read/write
  • storage - (@evex-dev/linejs/storage)
    • BaseStorage - LINE Client Storage Type
    • MemoryStorage - LINE Client Memory Storage
    • FileStorage - LINE Client File Storage
  • cli - (@evex-dev/linejs-cli)
  • types - (@evex-dev/linejs-types)
    • All Types for LINE

Development

Requires Node.js 22.18+ (or 24.11+) and pnpm.

pnpm install
pnpm run build
pnpm run check
pnpm test

Authors

References

About

LINEJS is a JavaScript library for creating a LINE SelfBot.

Topics

Resources

Stars

464 stars

Watchers

6 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages