diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..f750eb678 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,19 @@ +name: StaleBOT + +on: + workflow_dispatch: + name: 'Force cleanup' + schedule: + - cron: "30 14 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 30 + days-before-close: 20 + stale-issue-message: 'This issue has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it' + stale-pr-message: 'This pull request has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it' diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..d5a4de6b7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM ubuntu:20.04 + +ENV TERM xterm +RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime + +RUN apt-get -y update +RUN apt-get install -y nodejs npm curl wget dnsutils certbot --fix-missing + +RUN npm i -g n yarn && n 15.11 + +RUN node -v + +WORKDIR /opt/app + +COPY yarn.lock . +COPY package.json . + +RUN yarn install + +CMD ["sh", "-c", "cp -r node_modules code; cd code; tail -f /dev/null"] + diff --git a/README.md b/README.md index 12f97d998..85ebbb8bf 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ **is-a-dev** is a service that allows developers to get a sweet-looking `.is-a.dev` domain for their personal websites. +> **[Looking for maintainers](https://github.com/is-a-dev/register/discussions/667)** + ## How do I register? * Fork this project @@ -27,3 +29,6 @@ Please consider donating to help me keep this running forever! ## License This project is under the [GPL-3.0](./LICENSE) license. + + +[Uptime status dashboard](https://stats.uptimerobot.com/zY4XKIRVzw) diff --git a/default.nix b/default.nix index cf07b33d5..1eec77277 100644 --- a/default.nix +++ b/default.nix @@ -5,10 +5,12 @@ let nixPackages = with pkgs; [ nodejs-15_x yarn - dnsutils - certbot + docker-compose + #dnsutils + #certbot ]; -in pkgs.stdenv.mkDerivation { +in +pkgs.stdenv.mkDerivation { name = "env"; buildInputs = nixPackages; } diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..5b161f929 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3' +services: + dev: + build: + context: . + dockerfile: ./Dockerfile + volumes: + - ./:/opt/app/code diff --git a/docs/maintainers/pr-review.md b/docs/maintainers/pr-review.md new file mode 100644 index 000000000..0af094676 --- /dev/null +++ b/docs/maintainers/pr-review.md @@ -0,0 +1,72 @@ +# Reviewing pull requests +There are a few things you'll need to look out for when reviewing pull requests for domain registrations. This list is not exhaustive and will be updated. + +--- + +### CI errors +A lot of minor issues will be caught in the CI checks +* JSON parsing issues +* Schema issues + +If the CI is failing, tag the user and comment on the pr. + +--- + +### Contents of the website +We need to make sure that the contents being hosted via the record being registered is used for malicious purposes. +To do this, we must try our best to verify the contents of website and if required ask some questions regarding the contents in the PR. + +--- + +### Invalid email/social link +A way to contact the user is important in case we need to inform the users of some changes to the project. +Confirm if the email looks valid or the social user name/link works. +The user should have either an email or a valid social link. + +❌ `"owner": { "username": "gh-username" }` is invalid as it doesn't contain an email or any social links + +❌ `"email": "28372878+user-name@users.noreply.github.com"` is invalid as the email cannot be used + +✅ `"owner": { "username": "phenax", "twitter": "twitter-username" }` is valid as it contains a social link + +✅ `"owner": { "username": "phenax", "email": "email@gmail.com" }` is valid as it contains an email + +--- + +### Invalid CNAME +CNAME has to be a hostname. Something like `example.com`. + +❌ `http://example.com` is invalid as it contains a protocol `https://` + +❌ `example.com/some/path` is invalid as it contains the path name `/some/path` + +✅ `example.com` is valid as it is the hostname of the website + +--- + +### Invalid A +A record has to be an array of ips. + +❌ `"A": "211.211.211.211"` is invalid as it must be an array + +❌ `"A": ["example.com"]` is invalid as it is not an ip address + +✅ `"A": ["211.211.211.211", "211.211.211.212"]` is valid as it is an array of ips + +--- + +### Invalid URL +The URL must have a protocol (`http://` or `https://`) and must be something like `https://example.com` or `https://example.com/some/path`. + +❌ `example.com` is invalid as it doesn't contain the protocol + +✅ `https://example.com/some/path` is valid as it contains a protocol + +--- + +### Only one record type +Earlier, is-a-dev used to allow for handling https redirections along with CNAME but the way we handle requests has changed since then. +This is why a record file can only contain one record type. Either `CNAME` or `A` or `URL`. + +❌ `"CNAME": "example.com", "URL": "https://something.com"` is invalid as it should only contain one type of record, either CNAME or URL. + diff --git a/docs/maintainers/publishing-records.md b/docs/maintainers/publishing-records.md new file mode 100644 index 000000000..2c363e8a1 --- /dev/null +++ b/docs/maintainers/publishing-records.md @@ -0,0 +1,11 @@ +# Publishing records +> NOTE: This is only for maintainers with publishing access + +Currently, the records are published using a manual github actions workflow. +When all the PR's are merged and ready, go to `Actions > Publish records` and click on the `Run workflow` button to publish the merged records. + + + +Sometimes it may log an error message while publishing saying some record(s) couldn't be published. +Usually, the cause is related to some conflict while deleting and re-publishing. +In those situations, running the workflow again will fix the issues. diff --git a/domains/aanthr0.json b/domains/aanthr0.json new file mode 100644 index 000000000..b637bdf1b --- /dev/null +++ b/domains/aanthr0.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "aanthr0", + "email": "anthromadayt@gmail.com" + }, + "record": { + "URL": "http://bh006.bluefoxhost.com:8215" + } +} \ No newline at end of file diff --git a/domains/agrim.json b/domains/agrim.json new file mode 100644 index 000000000..d7dbecf86 --- /dev/null +++ b/domains/agrim.json @@ -0,0 +1,10 @@ +{ + "repo": "https://github.com/Agrim-Bansal/Agrim-Bansal.github.io", + "owner": { + "username": "Agrim-Bansal", + "email": "agrimx2@gmail.com" + }, + "record": { + "CNAME": "agrim-bansal.github.io" + } +} \ No newline at end of file diff --git a/domains/aozora.json b/domains/aozora.json new file mode 100644 index 000000000..807d9bf71 --- /dev/null +++ b/domains/aozora.json @@ -0,0 +1,11 @@ +{ + "description": "Just my personal website", + "repo": "https://github.com/AozoraDev/AozoraDev.github.io", + "owner": { + "username": "AozoraDev", + "email": "aozoradeveloper@gmail.com" + }, + "record": { + "CNAME": "aozoradev.github.io" + } +} \ No newline at end of file diff --git a/domains/api-space.json b/domains/api-space.json index 54a3e5377..b8389b6cc 100644 --- a/domains/api-space.json +++ b/domains/api-space.json @@ -1,4 +1,3 @@ - { "description": "My api", "owner": { @@ -10,4 +9,4 @@ "185.87.48.199" ] } -} +} \ No newline at end of file diff --git a/domains/atzu.json b/domains/atzu.json index 9a2b9e0b5..f3ab20af4 100644 --- a/domains/atzu.json +++ b/domains/atzu.json @@ -1,11 +1,11 @@ { - "description": "ATZU's website", + "description": "Atzu's Personal Website", "repo": "https://github.com/z3ro0k", "owner": { - "username": "z3ro0k", - "email": "zerok636@gmail.com" + "username": "Atzu", + "email": "atzu@nextgenteam.tech" }, "record": { - "CNAME": "atzu.xyz" + "URL": "https://atzu.studio" } } \ No newline at end of file diff --git a/domains/avnoor-gamerz.json b/domains/avnoor-gamerz.json new file mode 100644 index 000000000..ddb3b8bb2 --- /dev/null +++ b/domains/avnoor-gamerz.json @@ -0,0 +1,12 @@ +{ + "description": "Official WEBSITE OF aVNOOR gAMERZ", + "repo": "https://github.com/Avnoor-Gamerz/avnoor-gamerz.github.io", + "owner": { + "username": "avnoor-gamerz", + "email": "avnoorchahal001@gmail.com", + "twitter": "avnoor-gamerz" + }, + "record": { + "CNAME": "avnoor-gamerz.github.io" + } +} \ No newline at end of file diff --git a/domains/aypro.json b/domains/aypro.json new file mode 100644 index 000000000..192d6db15 --- /dev/null +++ b/domains/aypro.json @@ -0,0 +1,11 @@ +{ + "description": "Aypro's personal website", + "repo": "https://github.com/aypro-droid/aypro-droid.github.io", + "owner": { + "username": "aypro-droid", + "email": "ayprogaming1@gmail.com" + }, + "record": { + "CNAME": "aypro-droid.github.io" + } +} \ No newline at end of file diff --git a/domains/bashou.json b/domains/bashou.json index 764db6922..3bfbea3b9 100644 --- a/domains/bashou.json +++ b/domains/bashou.json @@ -5,6 +5,6 @@ "twitter": "bashoudev" }, "record": { - "CNAME": "bashoudev.ga" + "URL": "https://bashoudev.ga" } } \ No newline at end of file diff --git a/domains/bedanth.json b/domains/bedanth.json new file mode 100644 index 000000000..dd82ce3ee --- /dev/null +++ b/domains/bedanth.json @@ -0,0 +1,11 @@ +{ + "description": "Bedant Hota's Portfolio", + "repo": "https://github.com/bedantH/bedantH.github.io", + "owner": { + "username": "bedantH", + "email": "mohanesh.h2003@gmail.com" + }, + "record": { + "CNAME": "bedantH.github.io" + } +} \ No newline at end of file diff --git a/domains/caleb.json b/domains/caleb.json new file mode 100644 index 000000000..9b6d43d36 --- /dev/null +++ b/domains/caleb.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "cjdenio", + "email": "", + "twitter": "CalebDenio" + }, + "repo": "https://github.com/cjdenio/site-frontend", + "record": { + "URL": "https://calebden.io" + } +} \ No newline at end of file diff --git a/domains/carlosgiralt.json b/domains/carlosgiralt.json new file mode 100644 index 000000000..9ab295532 --- /dev/null +++ b/domains/carlosgiralt.json @@ -0,0 +1,12 @@ +{ + "description": "code-a-bit", + "repo": "https://github.com/carlosgiralt/carlosgiralt.github.io", + "owner": { + "username": "carlosgiralt", + "email": "", + "twitter": "@cagiraltt" + }, + "record": { + "CNAME": "carlosgiralt.github.io" + } +} \ No newline at end of file diff --git a/domains/charalampos.json b/domains/charalampos.json new file mode 100644 index 000000000..44e920564 --- /dev/null +++ b/domains/charalampos.json @@ -0,0 +1,11 @@ +{ + "description": "Redirection domain for my personal website", + "repo": "https://github.com/cfanoulis/fanoulis.dev", + "owner": { + "username": "cfanoulis", + "email": "domains@fanoulis.dev" + }, + "record": { + "URL": "https://fanoulis.dev" + } +} \ No newline at end of file diff --git a/domains/cinnamonshrine.json b/domains/cinnamonshrine.json new file mode 100644 index 000000000..a51fd0ba4 --- /dev/null +++ b/domains/cinnamonshrine.json @@ -0,0 +1,12 @@ +{ + "description": "Main Pages", + "repo": "https://github.com/CinnamonShrine/CinnamonShrine.github.io", + "owner": { + "username": "CinnamonShrine", + "email": "marifbillah524@gmail.com", + "twitter": "CinnamonShrine" + }, + "record": { + "CNAME": "cinnamonshrine.github.io" + } +} \ No newline at end of file diff --git a/domains/cole.json b/domains/cole.json new file mode 100644 index 000000000..f5cc0f02c --- /dev/null +++ b/domains/cole.json @@ -0,0 +1,11 @@ +{ + "description": "Link to colewilson.xyz", + "repo": "https://github.com/cole-wilson/colewilson.xyz", + "owner": { + "username": "cole-wilson", + "email": "support@colewilson.xyz" + }, + "record": { + "URL": "https://colewilson.xyz" + } +} diff --git a/domains/coolcodersj.json b/domains/coolcodersj.json new file mode 100644 index 000000000..00e3b7ce3 --- /dev/null +++ b/domains/coolcodersj.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "CoolCoderSJ", + "email": "CoolCoderSJ@gmail.com" + }, + "description": "Portfolio", + "record": { + "CNAME": "coolcodersj.github.io" + } +} \ No newline at end of file diff --git a/domains/cr.json b/domains/cr.json index 16b9f3699..cdde9e447 100644 --- a/domains/cr.json +++ b/domains/cr.json @@ -1,4 +1,3 @@ - { "description": "A Website For My API", "repo": "https://github.com/joeleeofficial/", @@ -9,4 +8,4 @@ "record": { "CNAME": "7b9fd2b3-d702-4577-bcbf-a1a529ad3f3d.repl.co" } -} +} \ No newline at end of file diff --git a/domains/daniel.json b/domains/daniel.json new file mode 100644 index 000000000..f69282aa6 --- /dev/null +++ b/domains/daniel.json @@ -0,0 +1,11 @@ +{ + "description": "Hello! My name is Daniel, I am a developer that has been programming since 2018. This website shows some of the things I have created.", + "owner": { + "username": "hackermondev", + "email": "", + "twitter": "hackermondev" + }, + "record": { + "CNAME": "71bac7ca-1eac-46fe-9588-cd31d68b2e06.repl.co" + } +} \ No newline at end of file diff --git a/domains/deadshot.json b/domains/deadshot.json new file mode 100644 index 000000000..fedfa67f5 --- /dev/null +++ b/domains/deadshot.json @@ -0,0 +1,12 @@ +{ + "description": "My Official Website, Made with HTML5", + "repo": "https://github.com/deadshotofficial/deadshotofficial.github.io", + "owner": { + "username": "deadshotofficial", + "email": "raj.deadshot8888@gmail.com", + "twitter": "deadshot3r" + }, + "record": { + "CNAME": "deadshotofficial.github.io" + } +} \ No newline at end of file diff --git a/domains/deekshasharma.json b/domains/deekshasharma.json index c638d5893..d2181e99e 100644 --- a/domains/deekshasharma.json +++ b/domains/deekshasharma.json @@ -7,4 +7,4 @@ "record": { "URL": "http://deekshasharma.vercel.app/" } -} +} \ No newline at end of file diff --git a/domains/dhanush.json b/domains/dhanush.json index 40caf33d6..067ffe583 100644 --- a/domains/dhanush.json +++ b/domains/dhanush.json @@ -9,4 +9,4 @@ "record": { "CNAME": "b1ackshadow.github.io" } -} +} \ No newline at end of file diff --git a/domains/didier.json b/domains/didier.json new file mode 100644 index 000000000..0aa6c14d5 --- /dev/null +++ b/domains/didier.json @@ -0,0 +1,11 @@ +{ + "description": "Hello there I am Didier Munezero", + "repo": "https://github.com/didiermunezero", + "owner": { + "username": "didiermunezero", + "email": "didiermunezer38@gmail.com" + }, + "record": { + "CNAME": "didiermunezero.github.io" + } +} \ No newline at end of file diff --git a/domains/dooly.json b/domains/dooly.json new file mode 100644 index 000000000..5dab3241e --- /dev/null +++ b/domains/dooly.json @@ -0,0 +1,12 @@ +{ + "Dooly": "Dooly is a Dev.", + "repo": "https://github.com/entry0917/doolyweb/", + "owner": { + "username": "entry0917", + "email": "seeun0917@naver.com", + "twitter": "sense09173" + }, + "record": { + "CNAME": "entry0917.github.io" + } +} \ No newline at end of file diff --git a/domains/dsaw.json b/domains/dsaw.json index 5b2ea128c..20b550e43 100644 --- a/domains/dsaw.json +++ b/domains/dsaw.json @@ -8,4 +8,4 @@ "record": { "CNAME": "dsaw.github.io" } -} +} \ No newline at end of file diff --git a/domains/dwii.json b/domains/dwii.json index 5b59677bc..92e8eb2da 100644 --- a/domains/dwii.json +++ b/domains/dwii.json @@ -1,11 +1,11 @@ { "description": "DwiiUnknown is a dev.", - "repo": "https://github.com/ItzMeDwii/dwii.me", + "repo": "https://github.com/ItzMeDwii/dwii", "owner": { "username": "ItzMeDwii", - "email": "dwii5359@azalelnation.com" + "email": "dwiiunknown@gmail.com" }, "record": { - "URL": "https://github.com/ItzMeDwii" + "URL": "https://dwii.my.id/" } } \ No newline at end of file diff --git a/domains/eddy.json b/domains/eddy.json new file mode 100644 index 000000000..857f948e2 --- /dev/null +++ b/domains/eddy.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "331leo", + "email": "331leo@kakao.com" + }, + "record": { + "CNAME": "dev.is.eddy.leok.kr" + } +} \ No newline at end of file diff --git a/domains/ella.json b/domains/ella.json new file mode 100644 index 000000000..68471ae1b --- /dev/null +++ b/domains/ella.json @@ -0,0 +1,11 @@ +{ + "description": "Ella's Portfolio", + "repo": "https://github.com/eilla1/ella.is-a.dev-redirect", + "owner": { + "username": "eilla1", + "email": "exu6056@gmail.com" + }, + "record": { + "CNAME": "eilla1.github.io" + } +} \ No newline at end of file diff --git a/domains/emma.json b/domains/emma.json new file mode 100644 index 000000000..7cf87bfea --- /dev/null +++ b/domains/emma.json @@ -0,0 +1,11 @@ +{ + "description": "Emmaffle's Site - memorable redirect", + "repo": "https://github.com/wafflecoffee/waffle.coffee", + "owner": { + "username": "wafflecoffee", + "email": "emma@waffle.coffee" + }, + "record": { + "CNAME": "waffle.coffee" + } +} \ No newline at end of file diff --git a/domains/fabiancrx.json b/domains/fabiancrx.json new file mode 100644 index 000000000..14a20ee9e --- /dev/null +++ b/domains/fabiancrx.json @@ -0,0 +1,11 @@ +{ + "description": "home/croxx", + "repo": "https://github.com/fabiancrx/fabiancrx.github.io", + "owner": { + "username": "fabiancrx", + "email": "croxx5f@gmail.com" + }, + "record": { + "CNAME": "fabiancrx.github.io" + } +} \ No newline at end of file diff --git a/domains/fatgrizzly.json b/domains/fatgrizzly.json new file mode 100644 index 000000000..ab2840978 --- /dev/null +++ b/domains/fatgrizzly.json @@ -0,0 +1,14 @@ +{ + "description": "personal website ", + "repo": "https://github.com/fatgrizzly", + "owner": { + "username": "fatgrizzly", + "email": "soundar@secret.fyi" + }, + "record": { + "A": [ + "89.163.215.190", + "89.163.215.211" + ] + } +} \ No newline at end of file diff --git a/domains/flexico.json b/domains/flexico.json new file mode 100644 index 000000000..0e075ee80 --- /dev/null +++ b/domains/flexico.json @@ -0,0 +1,11 @@ +{ + "description": "Flexicos website", + "repo": "https://github.com/7xh/7xh.github.io", + "owner": { + "username": "7xh", + "email": "noterme@protonmail.com" + }, + "record": { + "CNAME": "7xh.github.io" + } +} \ No newline at end of file diff --git a/domains/fluted.json b/domains/fluted.json new file mode 100644 index 000000000..23dd373cd --- /dev/null +++ b/domains/fluted.json @@ -0,0 +1,12 @@ +{ + "description": "fluted.is-a-dev", + "repo": "https://github.com/fluteds/fluteds.github.io", + "owner": { + "username": "fluteds", + "email": "", + "twitter": "fluted_" + }, + "record": { + "CNAME": "fluted.xyz" + } +} \ No newline at end of file diff --git a/domains/fsanchir.json b/domains/fsanchir.json new file mode 100644 index 000000000..da71ff923 --- /dev/null +++ b/domains/fsanchir.json @@ -0,0 +1,12 @@ +{ + "description": "FSanchir", + "repo": "https://github.com/fsanchir/fsanchir.github.io", + "owner": { + "username": "fsanchir", + "email": "fsanchir@fsip.ml", + "twitter": "None!" + }, + "record": { + "CNAME": "fsanchir.github.io" + } +} \ No newline at end of file diff --git a/domains/gingdev.json b/domains/gingdev.json index 58f238bfa..4ddafcf2a 100644 --- a/domains/gingdev.json +++ b/domains/gingdev.json @@ -7,7 +7,7 @@ }, "record": { "A": [ - "204.246.56.80" + "192.243.108.102" ] } -} +} \ No newline at end of file diff --git a/domains/girigummadi.json b/domains/girigummadi.json index b23cfb467..5a5430e21 100644 --- a/domains/girigummadi.json +++ b/domains/girigummadi.json @@ -1,11 +1,11 @@ -{ - "description": "My Personal Website", - "repo": "https://github.com/GiriGummadi", - "owner": { - "username": "GiriGummadi", - "email": "girigummadi5656@gmail.com" - }, - "record": { - "CNAME": "girigummadi.github.io" - } -} +{ + "description": "My Personal Website", + "repo": "https://github.com/GiriGummadi", + "owner": { + "username": "GiriGummadi", + "email": "girigummadi5656@gmail.com" + }, + "record": { + "CNAME": "girigummadi.github.io" + } +} \ No newline at end of file diff --git a/domains/ishaanmehta.json b/domains/ishaanmehta.json new file mode 100644 index 000000000..1b79ce19c --- /dev/null +++ b/domains/ishaanmehta.json @@ -0,0 +1,11 @@ +{ + "description": "Personal portfolio for Ishaan Mehta (IIIT Surat)", + "repo": "https://github.com/ishaanmehta4/portfolio", + "owner": { + "username": "ishaanmehta4", + "email": "ishaanmehta4@gmail.com" + }, + "record": { + "URL": "https://github.com/ishaanmehta4" + } +} \ No newline at end of file diff --git a/domains/jeel.json b/domains/jeel.json new file mode 100644 index 000000000..840c664a2 --- /dev/null +++ b/domains/jeel.json @@ -0,0 +1,12 @@ +{ + "description": "Jeel's portfolio website", + "repo": "https://github.com/jeelpatel1612", + "owner": { + "username": "jeelpatel1612", + "email": "", + "twitter": "__j_e_e_l__" + }, + "record": { + "URL": "https://jeelpatel.netlify.app/" + } +} \ No newline at end of file diff --git a/domains/jj.json b/domains/jj.json new file mode 100644 index 000000000..4894b6ff6 --- /dev/null +++ b/domains/jj.json @@ -0,0 +1,11 @@ +{ + "description": "TheBotlyNoob's development website", + "repo": "https://github.com/TheBotlyNoob/TheBotlyNoob.github.io", + "owner": { + "username": "TheBotlyNoob", + "email": "TheBotlyNoob@gmail.com" + }, + "record": { + "CNAME": "TheBotlyNoob.github.io" + } +} \ No newline at end of file diff --git a/domains/johansansebastian.json b/domains/johansansebastian.json new file mode 100644 index 000000000..5324a00d7 --- /dev/null +++ b/domains/johansansebastian.json @@ -0,0 +1,11 @@ +{ + "description": "Johan's personal developer website", + "repo": "https://github.com/JohanSanSebastian.github.io", + "owner": { + "username": "JohanSanSebastian", + "email": "johansanju06@gmail.com" + }, + "record": { + "CNAME": "JohanSanSebastian.github.io" + } +} \ No newline at end of file diff --git a/domains/json.json b/domains/json.json new file mode 100644 index 000000000..e2787e675 --- /dev/null +++ b/domains/json.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "jasonappah", + "email": "isadev@jasonaa.me", + "twitter": "jasonaa_" + }, + "record": { + "URL": "https://jasonaa.me/" + } +} \ No newline at end of file diff --git a/domains/kai.json b/domains/kai.json index fe6b819d3..e0bded31a 100644 --- a/domains/kai.json +++ b/domains/kai.json @@ -8,4 +8,4 @@ "record": { "CNAME": "blackaimc.github.io" } -} +} \ No newline at end of file diff --git a/domains/koolwiza.json b/domains/koolwiza.json new file mode 100644 index 000000000..63344fe26 --- /dev/null +++ b/domains/koolwiza.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "Koolwiza", + "email": "koolwiza@gmail.com" + }, + "description": "Just a cool subdomain to have :)", + "repo": "https://www.github.com/Koolwiza", + "record": { + "CNAME": "koolwiza.github.io" + } +} \ No newline at end of file diff --git a/domains/l0ser.json b/domains/l0ser.json new file mode 100644 index 000000000..ec23bf19e --- /dev/null +++ b/domains/l0ser.json @@ -0,0 +1,11 @@ +{ + "description": "L0SER's personal developer website", + "repo": "https://github.com/L0SER8228", + "owner": { + "username": "L0SER8228", + "email": "loserlackey@gmail.com" + }, + "record": { + "CNAME": "L0SER8228.github.io" + } +} \ No newline at end of file diff --git a/domains/lejhand.json b/domains/lejhand.json new file mode 100644 index 000000000..0ca4935ea --- /dev/null +++ b/domains/lejhand.json @@ -0,0 +1,11 @@ +{ + "description": "This is lejhands portfolio website with info and github and npm portfolio too", + "repo": "https://github.com/LejhandGamingYT", + "owner": { + "username": "LejhandGamingYT", + "email": "dhruvbhanushali5621@gmail.com" + }, + "record": { + "CNAME": "dazzling-williams-9e8070.netlify.app" + } +} \ No newline at end of file diff --git a/domains/levi.json b/domains/levi.json new file mode 100644 index 000000000..bf87389dc --- /dev/null +++ b/domains/levi.json @@ -0,0 +1,12 @@ +{ + "description": "Leví Arista Resume", + "repo": "https://github.com/leviarista/resume", + "owner": { + "username": "leviarista", + "email": "levi.arista@gmail.com", + "twitter": "leviarista" + }, + "record": { + "URL": "https://leviarista.github.io/resume/" + } +} \ No newline at end of file diff --git a/domains/luanrt.json b/domains/luanrt.json new file mode 100644 index 000000000..1d8205548 --- /dev/null +++ b/domains/luanrt.json @@ -0,0 +1,11 @@ +{ + "description": "The personal website for LuanRT", + "repo": "https://github.com/luanrt/luanrt.github.io", + "owner": { + "username": "luanrt", + "email": "luan.lrt4@gmail.com" + }, + "record": { + "CNAME": "luanrt.github.io" + } +} \ No newline at end of file diff --git a/domains/luis-ciber.json b/domains/luis-ciber.json new file mode 100644 index 000000000..f4d7c1af2 --- /dev/null +++ b/domains/luis-ciber.json @@ -0,0 +1,11 @@ +{ + "description": "Luis Correa Leyva", + "repo": "https://github.com/correaleyval/correaleyval.github.io", + "owner": { + "username": "correaleyval", + "email": "correaleyval@gmail.com" + }, + "record": { + "CNAME": "correaleyval.github.io" + } +} \ No newline at end of file diff --git a/domains/matthew.json b/domains/matthew.json new file mode 100644 index 000000000..78b3b3ccf --- /dev/null +++ b/domains/matthew.json @@ -0,0 +1,11 @@ +{ + "owner": { + "username": "Matt-Gleich", + "email": "email@mattglei.ch", + "twitter": "MattGleich" + }, + "repo": "https://github.com/Matt-Gleich/site-v2", + "record": { + "URL": "https://mattglei.ch" + } +} \ No newline at end of file diff --git a/domains/miro.json b/domains/miro.json new file mode 100644 index 000000000..231b3639c --- /dev/null +++ b/domains/miro.json @@ -0,0 +1,11 @@ +{ + "description": "My other site :)", + "repo": "https://replit.com/@RoBlockHead/mirois-adev", + "owner": { + "username": "RoBlockHead", + "email": "tessa7551@gmail.com" + }, + "record": { + "CNAME": "c2b57eca-71a9-4f20-8877-c210f7e71f12.repl.co" + } +} diff --git a/domains/molai.json b/domains/molai.json new file mode 100644 index 000000000..229731052 --- /dev/null +++ b/domains/molai.json @@ -0,0 +1,11 @@ +{ + "description": "This website is a link to my personal developer portfolio.", + "repo": "https://github.com/mtgsquad/mahir-molai", + "owner": { + "username": "mtgsquad", + "email": "mtgissmart@gmail.com" + }, + "record": { + "CNAME": "mahir-molai.pages.dev" + } +} \ No newline at end of file diff --git a/domains/mtg.json b/domains/mtg.json index 8231cc131..a5491a2bd 100644 --- a/domains/mtg.json +++ b/domains/mtg.json @@ -1,12 +1,12 @@ { "description": "MTGSquad's Website, A Place Where He Jots Down Dumb Stuff", - "repo": "https://github.com/mtgsquad/mtgsquad.github.io", + "repo": "https://github.com/mtgsquad", "owner": { "username": "mtgsquad", "email": "mtgsquad.dev@protonmail.com", "twitter": "mtgsquad_dev" }, "record": { - "CNAME": "mtgsquad.github.io" + "CNAME": "hashnode.network" } -} +} \ No newline at end of file diff --git a/domains/mysteriousk.json b/domains/mysteriousk.json new file mode 100644 index 000000000..44a853808 --- /dev/null +++ b/domains/mysteriousk.json @@ -0,0 +1,11 @@ +{ + "description": "The official website for Lawliet.Host.", + "repo": "https://github.com/NoobDevs69/LawlietHost", + "owner": { + "username": "MysteriousK69", + "email": "mysteriousk@lawliet.host" + }, + "record": { + "CNAME": "lawliet.host" + } +} \ No newline at end of file diff --git a/domains/nitesh.json b/domains/nitesh.json new file mode 100644 index 000000000..d9a818306 --- /dev/null +++ b/domains/nitesh.json @@ -0,0 +1,11 @@ +{ + "description": "My personal portfolio site", + "repo": "https://github.com/Niteshballa", + "owner": { + "username": "Niteshballa", + "email": "nithesh.mom@gmail.com" + }, + "record": { + "CNAME": "Niteshballa.github.io" + } +} \ No newline at end of file diff --git a/domains/not-a-nerd.json b/domains/not-a-nerd.json new file mode 100644 index 000000000..b32f3e396 --- /dev/null +++ b/domains/not-a-nerd.json @@ -0,0 +1,11 @@ +{ + "description": "Well, this is my github sub-domain for my future page", + "repo": "https://github.com/0lp/0lp.github.io", + "owner": { + "username": "0lp", + "email": "not.a.nerd0005@gmail.com" + }, + "record": { + "CNAME": "0lp.github.io" + } +} \ No newline at end of file diff --git a/domains/ovillafuerte94.json b/domains/ovillafuerte94.json new file mode 100644 index 000000000..edc251a5b --- /dev/null +++ b/domains/ovillafuerte94.json @@ -0,0 +1,11 @@ +{ + "description": "Omar Villafuerte", + "repo": "https://github.com/ovillafuerte94/ovillafuerte94.github.io", + "owner": { + "username": "ovillafuerte94", + "email": "ovillafuerte.94@gmail.com" + }, + "record": { + "CNAME": "ovillafuerte94.github.io" + } +} \ No newline at end of file diff --git a/domains/piero.json b/domains/piero.json new file mode 100644 index 000000000..2071cbb34 --- /dev/null +++ b/domains/piero.json @@ -0,0 +1,11 @@ +{ + "description": "Piero Is a Dev", + "repo": "https://replit.com/@piemadd/pierois-adev", + "owner": { + "username": "pieromqwerty", + "email": "isadev@piemadd.com" + }, + "record": { + "CNAME": "588d327b-9fb6-4484-856e-0477ffef0efe.repl.co" + } +} diff --git a/domains/pivko.json b/domains/pivko.json new file mode 100644 index 000000000..abb73aecc --- /dev/null +++ b/domains/pivko.json @@ -0,0 +1,10 @@ +{ + "description": "AmbassadorGovna website", + "owner": { + "username": "AmbassadorGovna", + "email": "leshikcube+isadev@googlemail.com" + }, + "record": { + "CNAME": "vps162412.ispsite.ru" + } +} \ No newline at end of file diff --git a/domains/rahulkirangaddam.json b/domains/rahulkirangaddam.json new file mode 100644 index 000000000..6473e4784 --- /dev/null +++ b/domains/rahulkirangaddam.json @@ -0,0 +1,11 @@ +{ + "description": "Rahul Kiran Gaddam Profile", + "repo": "https://github.com/rahgadda/rahgadda.github.io", + "owner": { + "username": "rahgadda", + "email": "gaddam.rahul@gmail.com" + }, + "record": { + "CNAME": "rahgadda.github.io" + } +} \ No newline at end of file diff --git a/domains/raksix.json b/domains/raksix.json index 611242e1f..3cccdcf87 100644 --- a/domains/raksix.json +++ b/domains/raksix.json @@ -6,6 +6,6 @@ "email": "raksixoffical@gmail.com" }, "record": { - "CNAME": "raksix-blog.tk" + "CNAME": "protected-pumpkin-ic8p7okaxzxl67htg0pmv95w.herokudns.com" } -} +} \ No newline at end of file diff --git a/domains/ray.json b/domains/ray.json index 42696e659..fb99376ed 100644 --- a/domains/ray.json +++ b/domains/ray.json @@ -8,4 +8,4 @@ "record": { "URL": "https://its.rayhanadev.repl.co/" } -} +} \ No newline at end of file diff --git a/domains/rohan.json b/domains/rohan.json new file mode 100644 index 000000000..d7c83f0a2 --- /dev/null +++ b/domains/rohan.json @@ -0,0 +1,11 @@ +{ + "description": "Rohan's devlog and portfolio", + "repo": "https://github.com/rohan-bansal", + "owner": { + "username": "Rohan-Bansal", + "email": "rohan@rbansal.dev" + }, + "record": { + "URL": "https://rbansal.dev" + } +} \ No newline at end of file diff --git a/domains/rutkuli.json b/domains/rutkuli.json new file mode 100644 index 000000000..f931b0a09 --- /dev/null +++ b/domains/rutkuli.json @@ -0,0 +1,11 @@ +{ + "description": "This website is a link to my personal developer website.", + "repo": "https://github.com/rutkuli/rutkuli.github.io", + "owner": { + "username": "Rutkuli", + "email": "rutkuliofficial@gmail.com" + }, + "record": { + "CNAME": "rutkuli.github.io" + } +} \ No newline at end of file diff --git a/domains/samarth-asthana.json b/domains/samarth-asthana.json index 5450c8b43..61e55aa78 100644 --- a/domains/samarth-asthana.json +++ b/domains/samarth-asthana.json @@ -8,4 +8,4 @@ "record": { "CNAME": "samarth-asthana.github.io" } -} +} \ No newline at end of file diff --git a/domains/simo.json b/domains/simo.json index 23b9ef4e3..a0df23690 100644 --- a/domains/simo.json +++ b/domains/simo.json @@ -9,4 +9,4 @@ "record": { "URL": "https://simo.sh" } -} +} \ No newline at end of file diff --git a/domains/sjcdn.json b/domains/sjcdn.json new file mode 100644 index 000000000..54e8f0cc8 --- /dev/null +++ b/domains/sjcdn.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "CoolCoderSJ", + "email": "CoolCoderSJ@gmail.com" + }, + "description": "My CDN", + "record": { + "CNAME": "09d836a5-eaca-4299-bfec-44ca0dfc6d0d.repl.co" + } +} \ No newline at end of file diff --git a/domains/tanish2002.json b/domains/tanish2002.json index c07b0ebfd..45b9d1b6c 100644 --- a/domains/tanish2002.json +++ b/domains/tanish2002.json @@ -8,4 +8,4 @@ "record": { "CNAME": "tanish2002.github.io" } -} +} \ No newline at end of file diff --git a/domains/tessa.json b/domains/tessa.json new file mode 100644 index 000000000..461033403 --- /dev/null +++ b/domains/tessa.json @@ -0,0 +1,11 @@ +{ + "description": "My main site :)", + "repo": "https://replit.com/@RoBlockHead/tessais-adev", + "owner": { + "username": "RoBlockHead", + "email": "tessa7551@gmail.com" + }, + "record": { + "CNAME": "06745170-24e7-4954-a619-2860f8b395c2.repl.co" + } +} \ No newline at end of file diff --git a/domains/theark.json b/domains/theark.json index d0966df35..6b71a4a73 100644 --- a/domains/theark.json +++ b/domains/theark.json @@ -8,4 +8,4 @@ "record": { "URL": "https://theark.tk" } -} +} \ No newline at end of file diff --git a/domains/todo.json b/domains/todo.json new file mode 100644 index 000000000..5de89d885 --- /dev/null +++ b/domains/todo.json @@ -0,0 +1,11 @@ +{ + "description": "api for my bot", + "repo": "https://github.com/brawlie/todo", + "owner": { + "username": "brawlie", + "email": "tojoeleeofficial@gmail.com" + }, + "record": { + "CNAME": "ea156b14-963b-49f8-9d6e-f3fff240029c.repl.co" + } +} \ No newline at end of file diff --git a/domains/tovade.json b/domains/tovade.json new file mode 100644 index 000000000..4e9bc6206 --- /dev/null +++ b/domains/tovade.json @@ -0,0 +1,11 @@ +{ + "description": "My personal portfolio", + "repo": "https://github.com/tovade", + "owner": { + "username": "tovade", + "email": "support@tovade.ml" + }, + "record": { + "CNAME": "tovade.ml" + } +} \ No newline at end of file diff --git a/domains/tracker-brawley.json b/domains/tracker-brawley.json new file mode 100644 index 000000000..feec194ac --- /dev/null +++ b/domains/tracker-brawley.json @@ -0,0 +1,11 @@ +{ + "description": "a website for my biotapi", + "repo": "https://github.com/brawlie/todo", + "owner": { + "username": "brawlie", + "email": "tojoeleeofficial@gmail.com" + }, + "record": { + "CNAME": "aa1b3bae-e49b-4efd-8c55-28719da5f58c.repl.co" + } +} \ No newline at end of file diff --git a/domains/trauma.json b/domains/trauma.json new file mode 100644 index 000000000..1e5af56c9 --- /dev/null +++ b/domains/trauma.json @@ -0,0 +1,12 @@ +{ + "description": "Well, this is my github sub-domain for my future page", + "repo": "https://github.com/iitrauma/iitrauma.github.io", + "owner": { + "username": "iiTrauma", + "email": "ignacio@asia.com", + "twitter": "q1a67" + }, + "record": { + "CNAME": "iitrauma.github.io" + } +} \ No newline at end of file diff --git a/domains/unseen.json b/domains/unseen.json new file mode 100644 index 000000000..3f5c2fa2c --- /dev/null +++ b/domains/unseen.json @@ -0,0 +1,11 @@ +{ + "description": "Unseen's Github Website", + "repo": "https://github.com/UnseenAcoustics/unseenacoustics.github.io", + "owner": { + "username": "UnseenAcoustics", + "email": "edwir122@gmail.com" + }, + "record": { + "CNAME": "unseenacoustics.github.io" + } +} \ No newline at end of file diff --git a/domains/verite.json b/domains/verite.json new file mode 100644 index 000000000..048979880 --- /dev/null +++ b/domains/verite.json @@ -0,0 +1,11 @@ +{ + "repo": "https://github.com/makuzaverite/veritem.me", + "owner": { + "username": "makuzaverite", + "email": "mugaboverite@gmail.com", + "twitter": "makuza_mugabo_v" + }, + "record": { + "URL": "https://veritem.me" + } +} \ No newline at end of file diff --git a/domains/wablesanket.json b/domains/wablesanket.json index f550c17e9..403d822aa 100644 --- a/domains/wablesanket.json +++ b/domains/wablesanket.json @@ -9,4 +9,4 @@ "record": { "URL": "https://wablesanket.xyz" } -} +} \ No newline at end of file diff --git a/domains/wiicreation.json b/domains/wiicreation.json new file mode 100644 index 000000000..e0726aadb --- /dev/null +++ b/domains/wiicreation.json @@ -0,0 +1,11 @@ +{ + "description": "Wiicreation is a recreation of the Nintendo Wii made in ElectronJS.", + "repo": "https://github.com/C1200/WiicreationWebsite", + "owner": { + "username": "C1200", + "email": "coreyw.ultimatemedia@gmail.com" + }, + "record": { + "CNAME": "C1200.github.io" + } +} \ No newline at end of file diff --git a/domains/yajat.json b/domains/yajat.json index 72c522f22..ea09cb5ed 100644 --- a/domains/yajat.json +++ b/domains/yajat.json @@ -8,4 +8,4 @@ "record": { "URL": "https://www.iamyajat.co/" } -} +} \ No newline at end of file diff --git a/domains/yajtpg.json b/domains/yajtpg.json index b7ce2b4ce..0bf0bf90a 100644 --- a/domains/yajtpg.json +++ b/domains/yajtpg.json @@ -6,6 +6,6 @@ "email": "yajtpg@gmail.com" }, "record": { - "CNAME": "yajtpg.github.io" + "CNAME": "yajtpg.pages.dev" } } \ No newline at end of file diff --git a/domains/yuto.json b/domains/yuto.json new file mode 100644 index 000000000..e2c5faec2 --- /dev/null +++ b/domains/yuto.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "starptr", + "email": "yuto@berkeley.edu" + }, + "description": "Personal website", + "record": { + "URL": "https://yart.me" + } +} \ No newline at end of file diff --git a/domains/zplusfour.json b/domains/zplusfour.json new file mode 100644 index 000000000..2c23d5347 --- /dev/null +++ b/domains/zplusfour.json @@ -0,0 +1,11 @@ +{ + "description": "zplusfour's personal developer website", + "repo": "https://github.com/zplusfour", + "owner": { + "username": "zplusfour", + "email": "zgjoniur@gmail.com" + }, + "record": { + "CNAME": "zplusfour.repl.co" + } +} \ No newline at end of file diff --git a/domains/zyrouge.json b/domains/zyrouge.json new file mode 100644 index 000000000..71c70e27d --- /dev/null +++ b/domains/zyrouge.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "zyrouge", + "email": "", + "twitter": "_zyrouge_" + }, + "record": { + "CNAME": "05ea616c-76a5-49f2-a7ab-448a31700949.repl.co" + } +} diff --git a/scripts/certbot.sh b/scripts/certbot.sh index 754f38d2d..f8809e4a1 100755 --- a/scripts/certbot.sh +++ b/scripts/certbot.sh @@ -74,15 +74,16 @@ upload_acme_file() { } reset_acme() { - update_record remove A 'www.is-a.dev' "68.65.123.44"; + update_record remove A 'www' "68.65.123.44"; sleep 1; - update_record add CNAME 'www.is-a.dev' "is-a-dev.github.io"; + update_record add CNAME 'www' "is-a-dev.github.io"; } 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" ;; cert) generate_certificate ;; @@ -95,6 +96,7 @@ esac # Run ./scripts/certbot.sh cert # Run ./scripts/certbot.sh acme_txt "" # Run ./scripts/certbot.sh acme_file "" "" +# Run ./scripts/certbot.sh config_www # Upload cert.pem and privkey.pem contents to SSL > Manage SSL Sites # Run ./scripts/certbot.sh reset