@@ -47,6 +47,9 @@ def load_config():
4747 100 : "π Century of Code! 100 days! π\n You are unstoppable!"
4848 }
4949
50+ if "skip_github" not in config :
51+ config ["skip_github" ] = False # Default to checking GitHub
52+
5053 # Save updated config if any changes were made
5154 save_config (config )
5255
@@ -60,8 +63,21 @@ def save_config(data):
6063def prompt_config ():
6164 print ("π οΈ First-time setup: Let's configure your commit-checker!\n " )
6265
63- username = input ("π€ GitHub username: " ).strip ()
64- token = input ("π GitHub personal token (optional - hit Enter to skip): " ).strip ()
66+ print ("π GitHub Configuration:" )
67+ print (" 1. Track GitHub commits (requires username)" )
68+ print (" 2. Skip GitHub checks (local commits only)" )
69+
70+ github_choice = input ("π Enter 1 or 2 (default: 1): " ).strip ()
71+
72+ if github_choice == "2" :
73+ username = None
74+ token = None
75+ skip_github = True
76+ print ("β
GitHub checks disabled - focusing on local commits only" )
77+ else :
78+ username = input ("π€ GitHub username: " ).strip ()
79+ token = input ("π GitHub personal token (optional - hit Enter to skip): " ).strip ()
80+ skip_github = False
6581
6682 # Smart path detection
6783 print ("\n π Setting up local development folder..." )
@@ -113,6 +129,7 @@ def prompt_config():
113129 config = {
114130 "github_username" : username ,
115131 "github_token" : token if token else None ,
132+ "skip_github" : skip_github ,
116133 "local_paths" : paths ,
117134 "repo_folder" : repo_folder ,
118135 "output" : output_mode ,
0 commit comments