Socket
Socket
Sign inDemoInstall

linengrok

Package Overview
Dependencies
46
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    linengrok

LINE BOTをngrokで起動させたあとに、Webhook URLを変更するの面倒ですよね? 一気にやってくれます。


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

linengrok

LINE BOTをngrokで起動させたあとに、Webhook URLを変更するの面倒ですよね? 一気にやってくれます。

インストールの仕方

$ npm i -g linengrok

使い方

$ linengrok http <PORT> -t <アクセストークン>

以下のようになります。

$ linengrok http 3000 -t xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

これでngrokでサーバーを起動させると、そのURLにLINE BOTのエンドポイントが変わります。

-pオプションでパス指定ができます。デフォルトだと/webhookになります。

  • パス指定の例
$ linengrok http 3000 -t xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -p /linebot

類似ツール

linebotcliで同じようなことができます。

$ linebotcli ngrok ~~~

のコマンドにマージしていきます。

Keywords

FAQs

Last updated on 03 Jul 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc