Giter VIP home page Giter VIP logo

coco's Introduction

CoCo

Code Coogs' discord main bot

Local Hosting

Download NodeJS v16.6+ at https://nodejs.org/en/

Download this repo in your desired directory

git clone https://github.com/LeftAutomated/CoCo.git

Change to the cloned directory

cd CoCo

Install node dependencies:

npm install

Change .env.sample to .env file and edit TOKEN, INSTAGRAM_WEBHOOK_ID, and so on...

To test the bot run

npm run test

To build the bot run

npm run build

Run this command in the terminal to activate the bot

npm run start

Server Hosting (24/7 for free)

Create a repl at https://replit.com
Template: Typescript

Download this repo in the shell

git clone https://github.com/LeftAutomated/CoCo.git

Make sure to pull all the files and folders out from CoCo folder

Install node dependencies and build in the shell:

npm install [email protected]

Add Secrets (environmental variables)

Token

Key: TOKEN

Value: YOUR TOKEN

INSTAGRAM_WEBHOOK_ID

Key: INSTAGRAM_WEBHOOK_ID

Value: YOUR INSTAGRAM_WEBHOOK_ID

and so on...

Use the Run button to activate the bot and server

Copy the url (ends with .repl.co)

Create a monitor at https://replit.com

Monitor Type: HTTP(s)

Friendly Name: ANY NAME

URL: PASTE URL (ends with .repl.co)

Check the email contact for monitor alerts

Contributing

  • Fork this repo
  • Commit changes to your fork
  • Create a pull request

MIT License

coco's People

Contributors

bnleft avatar eeveeboo avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

eeveeboo

coco'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.