https://github.com/rayriffy/maimai-song-randomizer
Google Assistant bot
https://github.com/rayriffy/maimai-song-randomizer
dialogflow express google-assistant i18n javascript maimai nodejs request-promise
Last synced: about 1 year ago
JSON representation
Google Assistant bot
- Host: GitHub
- URL: https://github.com/rayriffy/maimai-song-randomizer
- Owner: rayriffy
- License: mit
- Created: 2018-05-11T14:23:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-09T15:49:19.000Z (almost 7 years ago)
- Last Synced: 2025-03-17T08:40:47.381Z (over 1 year ago)
- Topics: dialogflow, express, google-assistant, i18n, javascript, maimai, nodejs, request-promise
- Language: JavaScript
- Homepage: https://l.rayriffy.com/gassistant
- Size: 1.72 MB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
maimai Song Randomizer
======================
[](https://l.rayriffy.com/gassistant)





**maimai Song Randomizer** is a open source bot on [Google Assistant](https://assistant.google.com). It helps you random 5 songs at the same time on your prefered category while you waiting in line to play *maimai* .
When user trigger request, maimai Song Randomizer will call private API to get random data from [database](https://github.com/rayriffy/maimai-json) and send an output to users.
This bot can serve as an example for developer who making Google Assistant bot on *self-hosted NodeJS* with [DialogFlow](https://api.ai) Fulfillments by using *webhooks*.
You can talk with your Google Assistant on Android and iOS by saying *”Talk to maimai Song Randomizer”*
Requirements
------------
- Node 6.14.2+
Installing
------------
### Clone the git repository
```
$ git clone https://github.com/rayriffy/maimai-song-randomizer.git
```
### Install Package
```
$ npm install
```
### (Optional) Configuration
You can config your application by editing `config` variable in [index.js](https://github.com/rayriffy/maimai-song-randomizer/blob/master/index.js#L19)
### Start express server
```
$ node index.js
```
Your webhook will running on port **3000** by default
Contributing
------------
We are accepting your contribution by open pull request to this repository. If you want to contribute to localization, please see [LOCALIZATION.md](LOCALIZATION.md)
Licence
-------
**maimai Song Randomizer** is licensed under AGPL version 3 or later. Please see [the licence file](LICENCE) for more information. [tl;dr](https://tldrlegal.com/license/gnu-affero-general-public-license-v3-(agpl-3.0)) if you want to use any code, design or artwork from this project, attribute it and make your project open source under the same licence.