All Projects → kkdai → linenotify

kkdai / linenotify

Licence: MIT license
Template for LINE Notify service in Golang

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to linenotify

ghe-line-notify
LINE Notify Gateway for Github Enterprise.
Stars: ✭ 19 (+5.56%)
Mutual labels:  line, line-notify
clova-cek-sdk-python
SDK of the Clova CEK for Python
Stars: ✭ 19 (+5.56%)
Mutual labels:  line
react-native-d3multiline-chart
Animated Android and iOS multiline/line/scatterPoint chart based on d3.js 🤘😎🤘
Stars: ✭ 43 (+138.89%)
Mutual labels:  line
line
Development repository for the line cookbook
Stars: ✭ 96 (+433.33%)
Mutual labels:  line
atom-inline-blame
Atom package to display blame inline
Stars: ✭ 23 (+27.78%)
Mutual labels:  line
LINE-Source
Line Application Source
Stars: ✭ 43 (+138.89%)
Mutual labels:  line
Lcnn
LCNN: End-to-End Wireframe Parsing
Stars: ✭ 234 (+1200%)
Mutual labels:  line
CHRLINE
LINE Chrome API
Stars: ✭ 41 (+127.78%)
Mutual labels:  line
text-sdk-php
PHP SDK to send messages with CM.com
Stars: ✭ 18 (+0%)
Mutual labels:  line
LINE-FreshBot
LINE Bot
Stars: ✭ 23 (+27.78%)
Mutual labels:  line
gcf-line-devbot
LINE Flex 開發人員工具
Stars: ✭ 32 (+77.78%)
Mutual labels:  line
LineTimeline
Line Timeline API
Stars: ✭ 12 (-33.33%)
Mutual labels:  line
pyne
LINE for Python
Stars: ✭ 18 (+0%)
Mutual labels:  line
jsline-api
[Deprecated] Unofficial Naver Line API for JS
Stars: ✭ 14 (-22.22%)
Mutual labels:  line
line-example-bot-tiny-php
Line Bot 基礎範例程式碼教學 (PHP) - 輕量版 LINEBotTiny.php
Stars: ✭ 58 (+222.22%)
Mutual labels:  line
Laue
🖖📈 Modern charts for Vue 2.0
Stars: ✭ 245 (+1261.11%)
Mutual labels:  line
line-bot-sdk
🍥 Haskell向けLINE Messaging API SDK
Stars: ✭ 31 (+72.22%)
Mutual labels:  line
gab-cmdline
A GABStudios Java library to help with command line parsing.
Stars: ✭ 12 (-33.33%)
Mutual labels:  line
comment-box.nvim
✨ Clarify and beautify your comments using boxes and lines.
Stars: ✭ 91 (+405.56%)
Mutual labels:  line
regl-line
Flat 2D and 3D line rending with Regl for WebGL
Stars: ✭ 44 (+144.44%)
Mutual labels:  line

LineNotify template : A simple Golang Line Notify Bot template

Join the chat at https://gitter.im/kkdai/linenotify

GoDoc Build Status

goreportcard.com

This is a template to help you if you want to implement Line Notify. It help us follow:

  • Authenication with Line Notify server
  • Help you to access token from Line Notify server
  • A notify entry point to notify Line Notify server

You can just try it or fork this repo to developing your own Line Notify server in Go.

Just want to try it?

  • Click this button and remember to login your Line account for authenication this notify.

  • Select one on one notification, click "Agreed and Connected"
  • It will help you to add friend with "Line Notify".



Installation for developer

1. Got A Line Bot API devloper account

Register your Line Notify Account

  • You need to fill all related info you need.
  • For "Service Site" and "Callback URL", just fill arbitrary web site with "http://xxx.xxx.com"
  • Remember you need "Client ID" and "Client Secret" for Heroku setup.

2. Deploy to your Heroku account

Deploy

Remember your heroku ID.

3. Config your Heroku Variables

Please config three variables as follow:

  • CallbackURL: Callback URL which should be https://YOUR_HEROKU_APPID.herokuapp.com/callback
  • ClientID: Client ID from Line Notify page
  • ClientSecret: Client Secret from Line Notify page

3. Fork this project and add git remote to heroku.

This is example of my heroku settup.

In your fork repo, path

  • git remote add heroku https://git.heroku.com/YOUR_ID.git

4. Update your related code.

  • Update govendor setting.
    • Install govendor
      • go get -u github.com/kardianos/govendor
    • Update root path
      • rm -Rf vendor
      • govendor init

5. Modify your code

6. Push to Heroku

  • git push -u heroku HEAD



Further Work:

If you want to implement business Line Notify service, you will need implement followsing after this repo.

  • Implement a database service to store all users' token and code.
  • Because Heroku server will force to shudown 6 hours per day, you will need to implement a dedicate server to notify Line Notify service once the notification happen anytime.

If you still have any questions, please file your issue and let me know.

Reference

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].