An unofficial TypeScript client for the MAX messenger, providing WebSocket-based real-time communication features such as messaging, chats, contacts, and account management.

Stars

116

7-day growth

No data

Forks

9

Open issues

0

License

ISC

Last updated

2026-07-14

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It offers a comprehensive TypeScript wrapper around the MAX messenger's internal API, enabling developers to build custom bots and integrations with minimal setup.

Who it is for

  • TypeScript developers building bots for MAX messenger
  • Developers needing real-time messaging features via WebSocket
  • Developers looking for an unofficial client to experiment with MAX messenger API

Use cases

  • Building an automated reply bot for MAX messenger
  • Integrating MAX messenger into a custom application as a chat platform
  • Managing contacts and groups programmatically
  • Monitoring incoming messages and performing actions based on content

Strengths

  • Supports multiple event types (message_send, edit, delete)
  • Includes full account management (profile, avatar, bio)
  • Handles file and photo attachments
  • Provides clear documentation with examples

Considerations

  • Unofficial and not affiliated with MAX/VK, may break with API changes
  • Requires manual token extraction from browser DevTools
  • Node.js version requirement >=24 limits compatibility

README quick start

UMax

Неофициальный TypeScript-клиент для мессенджера MAX.

Подключение по WebSocket, события входящих сообщений, чаты, контакты и профиль.

Пакет неофициальный и не связан с MAX / VK.

Требования

  • Node.js ≥ 24

Установка

npm install @ounezz/umax

Быстрый старт

  1. Возьми токен из web.max.ru (DevTools → Console) — скрипт в console_code/get_token.js.
  2. Положи его в .env:
TOKEN=сюда_токен
  1. Запусти:
import "dotenv/config";
import { UMax } from "@ounezz/umax";

const umax = new UMax(process.env.TOKEN);

umax.on("message_send", async ({ sender_id, message }) => {
  if (sender_id === umax.account?.id) return;
  await message.reply(`принял: ${message.text}`);
});

await umax.connect();
console.log(`connected as ${umax.account?.first_name}`);

dotenv ставится отдельно: npm install dotenv.

Возможности

  • Account — профиль, смена имени / описания / аватара
  • Eventsmessage_send, message_edit, message_delete
  • Messages — send / reply / edit / delete / read / react, фото и файлы
  • Chats — список, лички и группы, участники, создание группы
  • Contacts — список, add / remove / block / unblock

Документация

Полное описание API — в папке documentation/:

  1. УстановкаЗапуск бота
  2. Account
  3. Events
  4. Messages
  5. Chats
  6. Contacts

Description

TypeScript-клиент для мессенджера MAX

Related repositories

Similar projects matched by category, topics, and programming language.

TanStack
Featured
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web DevelopmentFrontend Frameworks
14,861
vercel-labs
Featured
vercel-labs GitHub avatar

scriptc

scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.

Developer ToolsCode Quality & Build
1,985
Jakubantalik
Featured
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI & Machine LearningAI Agents
1,191