Skip to content

FrankieBot/Notion-Time-Tracker

 
 

Repository files navigation

Notion Time Tracker

a simple Time Tracker to record what you do directly in Notion

How to Install

create a new Apps Script Project https://developers.google.com/apps-script/guides/projects

create all needed files and paste the corresponding code in this repository (no smarter way to do it that I know of)

immagine AnimationPaste

create two databases in your notion one for Projects and one for Time Entries. You can duplicate them from the templates: https://www.notion.so/antefatti/8fd2973d50a04a31a87c2d2d4c30a582?v=c25feb747ed94abe95f2a0e4f8bd2ecd&pvs=4 and https://www.notion.so/antefatti/f380f49a80874f4db48d4649f0e03c15?v=b928d31cc2954200910e1f2f92a93049&pvs=4

Setup the Projects column in the Time Entries database as a Relation to YOUR new Projects database

AnimationRelation

Create a Notion Integration with read and write permissions and add it to the Projects database and to the Time Entries database. https://www.notion.so/my-integrations

Paste the integration secret in the setup.gs file

Paste the Project database id in the setup.gs file

it's easy to get the id if you're using Notion from the browser 64967fd-small-62e5027-notion_database_id

Paste the Time Entries database id in the setup.gs file

Set a name for the Webapp, "Notion Time Tracker" is a good one

Save and Run it once to Authorize the functions

AnimationAuth

Deploy the Webapp

AnimationDeploy

Revit Integration

To integrate timer buttons in Revit just use pyRevit https://pyrevitlabs.notion.site/pyRevit-Bundles-12323e3090904d9aa7cdc3d82095d3e3#66e7f21b16aa46e7814054eefc229160

Follow ABG tutorial here https://www.youtube.com/watch?v=JkNMGk_aXsg

You can download a sample pyrevit extension from the repository file

About

A Google App Script Web App for a Notion integrated Time Tracker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.5%
  • HTML 36.4%
  • GLSL 1.1%