Coder Social home page Coder Social logo

manucanedo / kahlua-2021 Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 19.31 MB

The interface between Twitch chat and Lua.

License: Apache License 2.0

Makefile 4.36% C++ 67.61% Lua 27.24% C 0.78%
twitch-bot cpp-network cpp-17 asio lua asynchronous lightweight

kahlua-2021's Introduction

Kahlua Bot

The interface between Twitch chat and Lua

Kahlua is a lightweight local Twitch bot written in C++. The behaviour of commands is defined in a lua script. This allows for easy expansion and customization whithout the need to recompile. Commands can be implemented during live stream as soon as Twitch chat requests them.

Dependencies

  • ASIO STANDALONE
    sudo apt-get install -y libasio-dev
  • LUA 5.1
    sudo apt-get install -y lua5.1

Getting Started

  1. Satisfy dependencies.
  2. Clone and 'make'. If necessary, modify the include paths for lua5.1 in the makefile.
  3. Modify the '_oauth' (twitch token) and '_botname' (account name) variables in config.lua. Point the bot to the desired channel modifying '_channel'.
  4. Implement commands in commands.lua

Development Checklist

  • Net framework: client and connection interfaces (ASIO).
  • Implemented initial bot that receives and displays Twitch Chat.
  • Embedding Lua: configuration params obtained from 'config.lua' file.
  • Integrated FLITE text to speech generator.
  • Implemented customs params that trigger lua scripts.

Stay in touch





Science-fiction Galaxy - AI generated (vqgan+clip)

kahlua-2021's People

Contributors

manucanedo avatar manueltabares avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.