arc42 / status.arc42.org-site Goto Github PK
View Code? Open in Web Editor NEWthe statistics and status overview for all arc42 domains and ubdomains.
Home Page: https://status.arc42.org
License: Creative Commons Zero v1.0 Universal
the statistics and status overview for all arc42 domains and ubdomains.
Home Page: https://status.arc42.org
License: Creative Commons Zero v1.0 Universal
For this to be possible, we have to query the Github API:
[ ] query Github API for each of the repositories
[ ] add logic to the Golang template to display only those badges where counter is > 0
copy skeleton from arc42.org, simplify footer.
change content of CNAME to status.arc42.org
change nameserver entry on hosteurope (@gernotstarke needs to do that)
copy viewer-count and make that the "homepage" for status.arc42.org
create markdown table:
site | pageviews30 | pageviewsyear | visitors30 | visitorsyear |
---|---|---|---|---|
arc42.org | ... | |||
arc42.de | ||||
docs.arc42.org | ... | |||
faq.arc42.org | .. | |||
quality.arc42.org | .. |
instead of writing 735087 pageviews, better write 735.087 instead.
We might reach a Million pvs per year, and then 1.234.242 looks better than the 7-numbers without punctuation.
prerequisite: get the bug count (#41),
then use it to decide if graphical badge is needed
e.g. with detailed history, more details summarizing repo statistics or similar info
e.g. the missing API key was not logged on console
so we don't need to query these images from shields.io or other badge services.
see https://omnivore.app/zorg42/creating-dynamic-readme-md-file-dev-community-18a97ca9298,
we could generate an md-file from the usage data once per day, and re-generate the status page by pushing a commit.
use goroutines to fetch data from plausible in parallel
follow-up from #13
We need to get a numerical count from GitHub to decide wether to generate and display the bug-badge...
We need a bit of JavaScript for that:
As we know the exact number of bugs and issues (thanx to githubv4 API),
we should replace the shields.io badges with links to local assets:
That would mean we need to pre-generate a number of svg-files as replacements,
e.g. for 1-10 issues/bugs.
If a repo has more than that max nr, a shields.io badge could be generated. All other svg badges
would be delivered from the local asset pool (similar to FA-icons).
would very much like to add this canvas to canvas.arc42.org/examples
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
data := map[string]string{
"Region": os.Getenv("FLY_REGION"),
}
t.ExecuteTemplate(w, "index.html.tmpl", data)
})
the rollup does not add value. Needs to be removed in all referencing sites, though...
@gernotstarke I'll just add the normal arc42 favicon?
on phones, their sizes substantially differ, as the are generated by different providers.
currently, stats for 7D, 30D and 12M are collected sequentially,
that should be done in parallel.
and, at the same time, try a centered footer, as in datamesh-architecture.com
take the graphical logo from the datamesh site.
e.g. how secrets are managed in cloud and locally (env)
auto-deploy from main branch to fly.io
https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
currently, cors for different handlers is spread around in the code, violating SRP and SoC.
these links are as follows:
| |
| arc42.de || | | | |
| docs.arc42.org | | | | | |
| faq.arc42.org | | | | | |
| quality.arc42.org | | | | | |
but in reality should be loaded for every new request, at least if last request is not older than e.g. 60 seconds
at first we go without (see #22 )
query {
repository(owner: "arc42", name: "faq.arc42.org-site") {
openIssues: issues(states: OPEN, labels: ["BUG"]) {
totalCount
}
}
}
aargh - FRA costs money to deploy to, MAD and AMS are free to use.
Therefore, AMS shall be good enough currently.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.