Skip to content

macconnn/javaLineBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaLineBot Deployment

Introduction

Here I'll show you how to build your own Line Bot(connect to chatGPT)
with java spring boot just follow the steps below

Requirements

Usage Version
Spring boot 2.6.4
JDK 1.8
ngrok xxx
MySQL xxx

Clone source code

clone my repository to your local with git :)
https://github.com/macconnn/javaLineBot.git

First create your Line Developer account

Create project

GITHUB

Set a provider name

GITHUB

Select Messaging API channel

GITHUB

Enter some necessary basic information then create it

GITHUB

Create channel successful

GITHUB

Here's some important information to jot down


Basic Setting

Channel secret
Your user ID

Masseging API

Bot basic ID
Channel access token (press issue button)

Second get chatGPT API

chatGPT secret key
The secret key just only show once GITHUB

instll ngrok


Use ngrok can let LineBot connect to your own server
listening to 8080 port (server default port)

ngrok http 8080  

copy the Forwarding and paste to here
GITHUB

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages