Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.
/ Ayzek Public archive

Bot for all social networks! (Vkontakte/Telegram/Discord/E.t.c) (Outdated)

License

Notifications You must be signed in to change notification settings

AyzekReborn/Ayzek

Repository files navigation

Ayzek

Greenkeeper badge

See it running:

  • Telegram
  • VKontakte
  • Discord (Bot name is Meteor-IT, it works bad, but only there, if you run bot on your own server everything will be fine)

How to run:

Initial setup:

  • Install redis
  • Configure bot in entryPoint.example.js
  • Copy entryPoint.example.js to entryPoint.js

Open a terminal and type the following commands:

  • git clone https://github.com/creeplays/framework packages
  • cd packages&&ln -s @meteor-it dist&&cd .. (TODO: Use framework packages from NPM)
  • npm install
  • npm run compile-dev (Ignore all errors and warnings in console; they will be fixed soon)

In a new terminal, type:

  • npm run run-dev

Next commands:

In first terminal, type:

  • npm run compile-dev

In another terminal, type:

  • npm run run-dev

How to write plugins:

  • Look at plugins/publicPlugins/FunPlugin and write other plugins in similar directories
  • Or, you can read hubot docs and write plugins for them in hubotPlugins

Features:

  • Compatible with multiple plugin formats, such as:
    • Venom bot
    • Hubot plugins
    • Lila
    • Ayzek's very own plugin format (The best one, by default)
  • Single process can have multiple Ayzek instances
  • Every Ayzek instance can handle multiple API connections
  • Powerful plugin system
  • Fast asynchronous state management
  • Hot plugin replacement (You can edit plugins without restarting the bot)
  • Compilable to single standalone JavaScript file

Supported API's:

Messenger Module Repository
Telegram (as bot) @meteor-it/xbot/api/tg Multirepo
Telegram (as user) @meteor-it/xbot/api/tgmtproto Multirepo
Vkontakte @meteor-it/xbot/api/vk Multirepo
Discord @meteor-it/xbot/api/ds Multirepo

Roadmap:

  • Clean-up repo
  • Better documentation
  • More APIs
  • I18N support with @meteor-it/templato
  • Plugin store
  • AyzekSDK upload
    • Ayzek-RED private release
    • Attachments in websocket API
  • UtilPlugin
    • Piping command output

About

Bot for all social networks! (Vkontakte/Telegram/Discord/E.t.c) (Outdated)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published