Skip to content

Simple LINE Chatbot for recording my personal expenses and save to google sheet.

Notifications You must be signed in to change notification settings

0736b/LINE-RUB-LINE-JAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


LINE-RUB-LINE-JAI (รายรับ-รายจ่าย)
LINE Chatbot for recording my personal expenses and save to google sheet.

Using

Typing command to LINE chatbot

  • รับ {จำนวนเงิน} {คำอธิบาย} for recording income.
  • จ่าย {จำนวนเงิน} {คำอธิบาย} for recording expense.

Running on local

  • install ngrok and run ngrok http 5000
  • setup your LINE Developer for Messaging API.
  • setup your Google Sheet and API on Google cloud console.
  • pip install requirements.txt
  • create .env file and put your key from LINE and Google like .env.example
  • python main.py

Deploy on render.com

  • new "Web Service" and paste this repo link.
  • environment add variable key PYTHON_VERSION value 3.11.0
  • add secret file with filename .env and paste your content in .env file.
  • build command: pip install -r requirements.txt
  • start command: gunicorn main:app

About

Simple LINE Chatbot for recording my personal expenses and save to google sheet.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published