Skip to content

A Telegram bot written in go to track goal progress in Google Sheets.

Notifications You must be signed in to change notification settings

rahulnpadalkar/GoalTrackerBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoalTrackerBot

Tracking your progress made easy.

Goal Tracker Bot is a telegram bot written in Go to track your goal progress.

Steps to get it up and running

  1. Creating a Google Cloud project.

    1. Navigate to Google Cloud Console Dashboard
    2. Create a new project and select it from the project selection screen.
    3. Navigate to IAM & admin section and create a service account.
    4. Download the service account credentials in JSON format and place it in the project root.
  2. Create a telegram bot account by chatting with BotFather

  3. Create a Google Spreadsheet and share it with the service account created in step 1.

  4. Finally create a .env file with below values

    1. PRIVATE_BOT_TOKEN - Token that BotFather returns you when you create a bot account.
    2. SPREADSHEET_ID - The part of the shared sheet url between d/ and /edit
    3. CREDS_LOC - Path to the credentials saved in step 1 substep 4.
  5. Run the bot using godotenv -f .env go run main.go

In case of any query please DM me on twitter. If you like it you can buy me a ☕

About

A Telegram bot written in go to track goal progress in Google Sheets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages