{"repo":"mistval/kotoba","free":true,"listed":false,"github":"https://github.com/mistval/kotoba","clone":"git clone https://github.com/mistval/kotoba.git","description":"A Discord bot for helping with learning Japanese.","language":"JavaScript","stars":197,"topics":["discord-bot","japanese","japanese-study","educational","japanese-language","bot","discord","nodejs"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Kotoba Kotoba is a project with several semi-independent pieces. Those are: Kotoba Discord Bot Kotobaweb.com frontend (React) Kotobaweb API (Express) In addition to the three main projects there are a few other directories: /common - Common code that is intended to be shared between node processes and browser. /node-common - Common code that is intended to be shared between node processes but not browser. /nginx - An nginx configuration for proxying HTTP requests to the frontend and API. /backup - Tools for backing up user data to Google Cloud Storage. /worker - A worker process for doing some heavy lifting for other processes whose event loops should not be blocked. /cloud functions - The code for HTTP endpoints that can be deployed as cloud functions and which some bot commands rely on. /resources - Dictionaries, fonts, images, and other non-code assets. Configuration After cloning the repo (recommend cloning with --depth=1 ), fill out config/config sample.js and rename it to config.js . Most of the configuration is optional, but some features may not work right, or not at all, if they are not configured. Developing Check the .nvmrc file for the suggested version of Node.js to use. Other minor/patch versions will likely work too. Discord bot After following the Configuration instructions above: Install MongoDB and start it on port 27017 (the default port). You can install it using the instructions for your operating system here. Or, use Docker: docker run -p 27017:27017 mon","default_branch":null,"files":null,"tree":[],"storefront":"/r/mistval","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mistval/kotoba/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}