Skip to content

Commit 16a62c3

Browse files
Fix auto-tracking issues and add real-time stats to README
Co-authored-by: Lackadaisical-Security <205846242+Lackadaisical-Security@users.noreply.github.com>
1 parent 5302e4d commit 16a62c3

3 files changed

Lines changed: 23 additions & 5 deletions

File tree

.github/workflows/stats-tracker.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,10 @@ jobs:
3636
git config --local user.email "action@github.com"
3737
git config --local user.name "GitHub Action Stats Bot"
3838
git add REALTIME_STATS.json STATS_HISTORY.json REALTIME_STATS.md
39-
git diff --quiet && git diff --staged --quiet || git commit -m "📊 Auto-update repository statistics [skip ci]"
40-
git push
39+
# Only commit if there are changes
40+
if ! git diff --staged --quiet; then
41+
git commit -m "📊 Auto-update repository statistics [skip ci]"
42+
git push
43+
else
44+
echo "No changes to commit"
45+
fi

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# 📜 Voynich Manuscript Decipherment Research
22

3+
## Repository Statistics
4+
5+
![GitHub stars](https://img.shields.io/github/stars/Lackadaisical-Security/Voynich-Script-Decoded?style=flat-square)
6+
![GitHub forks](https://img.shields.io/github/forks/Lackadaisical-Security/Voynich-Script-Decoded?style=flat-square)
7+
![GitHub issues](https://img.shields.io/github/issues/Lackadaisical-Security/Voynich-Script-Decoded?style=flat-square)
8+
![GitHub contributors](https://img.shields.io/github/contributors/Lackadaisical-Security/Voynich-Script-Decoded?style=flat-square)
9+
![GitHub last commit](https://img.shields.io/github/last-commit/Lackadaisical-Security/Voynich-Script-Decoded?style=flat-square)
10+
![GitHub repo size](https://img.shields.io/github/repo-size/Lackadaisical-Security/Voynich-Script-Decoded?style=flat-square)
11+
12+
📊 **[View Detailed Real-Time Statistics](REALTIME_STATS.md)** | Updated automatically every 6 hours
13+
14+
---
15+
316
## Project Overview
417

518
This repository preserves the complete research logs, linguistic fieldwork, and methodological insights behind the **Lackadaisical Security Voynich Manuscript Decipherment Project** – a groundbreaking cryptographic and linguistic achievement representing the first complete decipherment of the 600-year-old Voynich Manuscript.

realtime_stats_tracker.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import subprocess
1111
import json
1212
import os
13-
from datetime import datetime, timedelta
13+
from datetime import datetime, timedelta, UTC
1414
from pathlib import Path
1515
import urllib.request
1616
import urllib.error
@@ -100,7 +100,7 @@ def get_local_git_stats(self):
100100
"last_commit_message": last_commit_msg,
101101
"current_branch": current_branch,
102102
"tracked_files": file_count,
103-
"timestamp": datetime.utcnow().isoformat() + "Z"
103+
"timestamp": datetime.now(UTC).isoformat().replace('+00:00', 'Z')
104104
}
105105
except Exception as e:
106106
print(f"⚠️ Error getting local git stats: {e}")
@@ -152,7 +152,7 @@ def collect_stats(self):
152152
print("🔍 Collecting repository statistics...\n")
153153

154154
stats = {
155-
"timestamp": datetime.utcnow().isoformat() + "Z",
155+
"timestamp": datetime.now(UTC).isoformat().replace('+00:00', 'Z'),
156156
"local": self.get_local_git_stats(),
157157
"github": self.get_github_stats()
158158
}

0 commit comments

Comments
 (0)