Skip to content

Simple script to fetch a report of what I did yesterday to post in Slackbot for our daily standup report

License

Notifications You must be signed in to change notification settings

himynameisdave/toggl-yesterday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toggl-yesterday

Simple script to fetch a report of what I did yesterday to post in Slackbot for our daily standup report.

Running

This is pretty hardcoded to my own projects and needs, but I guess in case I forget I should write this down.

Clone repo and then create a .env file at the root with the following:

API_TOKEN=<YOUR_TOGGLE_API_TOKEN>

Then yarn install and you should be good to go. Run node index.js (or yarnpkg run go) to run the script.

The result is something that looks like this:

   C O P I E D    T O    T H E    C L I P B O A R D:

   =====>   👷 Building out that sweet new feature #4433
   =====>   👷 Resolving some CR feedback (#1234)
   =====>   👨‍👩‍👧‍👦 Feedback project meeting
   =====>   🍔 Lunch and learned

   ___T_
  | o o |
  |__-__|   Stop SLACKing off, human!
  /| []|\
()/|___|\()
   |_|_|
   /_|_\

And it will actually copy that to your clipboard. Pretty handy.


Created by Dave Lunny in 2017. Licensed under MIT 🖐

About

Simple script to fetch a report of what I did yesterday to post in Slackbot for our daily standup report

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published