Collection
Central project registry
A single registry.json controls every project and connector. Adding a project never requires changing the core system.
Automated multi-platform stats collection across GitHub, Cloudflare, and PageSpeed Insights.
🔄 Cargando datos en vivo...
Automated collection · Multi-platform · Open JSON
SolarisPKN-Stats connects your projects to GitHub, Cloudflare, and PageSpeed Insights. Configure it once and the system keeps collecting, storing, and exposing the data.
Philosophy
"Configure once, collect automatically, store transparently, and use the data wherever it is needed."
🧪 Features
Collection
A single registry.json controls every project and connector. Adding a project never requires changing the core system.
Storage
stats.json stores the current state and history/ keeps the time series. The open format is ready for dashboards, websites, or any analysis tool.
Automation
GitHub Actions deploys the system. A Cloudflare Worker collects data on independent schedules per connector. Once configured, operation is invisible.
Extensibility
A new platform means a new connector, without changing the core. Each project can combine platforms without artificial limits.
🔍 Architecture
📁 Storage structure
stats/
├── project-a/
│ ├── stats.json
│ └── history/
│ ├── 2024-01.json
│ └── 2024-02.json
└── project-b/
├── stats.json
└── history/ ⚙️ registry.json — example
{
"projects": [
{
"id": "solarispkn-web",
"connectors": [
"github",
"cloudflare",
"pagespeed"
]
}
]
} 📡 Connectors
via REST + GraphQL
Collects detailed repository metrics: stars, forks, issues, pull requests, Dependabot alerts, Actions runs, and security events. GraphQL reduces the number of requests required.
Collected metrics
via Cloudflare REST API
Extracts account- and zone-level statistics: request volume, cache ratios, security events, and Worker performance metrics.
Collected metrics
via PageSpeed Insights API
Queries PageSpeed Insights for Core Web Vitals and web performance metrics on an independent schedule that protects API capacity.
Collected metrics
🛠️ Technical stack
GitHub Actions
CI/CD and deployment
Cloudflare Workers
Collection runtime
GitHub REST API
Repository metrics
GitHub GraphQL
Optimized queries
Cloudflare API
Platform statistics
PageSpeed API
Web performance
🔐 Security
Credentials live exclusively in GitHub Secrets and Cloudflare Worker Secrets, never in source code
Two separate GitHub tokens: read-only for collection and write-only for publishing
The principle of least privilege is applied to every connector and platform
🗺️ Roadmap
01
02
03
04
Review the repository, study the architecture, and add your projects to the registry.