Skip to content

Commit 0e97d1a

Browse files
Merge pull request #2 from Lackadaisical-Security/copilot/fix-auto-tracking-issues
Fix auto-tracking workflow and add real-time stats to README
2 parents 685d641 + 23191bb commit 0e97d1a

7 files changed

Lines changed: 162 additions & 9 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

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# Generated statistics files (should be regenerated on each run)
1+
# Generated files that should be local-only
22
FILE_CHECKSUMS.json
33
FILE_CHECKSUMS.md
44
GIT_ACTIVITY_LOG.json
5-
REALTIME_STATS.json
6-
REALTIME_STATS.md
7-
STATS_HISTORY.json
85
stats_tracker.log
96

107
# Python

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.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"timestamp": "2026-01-04T23:06:02.761107Z",
3+
"local": {
4+
"commit_count": 4,
5+
"unique_contributors": 2,
6+
"last_commit_date": "2026-01-04 23:04:23 +0000",
7+
"last_commit_message": "Remove stats files from .gitignore to enable auto-tracking workflow",
8+
"current_branch": "copilot/fix-auto-tracking-issues",
9+
"tracked_files": 63,
10+
"timestamp": "2026-01-04T23:06:02.771988Z"
11+
},
12+
"github": {}
13+
}

REALTIME_STATS.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Repository Statistics - Real-Time
2+
3+
**Last Updated:** 2026-01-04T23:06:02.761107Z
4+
5+
## 📊 Current Statistics
6+
7+
### Local Repository
8+
9+
| Metric | Value |
10+
|--------|-------|
11+
| 🌿 Current Branch | `copilot/fix-auto-tracking-issues` |
12+
| 📝 Total Commits | 4 |
13+
| 👥 Contributors | 2 |
14+
| 📄 Tracked Files | 63 |
15+
| 🕐 Last Commit | 2026-01-04 23:04:23 |
16+
| 💬 Last Message | Remove stats files from .gitignore to enable auto-tracking workflow |
17+
18+
---
19+
20+
## 📈 Badges
21+
22+
Add these to your README.md:
23+
24+
```markdown
25+
<img src="https://img.shields.io/badge/commits-4-orange?style=flat-square">
26+
```
27+
28+
---
29+
30+
**Generated by:** Real-Time Repository Stats Tracker
31+
**By:** Lackadaisical Security 2025 - Aurora (Claude)
32+
**Repository:** https://github.com/Lackadaisical-Security/Voynich-Script-Decoded

STATS_HISTORY.json

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
[
2+
{
3+
"timestamp": "2026-01-04T23:00:31.250529Z",
4+
"local": {
5+
"commit_count": 2,
6+
"unique_contributors": 2,
7+
"last_commit_date": "2026-01-04 22:58:59 +0000",
8+
"last_commit_message": "Initial plan",
9+
"current_branch": "copilot/fix-auto-tracking-issues",
10+
"tracked_files": 60,
11+
"timestamp": "2026-01-04T23:00:31.260788Z"
12+
},
13+
"github": {}
14+
},
15+
{
16+
"timestamp": "2026-01-04T23:02:09.148262Z",
17+
"local": {
18+
"commit_count": 2,
19+
"unique_contributors": 2,
20+
"last_commit_date": "2026-01-04 22:58:59 +0000",
21+
"last_commit_message": "Initial plan",
22+
"current_branch": "copilot/fix-auto-tracking-issues",
23+
"tracked_files": 60,
24+
"timestamp": "2026-01-04T23:02:09.158817Z"
25+
},
26+
"github": {}
27+
},
28+
{
29+
"timestamp": "2026-01-04T23:02:46.162155Z",
30+
"local": {
31+
"commit_count": 2,
32+
"unique_contributors": 2,
33+
"last_commit_date": "2026-01-04 22:58:59 +0000",
34+
"last_commit_message": "Initial plan",
35+
"current_branch": "copilot/fix-auto-tracking-issues",
36+
"tracked_files": 60,
37+
"timestamp": "2026-01-04T23:02:46.172359Z"
38+
},
39+
"github": {}
40+
},
41+
{
42+
"timestamp": "2026-01-04T23:03:33.215718Z",
43+
"local": {
44+
"commit_count": 3,
45+
"unique_contributors": 2,
46+
"last_commit_date": "2026-01-04 23:03:16 +0000",
47+
"last_commit_message": "Fix auto-tracking issues and add real-time stats to README",
48+
"current_branch": "copilot/fix-auto-tracking-issues",
49+
"tracked_files": 60,
50+
"timestamp": "2026-01-04T23:03:33.226449Z"
51+
},
52+
"github": {}
53+
},
54+
{
55+
"timestamp": "2026-01-04T23:04:02.685777Z",
56+
"local": {
57+
"commit_count": 3,
58+
"unique_contributors": 2,
59+
"last_commit_date": "2026-01-04 23:03:16 +0000",
60+
"last_commit_message": "Fix auto-tracking issues and add real-time stats to README",
61+
"current_branch": "copilot/fix-auto-tracking-issues",
62+
"tracked_files": 60,
63+
"timestamp": "2026-01-04T23:04:02.696510Z"
64+
},
65+
"github": {}
66+
},
67+
{
68+
"timestamp": "2026-01-04T23:04:53.950927Z",
69+
"local": {
70+
"commit_count": 4,
71+
"unique_contributors": 2,
72+
"last_commit_date": "2026-01-04 23:04:23 +0000",
73+
"last_commit_message": "Remove stats files from .gitignore to enable auto-tracking workflow",
74+
"current_branch": "copilot/fix-auto-tracking-issues",
75+
"tracked_files": 63,
76+
"timestamp": "2026-01-04T23:04:53.961875Z"
77+
},
78+
"github": {}
79+
},
80+
{
81+
"timestamp": "2026-01-04T23:06:02.761107Z",
82+
"local": {
83+
"commit_count": 4,
84+
"unique_contributors": 2,
85+
"last_commit_date": "2026-01-04 23:04:23 +0000",
86+
"last_commit_message": "Remove stats files from .gitignore to enable auto-tracking workflow",
87+
"current_branch": "copilot/fix-auto-tracking-issues",
88+
"tracked_files": 63,
89+
"timestamp": "2026-01-04T23:06:02.771988Z"
90+
},
91+
"github": {}
92+
}
93+
]

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).strftime('%Y-%m-%dT%H:%M:%S.%fZ')
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).strftime('%Y-%m-%dT%H:%M:%S.%fZ'),
156156
"local": self.get_local_git_stats(),
157157
"github": self.get_github_stats()
158158
}

0 commit comments

Comments
 (0)