New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-line-bot

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-line-bot

LINE Bot template generator for your preferred language

  • 0.1.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

LINE Bot template generator for yeoman

This repository contains generator of LINE Bot for yeoman. To use the package, install yeoman and the generator.

npm install -g yo
npm install -g generator-line-bot

This is optimized for Visual Studio Code, I strongly recommend using Visual Studio Code as editor. You can install it from Visual Studio Code download.

How to use

  1. To generate the application as "MyBot" with C# :
yo line-bot MyBot --csharp
  1. It also supports other languages. Change the last option
  • go
  • nodejs
  • python
  1. It will ask you for ChannelSecret and Token. Pass the correct values.

  2. Open the generated folder via VSCode and you are good to go.

  3. Visual Studio Code will let you know which extension you should install. Follow the instruction and install them as needed.

  4. Simply press F5 will start debug the application.

Other things you need to know

C#

  • make sure you install C# extension
  • it is Azure Function v2 application and default port is 7071.
  • make sure you install dotnet core 2
  • make sure you install azure function tools for dotnetcore. For further information, see here

golang

  • make sure you installed golang
  • make sure you install Go extension.
  • make sure you configured PATH to go command.
  • by default, it uses port 8000 when you debug locally. See .vscode/launch.json for detail.

python

  • makre sure you installed python
  • make sure you install Python extension
  • make sure you configured PATH to python and pip command.
  • by default, it uses port 8000 when you debug locally. see app.py for more detail.
arg_parser.add_argument('-p', '--port', default=8000, help='port')

Other resources

I will write detail step by step blog later.

Keywords

FAQs

Package last updated on 09 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc