Coder Social home page Coder Social logo

dmitriykurto / covalent-discord-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zaebee/covalent-discord-bot

0.0 0.0 0.0 1.94 MB

License: GNU General Public License v3.0

Go 35.07% JavaScript 13.06% Vue 37.25% TypeScript 7.45% SCSS 4.17% Python 2.49% Shell 0.52%

covalent-discord-bot's Introduction

Memes bot

A bot that is listening discord channel and stores messages with attachments (memes) on frontend website.

Build Setup

Copy and update settings in .env.example

  set DISCORD_TOKEN=<bot_token>
  set ELASTICSEARCH_URL=localhost:9200
  set FRONTEND_URL=https://covalent.me-mes.site
  set IMAGE_HASH_URL=localhost:8000

Frontend

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

Backend installation

After that you can run discord bot to listen messages.

# install dependencies for python script that checks imageHash. 
$ pip install -r requirements.txt

# run imageHash service.
$ cd api; sanic index.app -H 127.0.0.1 -p 8000

# run discord bot
$ cd bot; go run main.go

covalent-discord-bot's People

Contributors

zaebee avatar dependabot[bot] avatar dmitriykurto 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.