hey infra ppl! Thinking about creating a splash page to make it easier to invite people on Twitter to consider “forking” government websites like you all started 🙂
has something like this been done already? https://github.com/g0v-network/domains/issues/24
#24 Create landing page app to support people in "forking" any gov page (wildcard DNS)
Pretend that I want to quickly suggest to someone that they could "fork" <https://competitionbureau.gc.ca/|https://competitionbureau.gc.ca/> or <https://space.canada.ca|https://space.canada.ca> to a g0v domain managed via this repo.
I could tweet them:
• a link to a <http://g0v.tw|g0v.tw> explainer website (to explain the movement), and
• maybe the docs to this repo (to explain how it works), and then maybe also
• the real website (e.g., <http://competitionbureau.gc.ca|competitionbureau.gc.ca>) and
• the non-existent proposed one (e.g., <http://competitionbureau.g0v.ca|competitionbureau.g0v.ca>).
But all of that is *confusing and hard to fit in a tweet*.
It would maybe be neat if I could instead just *link the person to any not-yet-created g0v subdomain* <http://competitionbureau.g0v.ca|http://competitionbureau.g0v.ca>, and have a simple splash page explain all of this :)
To do this, could set up a small app to sit behind a wildcard domain, and "catch" any subdomains that haven't had a record specifically created. In theory, this could walk people through all of:
• what is the g0v movement?
• what does "fork the government" mean here?
• how do they request use of this subdomain via this repo?
• since we can pull the domain name (<http://competitionbureau.g0v.ca|competitionbureau.g0v.ca>) out of the browser url, we could even point them right to creating the file, e.g., <https://github.com/g0v-network/domains/new/main?filename=g0v.ca.dns/competitionbureau.g0v.ca.yaml&value=competitionbureau%3A%0A%20%20-%20type%3A%20A%0A%20%20%20%20octodns%3A%0A%20%20%20%20%20%20cloudflare%3A%0A%20%20%20%20%20%20%20%20proxied%3A%20true%0A%20%20%20%20value%3A%2018.104.22.168%0A%20%20%20%20metdata%3A%0A%20%20%20%20%20%20repository%3A%20https%3A%2F%2Fgithub.com%2Fyour-github-user%2Fyour-repo%0A%20%20%20%20%20%20maintainer%3A%0A%20%20%20%20%20%20%20%20-%20your%20name|click here for demo>
Thoughts? Is this helpful for other g0v community members?
def let me know if I should ask this elsewhere!