diff --git a/.github/workflows/wildcard.yml b/.github/workflows/wildcard.yml new file mode 100644 index 000000000..a6a5e4b16 --- /dev/null +++ b/.github/workflows/wildcard.yml @@ -0,0 +1,65 @@ +name: Wildcard temp record + +on: + workflow_dispatch: + inputs: + recordcontent: + description: "Record Content" + required: true + default: "warning" + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Generate JSON file + run: | + echo '{ + "owner": { + "username": "is-a-dev", + "email": "hello@maintainers.is-a.dev" + }, + "record": { + "TXT": "${{ github.event.inputs.recordcontent }}" + } + }' > ./domains/_acme-challenge.json + + - name: test + run: cat domains/_acme-challenge.json + + - name: Install Yarn dependencies + run: yarn install --ignore-engines + + - name: Publishing records + env: + CI: 1 + ENV: production + DOMAIN_USER: ${{ secrets.DOMAIN_USER }} + DOMAIN_API_KEY: ${{ secrets.DOMAIN_API_KEY }} + DOMAIN_API_HOST: ${{ secrets.DOMAIN_API_HOST }} + DOMAIN_API_PORT: ${{ secrets.DOMAIN_API_PORT }} + DOMAIN_DOMAIN: ${{ secrets.DOMAIN_DOMAIN }} + DOMAIN_HOST_IP: ${{ secrets.DOMAIN_HOST_IP }} + run: yarn publish-records + - name: Sleep + run: sleep 10m + shell: bash + + - name: Remove + run: rm domains/_acme-challenge.json + shell: bash + + - name: removing records + env: + CI: 1 + ENV: production + DOMAIN_USER: ${{ secrets.DOMAIN_USER }} + DOMAIN_API_KEY: ${{ secrets.DOMAIN_API_KEY }} + DOMAIN_API_HOST: ${{ secrets.DOMAIN_API_HOST }} + DOMAIN_API_PORT: ${{ secrets.DOMAIN_API_PORT }} + DOMAIN_DOMAIN: ${{ secrets.DOMAIN_DOMAIN }} + DOMAIN_HOST_IP: ${{ secrets.DOMAIN_HOST_IP }} + run: yarn publish-records diff --git a/default.nix b/default.nix index 51e03c2d0..b806eb6c4 100644 --- a/default.nix +++ b/default.nix @@ -3,7 +3,7 @@ let inherit (nixpkgs) pkgs; nixPackages = with pkgs; [ - nodejs-16_x + nodejs-18_x yarn docker-compose dnsutils diff --git a/domains/_github-pages-challenge-aakankshabhende.aakanksha.json b/domains/_github-pages-challenge-aakankshabhende.aakanksha.json new file mode 100644 index 000000000..351c155ee --- /dev/null +++ b/domains/_github-pages-challenge-aakankshabhende.aakanksha.json @@ -0,0 +1,10 @@ +{ + "description": "Verification for aakanksha.is-a.dev", + "owner": { + "username": "aakankshabhende", + "email": "aakanksha0407@gmail.com" + }, + "record": { + "TXT": "0e195a2a30854573db976207e5f2f2" + } +} \ No newline at end of file diff --git a/domains/_github-pages-challenge-amalpotra.amarjeet.json b/domains/_github-pages-challenge-amalpotra.amarjeet.json new file mode 100644 index 000000000..099fc38b6 --- /dev/null +++ b/domains/_github-pages-challenge-amalpotra.amarjeet.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "amalpotra", + "email": "amarjeetmalpotra@outlook.com" + }, + "record": { + "TXT": "15c0eb5d4a85c75c4b205ac26a4d31" + } +} diff --git a/domains/_github-pages-challenge-anandyeole.anandyeole.json b/domains/_github-pages-challenge-anandyeole.anandyeole.json new file mode 100644 index 000000000..85a7981ac --- /dev/null +++ b/domains/_github-pages-challenge-anandyeole.anandyeole.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "anandyeole", + "email": "anandyeole@duck.com" + }, + "record": { + "TXT": "510cbb66f4422990546436db3c897a" + } +} diff --git a/domains/_github-pages-challenge-ananth-swamy.ananth.json b/domains/_github-pages-challenge-ananth-swamy.ananth.json new file mode 100644 index 000000000..0fe3c7a2c --- /dev/null +++ b/domains/_github-pages-challenge-ananth-swamy.ananth.json @@ -0,0 +1,11 @@ +{ + "description": "Personal portfolio website (domain verification)", + "repo": "https://github.com/ANANTH-SWAMY/ananth-swamy.github.io", + "owner": { + "username": "ANANTH-SWAMY", + "email": "ananth.nps@gmail.com" + }, + "record": { + "TXT": "cb106acbe8da52273b1a5807fb1d9f" + } +} diff --git a/domains/_github-pages-challenge-armoredvortex.armoredvortex.json b/domains/_github-pages-challenge-armoredvortex.armoredvortex.json new file mode 100644 index 000000000..1f76ed4cc --- /dev/null +++ b/domains/_github-pages-challenge-armoredvortex.armoredvortex.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "armoredvortex", + "email": "rachitpandey@protonmail.com" + }, + "record": { + "TXT": "f333cd13b1edfcaa51d5413b7fd05f" + } +} diff --git a/domains/_github-pages-challenge-ashesh3.ashesh.json b/domains/_github-pages-challenge-ashesh3.ashesh.json new file mode 100644 index 000000000..0d3441db1 --- /dev/null +++ b/domains/_github-pages-challenge-ashesh3.ashesh.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Ashesh3", + "email": "ashesh1708@gmail.com" + }, + "record": { + "TXT": "a0d1fde4660333a6c2b992a1d5e637" + } +} diff --git a/domains/_github-pages-challenge-bqwerr.srujan.json b/domains/_github-pages-challenge-bqwerr.srujan.json new file mode 100644 index 000000000..bd5de8f82 --- /dev/null +++ b/domains/_github-pages-challenge-bqwerr.srujan.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "bqwerr", + "email": "srujan.t@outlook.com" + }, + "record": { + "TXT": "0f2975970f0cdf325103a7d1f3ecf3" + } +} diff --git a/domains/_github-pages-challenge-caodoc.caodoc.json b/domains/_github-pages-challenge-caodoc.caodoc.json new file mode 100644 index 000000000..073aabc3b --- /dev/null +++ b/domains/_github-pages-challenge-caodoc.caodoc.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "caodoc", + "email": "", + "discord": "caodoc" + }, + "record": { + "TXT": "c3aa36c2b7f2e2bf94a92b760760ca" + } +} diff --git a/domains/_github-pages-challenge-dvandervlag.dennis.json b/domains/_github-pages-challenge-dvandervlag.dennis.json new file mode 100644 index 000000000..53deda04d --- /dev/null +++ b/domains/_github-pages-challenge-dvandervlag.dennis.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "dvandervlag", + "email": "dvandervlag@gmail.com" + }, + "record": { + "TXT": "e0c9a40b22c0a75c4043ff40e1b926" + } +} diff --git a/domains/_github-pages-challenge-edwardthelegend.edward.json b/domains/_github-pages-challenge-edwardthelegend.edward.json new file mode 100644 index 000000000..1e3ed00dc --- /dev/null +++ b/domains/_github-pages-challenge-edwardthelegend.edward.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "EdwardTheLegend", + "email": "edward@edwardtlowe.com" + }, + + "record": { + "TXT": "fba1c393a4bf816cdb2aa4515feae1" + } +} diff --git a/domains/_github-pages-challenge-flazepe.flazepe.json b/domains/_github-pages-challenge-flazepe.flazepe.json new file mode 100644 index 000000000..0df317748 --- /dev/null +++ b/domains/_github-pages-challenge-flazepe.flazepe.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "flazepe", + "email": "flazepe@gmail.com" + }, + "record": { + "TXT": "68edc295b0936fb51d13af5cbbfc3b" + } +} diff --git a/domains/_github-pages-challenge-flc995.florin.json b/domains/_github-pages-challenge-flc995.florin.json new file mode 100644 index 000000000..ba21b7cf8 --- /dev/null +++ b/domains/_github-pages-challenge-flc995.florin.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "flc995", + "email": "flc995@gmail.com" + }, + "record": { + "TXT": "eab0530066ed691b55a4edd424f74b" + } +} diff --git a/domains/_github-pages-challenge-iamrony777.ronit.json b/domains/_github-pages-challenge-iamrony777.ronit.json new file mode 100644 index 000000000..22817830e --- /dev/null +++ b/domains/_github-pages-challenge-iamrony777.ronit.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "iamrony777", + "email": "iamrony777@pm.me" + }, + + "record": { + "TXT": "702edaf64e30be353646b4988cbc26" + } +} \ No newline at end of file diff --git a/domains/_github-pages-challenge-icm185.icm.json b/domains/_github-pages-challenge-icm185.icm.json new file mode 100644 index 000000000..cef6148a5 --- /dev/null +++ b/domains/_github-pages-challenge-icm185.icm.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "ICM185", + "email": "ironcladmonster185@gmail.com" + }, + "record": { + "TXT":"0a7797274484306ed45f07548705fa" + } +} diff --git a/domains/_github-pages-challenge-impratik7.pratikmali.json b/domains/_github-pages-challenge-impratik7.pratikmali.json new file mode 100644 index 000000000..53c529cb3 --- /dev/null +++ b/domains/_github-pages-challenge-impratik7.pratikmali.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "impratik7", + "email": "malipratik09@gmail.com" + }, + "record": { + "TXT": "31f203aa7f5e0f5c0d7e984a718bc7" + } +} diff --git a/domains/_github-pages-challenge-inkilu.inkilu.json b/domains/_github-pages-challenge-inkilu.inkilu.json new file mode 100644 index 000000000..28f5c4dec --- /dev/null +++ b/domains/_github-pages-challenge-inkilu.inkilu.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "inkilu", + "email": "gauthamgkm@gmail.com" + }, + "record": { + "TXT": "d84cc8928b4a48588344fd7d279fd6" + } +} diff --git a/domains/_github-pages-challenge-javascript-void0.java.json b/domains/_github-pages-challenge-javascript-void0.java.json new file mode 100644 index 000000000..79336d6fb --- /dev/null +++ b/domains/_github-pages-challenge-javascript-void0.java.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "javascript-void0", + "email": "", + "discord": "Java#3865" + }, + "record": { + "TXT": "ce7434d57dd03085f434bc76dbab2f" + } +} diff --git a/domains/_github-pages-challenge-jesgran.jesgran.json b/domains/_github-pages-challenge-jesgran.jesgran.json new file mode 100644 index 000000000..aa279e5f8 --- /dev/null +++ b/domains/_github-pages-challenge-jesgran.jesgran.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Jesgran", + "email": "calzdani20@libero.it" + }, + "record": { + "TXT": "4ca188e02efff19513cd6f803a57e2" + } +} diff --git a/domains/_github-pages-challenge-justtobbi.justtobbi.json b/domains/_github-pages-challenge-justtobbi.justtobbi.json new file mode 100644 index 000000000..5451bef64 --- /dev/null +++ b/domains/_github-pages-challenge-justtobbi.justtobbi.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "justtobbi", + "email": "justtobbi@gmail.com" + }, + "record": { + "TXT": "40c1c0481529b00233ccf00048c45c" + } +} diff --git a/domains/_github-pages-challenge-labus3.madhav.json b/domains/_github-pages-challenge-labus3.madhav.json new file mode 100644 index 000000000..d2de31abb --- /dev/null +++ b/domains/_github-pages-challenge-labus3.madhav.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "LaBus3", + "email": "madhav.v.1996@gmail.com" + }, + "record": { + "TXT": "7362cb36811c9eefc5039e6e6da778" + } +} diff --git a/domains/_github-pages-challenge-madebytragic.madebytragic.json b/domains/_github-pages-challenge-madebytragic.madebytragic.json new file mode 100644 index 000000000..4c9dbb811 --- /dev/null +++ b/domains/_github-pages-challenge-madebytragic.madebytragic.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "lrmn7", + "email": "lrmnid@gmail.com" + }, + "record": { + "TXT": "9693d9e721696f4184aa3abfa35921" + } +} diff --git a/domains/_github-pages-challenge-mikeymoo5.moothecow.json b/domains/_github-pages-challenge-mikeymoo5.moothecow.json new file mode 100644 index 000000000..289eb7ee9 --- /dev/null +++ b/domains/_github-pages-challenge-mikeymoo5.moothecow.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "mikeymoo5", + "email": "smartguy9964@gmail.com" + }, + "record": { + "TXT": "2f899dd96f9394c2c189dc9a31aaf6" + } +} diff --git a/domains/_github-pages-challenge-mr1cecream.mricecream.json b/domains/_github-pages-challenge-mr1cecream.mricecream.json new file mode 100644 index 000000000..1c0086982 --- /dev/null +++ b/domains/_github-pages-challenge-mr1cecream.mricecream.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "mr1cecream", + "email": "guy@ochakov.com", + "twitter": "Mr__Icecream" + }, + "record": { + "TXT": "86fe9c2f7e2d0be6a7a1c16a1c8032" + } +} diff --git a/domains/_github-pages-challenge-night0721.night.json b/domains/_github-pages-challenge-night0721.night.json new file mode 100644 index 000000000..15d4b7d75 --- /dev/null +++ b/domains/_github-pages-challenge-night0721.night.json @@ -0,0 +1,11 @@ +{ + "description": "Personal portfolio for showing my projects, contacts and about me", + "repo": "https://github.com/night0721/night0721.github.io", + "owner": { + "username": "night0721", + "email": "nightkalyyy@gmail.com" + }, + "record": { + "TXT": "e87fbe224df0c16bf8e0796e229952" + } +} diff --git a/domains/_github-pages-challenge-pingoda.pingoda.json b/domains/_github-pages-challenge-pingoda.pingoda.json new file mode 100644 index 000000000..829e3424a --- /dev/null +++ b/domains/_github-pages-challenge-pingoda.pingoda.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "Pingoda", + "email": "francescoclem915@gmail.com", + "twitter": "Pingoda_" + }, + "record": { + "TXT": "9ddc01a76b306b3cef2aba7445689b" + } +} diff --git a/domains/_github-pages-challenge-quackduck.ishan.json b/domains/_github-pages-challenge-quackduck.ishan.json new file mode 100644 index 000000000..1be7e5094 --- /dev/null +++ b/domains/_github-pages-challenge-quackduck.ishan.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "quackduck", + "email": "igoel.mail@gmail.com" + }, + "record": { + "TXT": "14ec35f5a4a8dc217d642452be6b35" + } +} diff --git a/domains/_github-pages-challenge-rv178.rv178.json b/domains/_github-pages-challenge-rv178.rv178.json new file mode 100644 index 000000000..865c3fe72 --- /dev/null +++ b/domains/_github-pages-challenge-rv178.rv178.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "rv178", + "email": "idliyout@gmail.com" + }, + "record": { + "TXT": "e90b3dc10573fa656898bbbf08108c" + } +} diff --git a/domains/_github-pages-challenge-aakash.aakash.json b/domains/_github-pages-challenge-shinyzenith.aakash.json similarity index 100% rename from domains/_github-pages-challenge-aakash.aakash.json rename to domains/_github-pages-challenge-shinyzenith.aakash.json diff --git a/domains/_github-pages-challenge-spaxly.spaxly.json b/domains/_github-pages-challenge-spaxly.spaxly.json new file mode 100644 index 000000000..fbf142def --- /dev/null +++ b/domains/_github-pages-challenge-spaxly.spaxly.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Spaxly", + "email": "ohmrc2545@gmail.com" + }, + "record": { + "TXT": "94c657ca404ce17483065583db2e61" + } +} diff --git a/domains/_github-pages-challenge-syahiramali.syahiramali.json b/domains/_github-pages-challenge-syahiramali.syahiramali.json new file mode 100644 index 000000000..1742811f9 --- /dev/null +++ b/domains/_github-pages-challenge-syahiramali.syahiramali.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "syahirAmali", + "email": "syahirAmali@gmail.com" + }, + "record": { + "TXT": "f6c381205b87390aaf3c1eaebc9023" + } +} diff --git a/domains/_github-pages-challenge-takase1121.takase.json b/domains/_github-pages-challenge-takase1121.takase.json new file mode 100644 index 000000000..dcac94657 --- /dev/null +++ b/domains/_github-pages-challenge-takase1121.takase.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "takase1121", + "email": "takase1121@proton.me" + }, + "record": { + "TXT": "f735d72a61c58977384c6f13305387" + } +} diff --git a/domains/_github-pages-challenge-tclement0922.tclement0922.json b/domains/_github-pages-challenge-tclement0922.tclement0922.json new file mode 100644 index 000000000..ffa72a653 --- /dev/null +++ b/domains/_github-pages-challenge-tclement0922.tclement0922.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "tclement0922", + "email": "thibault.clement09@gmail.com" + }, + "record": { + "TXT": "9e402ea7933ed1c8da4935e5454fac" + } +} diff --git a/domains/_github-pages-challenge-technohacker.technohacker.json b/domains/_github-pages-challenge-technohacker.technohacker.json new file mode 100644 index 000000000..69a98ffad --- /dev/null +++ b/domains/_github-pages-challenge-technohacker.technohacker.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Technohacker", + "email": "technohacker1995@gmail.com" + }, + "record": { + "TXT": "5ad5e489ef3611f4d9a1b21f248218" + } +} diff --git a/domains/_github-pages-challenge-techpixel.tech.json b/domains/_github-pages-challenge-techpixel.tech.json new file mode 100644 index 000000000..7b66f9344 --- /dev/null +++ b/domains/_github-pages-challenge-techpixel.tech.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "techpixel", + "email": "manitejb@outlook.com" + }, + "record": { + "TXT": "123a1eec949122d5708325108c81b2" + } +} diff --git a/domains/_github-pages-challenge-testbot-github.mathiscool.json b/domains/_github-pages-challenge-testbot-github.mathiscool.json new file mode 100644 index 000000000..4c744e650 --- /dev/null +++ b/domains/_github-pages-challenge-testbot-github.mathiscool.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "testbot-github", + "email": "songboosterz.yt@gmail.com" + }, + "record": { + "TXT": "9c350d66193d49dec4cb05b15d387b" + } +} diff --git a/domains/_github-pages-challenge-thehackerdude1083.thehackerdude1083.json b/domains/_github-pages-challenge-thehackerdude1083.thehackerdude1083.json new file mode 100644 index 000000000..dc913c8db --- /dev/null +++ b/domains/_github-pages-challenge-thehackerdude1083.thehackerdude1083.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "TheHackerDude1083", + "email": "shaheeransari57@gmail.com" + }, + "record": { + "TXT": "66bceec5d092b15c1fcac188b02903" + } +} diff --git a/domains/_github-pages-challenge-thesanju.thesanju.json b/domains/_github-pages-challenge-thesanju.thesanju.json new file mode 100644 index 000000000..99c62d95f --- /dev/null +++ b/domains/_github-pages-challenge-thesanju.thesanju.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "thesanju", + "email": "sanjayjr1official@gmail.com" + }, + "record": { + "TXT": "1ef563891d9e0572cd59f4a3e80b42" + } +} \ No newline at end of file diff --git a/domains/_github-pages-challenge-thunder-coding.cd.json b/domains/_github-pages-challenge-thunder-coding.cd.json new file mode 100644 index 000000000..c4385549c --- /dev/null +++ b/domains/_github-pages-challenge-thunder-coding.cd.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "thunder-coding", + "email": "yakshbari4@gmail.com", + "discord": "codingthunder" + }, + "record": { + "TXT": "f56bab0740238435ae2bfe3a7d9283" + } +} diff --git a/domains/_github-pages-challenge-toxocious.toxocious.json b/domains/_github-pages-challenge-toxocious.toxocious.json new file mode 100644 index 000000000..dd3b2619e --- /dev/null +++ b/domains/_github-pages-challenge-toxocious.toxocious.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "toxocious", + "email": "toxocious@gmail.com" + }, + "record": { + "TXT": "d6440f69b31a9769f46475a3bfd91a" + } +} diff --git a/domains/_github-pages-challenge-vachanmn123.vachanmn.json b/domains/_github-pages-challenge-vachanmn123.vachanmn.json new file mode 100644 index 000000000..3984c1d87 --- /dev/null +++ b/domains/_github-pages-challenge-vachanmn123.vachanmn.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "vachanmn123", + "email": "vachanmn123@gmail.com" + }, + "record": { + "TXT": "c8d038d8f44978beb4910c6c425cc8" + } +} diff --git a/domains/_github-pages-challenge-vasilismylonas.vasilismylonas.json b/domains/_github-pages-challenge-vasilismylonas.vasilismylonas.json new file mode 100644 index 000000000..fb263377d --- /dev/null +++ b/domains/_github-pages-challenge-vasilismylonas.vasilismylonas.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "VasilisMylonas", + "email": "vasilismylonas@protonmail.com" + }, + "record": { + "TXT": "2d79d108f14d2a9587952c4682b285" + } +} diff --git a/domains/_github-pages-challenge-vncsmnl.vinicius.json b/domains/_github-pages-challenge-vncsmnl.vinicius.json new file mode 100644 index 000000000..e40943839 --- /dev/null +++ b/domains/_github-pages-challenge-vncsmnl.vinicius.json @@ -0,0 +1,13 @@ +{ + "description": "My personal website", + "repo": "https://github.com/vncsmnl", + "owner": { + "username": "vncsmnl", + "email": "", + "twitter": "vncsmnl", + "discord": "vncsmnl#7835" + }, + "record": { + "TXT": "1bb7647bdc766f138d036f6fdbd2e6" + } +} diff --git a/domains/andrewstech.json b/domains/andrewstech.json index 348b0f90d..b6a6a112f 100644 --- a/domains/andrewstech.json +++ b/domains/andrewstech.json @@ -4,6 +4,8 @@ "email": "andrew@win11react.com" }, "record": { - "CNAME": "hosts.is-a.dev" + "A": ["217.174.245.249"], + "TXT": "v=spf1 a mx ip4:217.174.245.249 ~all", + "MX": "hosts.is-a.dev" } } diff --git a/domains/ashesh.json b/domains/ashesh.json new file mode 100644 index 000000000..bbcadaf98 --- /dev/null +++ b/domains/ashesh.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Ashesh3", + "email": "ashesh1708@gmail.com" + }, + "record": { + "CNAME": "ashesh3.github.io" + } +} diff --git a/domains/cd.json b/domains/cd.json new file mode 100644 index 000000000..2ef6d8b23 --- /dev/null +++ b/domains/cd.json @@ -0,0 +1,12 @@ +{ + "description": "Personal website of Yaksh Bariya", + "repo": "https://github.com/thunder-coding/CodingThunder", + "owner": { + "username": "thunder-coding", + "email": "yakshbari4@gmail.com", + "discord": "codingthunder" + }, + "record": { + "CNAME": "thunder-coding.github.io" + } +} diff --git a/domains/coolbots.json b/domains/coolbots.json new file mode 100644 index 000000000..6d1924bea --- /dev/null +++ b/domains/coolbots.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "wansiie", + "email": "Janeiscool4ever@web.de" + }, + "record": { + "CNAME": "89e1de78ff-hosting.gitbook.io" + } +} diff --git a/domains/fordevs.json b/domains/fordevs.json new file mode 100644 index 000000000..6b4de7a3b --- /dev/null +++ b/domains/fordevs.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "neopromic", + "email": "cusaowesley1@gmail.com" + }, + "record": { + "URL": "https://for-devs.vercel.app" + } +} diff --git a/domains/latealways.json b/domains/latealways.json index a8e1c6021..eda7f87d5 100644 --- a/domains/latealways.json +++ b/domains/latealways.json @@ -1,9 +1,9 @@ { "owner": { "username": "LateAlways", - "email": "latealways@fuchsiax.dev" + "email": "latealways@i-am-a.fuchsiax.dev" }, "record": { - "CNAME": "i-am-a.fuchsiax.dev" + "A": ["85.239.250.3"] } } diff --git a/domains/mastodon.dainfloop.json b/domains/mastodon.dainfloop.json deleted file mode 100644 index 859ebd4e9..000000000 --- a/domains/mastodon.dainfloop.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "DaInfLoop", - "email": "backupharoongames100@gmail.com" - }, - - "record": { - "A": ["34.132.134.162"] - } -} diff --git a/domains/moothecow.json b/domains/moothecow.json new file mode 100644 index 000000000..a98de9ddd --- /dev/null +++ b/domains/moothecow.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Mikeymoo5", + "email": "moodids@outlook.com" + }, + "record": { + "CNAME": "mikeymoo5.github.io" + } +} diff --git a/domains/pixelbots.json b/domains/pixelbots.json new file mode 100644 index 000000000..6d1924bea --- /dev/null +++ b/domains/pixelbots.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "wansiie", + "email": "Janeiscool4ever@web.de" + }, + "record": { + "CNAME": "89e1de78ff-hosting.gitbook.io" + } +} diff --git a/domains/pixelnest.json b/domains/pixelnest.json new file mode 100644 index 000000000..6d1924bea --- /dev/null +++ b/domains/pixelnest.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "wansiie", + "email": "Janeiscool4ever@web.de" + }, + "record": { + "CNAME": "89e1de78ff-hosting.gitbook.io" + } +} diff --git a/domains/pixelnestbots.json b/domains/pixelnestbots.json new file mode 100644 index 000000000..6d1924bea --- /dev/null +++ b/domains/pixelnestbots.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "wansiie", + "email": "Janeiscool4ever@web.de" + }, + "record": { + "CNAME": "89e1de78ff-hosting.gitbook.io" + } +} diff --git a/domains/pixelsbots.json b/domains/pixelsbots.json new file mode 100644 index 000000000..6d1924bea --- /dev/null +++ b/domains/pixelsbots.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "wansiie", + "email": "Janeiscool4ever@web.de" + }, + "record": { + "CNAME": "89e1de78ff-hosting.gitbook.io" + } +} diff --git a/domains/ppg00.json b/domains/ppg00.json deleted file mode 100644 index 554d65c7a..000000000 --- a/domains/ppg00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "ppg00", - "email": "vx2dsk@gmail.com" - }, - - "record": { - "A": ["76.76.21.21"] - } -} diff --git a/domains/rnv.json b/domains/rnv.json new file mode 100644 index 000000000..d5b7a01ff --- /dev/null +++ b/domains/rnv.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "ZeroDeaths379", + "email": "arnavp651@gmail.com" + }, + "record": { + "CNAME": "zerodeaths379-github-io.pages.dev" + } +} diff --git a/domains/saeful.json b/domains/saeful.json new file mode 100644 index 000000000..92caa194f --- /dev/null +++ b/domains/saeful.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "saefulbarkah", + "email": "saefulbarkah03@gmail.com" + }, + "record": { + "URL": "https://saefulbarkah.netlify.app/" + } +} diff --git a/domains/stoneleaf-dh.json b/domains/stoneleaf-dh.json new file mode 100644 index 000000000..2f491a71a --- /dev/null +++ b/domains/stoneleaf-dh.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "NazerMohamed", + "email": "NazerMohamed@gmail.com" + }, + "record": { + "A": ["51.89.94.232"] + } +} diff --git a/domains/stoneleaf-pp.json b/domains/stoneleaf-pp.json new file mode 100644 index 000000000..2f491a71a --- /dev/null +++ b/domains/stoneleaf-pp.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "NazerMohamed", + "email": "NazerMohamed@gmail.com" + }, + "record": { + "A": ["51.89.94.232"] + } +} diff --git a/domains/uberkey.json b/domains/uberkey.json new file mode 100644 index 000000000..a98db0e7c --- /dev/null +++ b/domains/uberkey.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "uberkey", + "email": "postmordial@gmail.com" + }, + "record": { + "CNAME": "uberkey.github.io" + } +} diff --git a/domains/undeadevs.json b/domains/undeadevs.json new file mode 100644 index 000000000..527029d03 --- /dev/null +++ b/domains/undeadevs.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "undeadevs", + "email": "jangantanyaaku14@gmail.com" + }, + "record": { + "CNAME": "undeadevs.github.io" + } +} diff --git a/domains/wansies.json b/domains/wansies.json index 343bb4601..ce79317f7 100644 --- a/domains/wansies.json +++ b/domains/wansies.json @@ -4,6 +4,6 @@ "email": "Janeiscool4ever@web.de" }, "record": { - "URL": "https://helix-pullover-d4c.notion.site/wansie-3655baf5f6de40cc8be7aa8cbf67f095" + "URL": "https://helix-pullover-d4c.notion.site/wansie-3655baf5f6de40cc8be7aa8cbf67f095" } } diff --git a/scripts/certbot-auth.sh b/scripts/certbot-auth.sh new file mode 100755 index 000000000..fd0245777 --- /dev/null +++ b/scripts/certbot-auth.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +echo "$PWD"; + +echo "AUTH ::[$CERTBOT_VALIDATION]::[$CERTBOT_TOKEN]::[$CERTBOT_REMAINING_CHALLENGES]"; +echo "[$CERTBOT_DOMAIN]"; + +sleep 1; + +./scripts/certbot.sh acme_txt "$CERTBOT_VALIDATION"; + +sleep $((5*60)); + +./scripts/certbot.sh check; + diff --git a/scripts/certbot.sh b/scripts/certbot.sh index 3468e7395..451df74b6 100755 --- a/scripts/certbot.sh +++ b/scripts/certbot.sh @@ -13,13 +13,17 @@ generate_certificate() { --logs-dir $outdir/logs \ certonly \ --manual \ + --preferred-challenges=dns \ + --manual-auth-hook=./scripts/certbot-auth.sh \ -m 'phenax5@gmail.com' \ -d '*.is-a.dev,is-a.dev' \ + --agree-tos \ + --dry-run \ $(if_dry_run "--dry-run" ""); echo "+-----------------------------------------------+"; - echo "| Certificates output to: |"; - echo "| $outdir |"; + echo "| Certificate output: |"; + echo "|= $outdir"; echo "+-----------------------------------------------+"; } @@ -61,45 +65,15 @@ update_acme_txt_record() { update_record add TXT '_acme-challenge' "$1"; } -update_www_record() { - update_record remove CNAME 'www' "is-a-dev.github.io"; - sleep 1; - update_record add A 'www' "68.65.123.44"; -} - -upload_acme_file() { - local key="$1"; - local value="$2"; - echo " - const { cpanel } = require('./utils/lib/cpanel'); - const { ENV, DOMAIN_DOMAIN, DOMAIN_USER } = require('./utils/constants'); - - const file = { - dir: '/home/' + DOMAIN_USER + '/public_html/.well-known/acme-challenge', - file: '$key', - content: '$value', - }; - - console.log('Uploading acme validation file to', DOMAIN_DOMAIN, '(', ENV, ')...'); - cpanel.file.write(file).then(console.log).catch(console.error); - " | node -; -} - reset_acme() { - update_record remove A 'www' "68.65.123.44"; sleep 1; - update_record add CNAME 'www' "is-a-dev.github.io"; update_record remove TXT '_acme-challenge' ''; } case "$1" in - check) - echo "TXT record:: $(dig +noall +answer _acme-challenge.is-a.dev TXT | awk '{print $5}')"; - ;; - config_www) update_www_record ;; - acme_txt) update_acme_txt_record "$2" ;; - acme_file) upload_acme_file "$2" "$3" ;; + check) echo "TXT record:: $(dig +noall +answer _acme-challenge.is-a.dev TXT | awk '{print $5}')" ;; cert) generate_certificate ;; + acme_txt) update_acme_txt_record "$2" ;; reset) reset_acme ;; *) echo "Invalid command"; exit 1; ;; esac @@ -108,8 +82,6 @@ esac ### STEPS ### # Run ./scripts/certbot.sh cert # Run ./scripts/certbot.sh acme_txt "" -# Run ./scripts/certbot.sh acme_file "" "" -# Run ./scripts/certbot.sh config_www # cp -r /tmp/is-a-dev-whatever /opt/app/code/is-a-dev-cert # Upload cert.pem and privkey.pem (from config/live/is-a.dev/) contents to SSL > Manage SSL Sites # Run ./scripts/certbot.sh reset