nakanoasaservice / bottender-mojiokoshi

Bot開発フレームワークBottenderとGoogle Cloud VisionとSpeech APIを用いた画像・文章の文字起こしをするBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project was bootstrapped with Bottender init script.

Sending Feedback

Always feel free to open an issue to Bottender repository.

Configuration

The bottender.config.js File

Bottender configuration file. You can use this file to provide settings for the session store and channels.

The .env File

Bottender utilizes the dotenv package to load your environment variables when developing your app.

To make the bot work, you must put required environment variables into your .env file.

Available Scripts

In the project directory, you can run:

npm run dev

Runs the app in development mode.
The bot will automatically reload if you make changes to the code.
By default, server runs on http://localhost:5000 and ngrok runs on http://localhost:4040.

To run in Console Mode, provide the --console option:

npm run dev -- --console
yarn dev --console

npm run build

Build the app from TypeScript to JavaScript for production usage.

npm start

Runs the app in production mode.
By default, server runs on http://localhost:5000.

To run in Console Mode, provide the --console option:

npm start -- --console
yarn start --console

npm run lint

Runs the linter rules using Eslint.

npm test

Runs the test cases using Jest.

Learn More

To learn Bottender, check out the Bottender documentation.

For more examples, see Bottender examples.

About

Bot開発フレームワークBottenderとGoogle Cloud VisionとSpeech APIを用いた画像・文章の文字起こしをするBot


Languages

Language:TypeScript 71.6%Language:JavaScript 28.4%