Code Monkey home page Code Monkey logo

metaluvit's Introduction

metaluvit

Lua (luvit) discord bot for ... things.

Old relay bot can be found at https://github.com/Metastruct/metaluvit/tree/master-preneutering New relay bot is in https://github.com/Metastruct/node-metaconcord

1. Connections

  • Discord: Discordia library
  • Web server: None

2. Usage

None

3. Viewing metaluvit daemon output (on metastruct)

You can view the daemon output through the rocket web interface or directly with this link.

This console can also be used for interactive purposes.

To manually restart luvit: run gserv luvit_update

3.1. Hosting

Metaluvit is running on r8.metastruct.net (g2.metastruct.net) presently on a separate user account (metaluvit) for isolation.

In SSH (as srcds) you can use $ gserv showluvit to view the process output on srcds user account. In metaluvit you have to access the named pipe to view the output.

Daemon starts on server start automatically. Daemon uses the same "daemon" process that gserv srcds uses, which multiplexes the terminal to all connecting clients.

4. Committing

Each commit restarts daemon with updated code. There is no other interface presently for simplicity.

The commit webhook in this repo accesses nginx fastdl on meta2 which uses a very restricted sudo to execute an update command as the metaluvit user account, which does a git pull and kills the process.

5. Test environment setup

Get luvit from https://luvit.io. Set up a custom test discord server and bot credentials and run main.lua.

Roadmap

  • Minimal automation of things like server icon changes

Credits

  • Check commit history

metaluvit's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

techbot121

metaluvit's Issues

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.