An open API service indexing awesome lists of open source software.

https://github.com/kkdai/linebot-arxiv

Search arXiv paper article on LINE Bot with Google Gemini Pro
https://github.com/kkdai/linebot-arxiv

arxiv gemini-pro golang linebot

Last synced: 5 months ago
JSON representation

Search arXiv paper article on LINE Bot with Google Gemini Pro

Awesome Lists containing this project

README

          

ChatGPT LINE Bot for Arxiv
==============

[![GoDoc](https://godoc.org/github.com/kkdai/linebot-arxiv.svg?status.svg)](https://godoc.org/github.com/kkdai/linebot-arxiv) ![Go](https://github.com/kkdai/linebot-arxiv/workflows/Go/badge.svg) [![goreportcard.com](https://goreportcard.com/badge/github.com/kkdai/linebot-arxiv)](https://goreportcard.com/report/github.com/kkdai/LineBotTemplate)

Featues
=============

## Menu

Show

Press "menu" to display menu

### Newest

Show the newest article on arXiv.

### Random Articles

Show the random 10 articles on arXiv.

### My Favs

Fav

Show your favorite articles list.

## Save your arXiv link to Favorite list

Save

Save to your fav list.

## Query keywords on arXiv

Query

Query keywords to find articles on arXiv.

How to build your own LINE Bot?
=============

### To obtain a LINE Bot API developer account

Make sure you are registered on the LINE developer console at if you want to use a LINE Bot.

Create a new Messaging Channel and get the "Channel Secret" on the "Basic Setting" tab.

Issue a "Channel Access Token" on the "Messaging API" tab.

Open the LINE OA manager from the "Basic Setting" tab and go to the Reply setting on the OA manager. Enable "webhook" there.

### To obtain an Gemini API token

Register for an account on the Google AI Studio website at .

Once you have an account, you can find your API token in the account settings page.

### Deploy this on Web Platform

You can choose [Heroku](https://www.heroku.com/) or [Render](http://render.com/)

#### Deploy this on Heroku

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

- Input `Channel Secret` and `Channel Access Token` and `ChatGptToken`.

#### Deploy this on Rener

[![Deploy to Render](http://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy)

- Input `Channel Secret` and `Channel Access Token` and `ChatGptToken`.

License
---------------

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.