mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-08-14 12:26:23 +00:00
Merge branch 'main' into main
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: Helper
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Comment
|
||||
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true
|
||||
if: github.event.action == 'closed' && github.event.pull_request.merged == true
|
||||
uses: actions/github-script@v3
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
@@ -20,4 +20,5 @@ jobs:
|
||||
const { hasLabel } = require(`${process.env.GITHUB_WORKSPACE}/scripts/action-utils.js`);
|
||||
const { instructions } = require(`${process.env.GITHUB_WORKSPACE}/scripts/reply.js`);
|
||||
if (hasLabel(context, 'domain'))
|
||||
await instructions(context, github);
|
||||
console.log('Domain');
|
||||
await instructions(context, github);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: Checks
|
||||
on: [pull_request_target]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
@@ -17,10 +17,10 @@ jobs:
|
||||
uses: borales/actions-yarn@v2.0.0
|
||||
with:
|
||||
cmd: test
|
||||
label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Labelling pull request
|
||||
uses: actions/labeler@main
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
#label:
|
||||
#runs-on: ubuntu-latest
|
||||
#steps:
|
||||
#- name: Labelling pull request
|
||||
#uses: actions/labeler@main
|
||||
#with:
|
||||
#repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
@@ -1,132 +1 @@
|
||||
# How to register
|
||||
* First you need to create a pull request with your `domains/my-domain.json` file
|
||||
* This PR will be reviewed
|
||||
* The changes will take effect soon after the PR gets merged
|
||||
* And that's it
|
||||
|
||||
### Simple cname record
|
||||
* A github pages json file will look something like this -
|
||||
```json
|
||||
{
|
||||
"description": "Add some description",
|
||||
"repo": "https://github.com/github-username",
|
||||
"owner": {
|
||||
"username": "github-username",
|
||||
"email": "any@email"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "the-domain-you-own.com"
|
||||
}
|
||||
}
|
||||
```
|
||||
* After the pull request is merged, configure your server (apache, nginx, whatever) to work with `subdomain.is-a.dev`
|
||||
|
||||
|
||||
### For github pages users
|
||||
* A github pages json file will look something like this -
|
||||
```json
|
||||
{
|
||||
"description": "Add some description",
|
||||
"repo": "https://github.com/github-username/github-username.github.io",
|
||||
"owner": {
|
||||
"username": "github-username",
|
||||
"email": "any@email"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "github-username.github.io"
|
||||
}
|
||||
}
|
||||
```
|
||||
* After the pull request is merged, you will see a 404 error on `your-domain.is-a.dev`. To fix this go to your github page repo's `Settings > Github pages > Custom domain` and add `your-domain.is-a.dev` in the given field
|
||||
* Check the `Enforce HTTPS` checkbox below the custom domain input
|
||||
|
||||
|
||||
|
||||
# Domains json file
|
||||
The way you register your own domain name is through a pull request.
|
||||
To register `my-domain.is-a.dev`, you need to create a `domains/my-domain.json` file
|
||||
|
||||
### Filename
|
||||
The file name must pass the following criteria -
|
||||
* Must be alpha-numeric in lowercase with dashes as seperators
|
||||
* Must be more than 2 characters long
|
||||
* Must have a `.json` file extension
|
||||
|
||||
|
||||
The file needs to have the following fields -
|
||||
|
||||
### owner (required)
|
||||
You need to specify some information about yourself here.
|
||||
This is so that you can be contacted if required.
|
||||
|
||||
In the owner object, the fields `username` and `email` are required. You can however add more information in this object if you need.
|
||||
```json
|
||||
{
|
||||
"owner": {
|
||||
"username": "github-username",
|
||||
"email": "any@email"
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
If you don't wish to share your email address here, please share your twitter or any other social media account.
|
||||
```json
|
||||
{
|
||||
"owner": {
|
||||
"username": "github-username",
|
||||
"email": "",
|
||||
"twitter": "twitter-handle"
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### description
|
||||
Describe your domain name and your usage. This is purely for documentation purpose and is optional.
|
||||
|
||||
|
||||
### repo
|
||||
This is a link to your website repository or your github account. This is purely for documentation purpose and is optional.
|
||||
|
||||
|
||||
### record (required)
|
||||
This is where you specify how you want to link to your server/webpage.
|
||||
|
||||
Currently, only `CNAME`, `A`, `URL` record types are supported.
|
||||
|
||||
Here's a few different use cases for the given record types -
|
||||
|
||||
* **CNAME**
|
||||
CNAME must be a host name (Eg - `something.tld`)
|
||||
```json
|
||||
{
|
||||
"record": {
|
||||
"CNAME": "username.github.io"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
* **A record**
|
||||
A record must be a list of ips
|
||||
```json
|
||||
{
|
||||
"record": {
|
||||
"A": [
|
||||
"999.999.991.999",
|
||||
"999.999.992.999",
|
||||
"999.999.993.999",
|
||||
"999.999.994.999"
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
* **URL redirection**
|
||||
```json
|
||||
{
|
||||
"record": {
|
||||
"URL": "https://my-other-website.com"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Moved to [./docs](./docs)
|
||||
|
||||
@@ -2,16 +2,13 @@
|
||||
|
||||
<br />
|
||||
|
||||
is-a-dev is a service that allows developers to get a sweet-looking `.is-a.dev` domain for their personal websites.
|
||||
|
||||
Note: This service is currently in **beta** so expect some delays in PR merge and report any issues you encounter so that the service can be improved.
|
||||
|
||||
**is-a-dev** is a service that allows developers to get a sweet-looking `.is-a.dev` domain for their personal websites.
|
||||
|
||||
|
||||
## How do I register?
|
||||
* Fork this project
|
||||
* Add a `your-domain-name.json` new file in `domains/` directory to register `your-domain-name.is-a.dev`
|
||||
* [Read the docs for information about the json file](./API.md)
|
||||
* Add a new `domains/your-domain-name.json` file directory to register `your-domain-name.is-a.dev`
|
||||
* [Read the docs](./docs)
|
||||
* The PR will be reviewed and merged
|
||||
* After merging, the changes will take effect within a day
|
||||
* That's it! Done! Now go show off your cool `.is-a.dev` domain
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# How to register
|
||||
You can read the [domains.json file api reference](./domains-json.md) for more information about the json file structure.
|
||||
|
||||
### Websites hosted at
|
||||
* [For github pages users](./hosted-at/github-pages.md)
|
||||
* [For other services](./hosted-at/others.md)
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
# Domains json file
|
||||
The way you register your own domain name is through a pull request.
|
||||
To register `my-domain.is-a.dev`, you need to create a `domains/my-domain.json` file
|
||||
|
||||
### Filename
|
||||
The file name must pass the following criteria -
|
||||
* Must be alpha-numeric in lowercase with dashes as seperators
|
||||
* Must be more than 2 characters long
|
||||
* Must have a `.json` file extension
|
||||
|
||||
|
||||
The file needs to have the following fields -
|
||||
|
||||
### owner (required)
|
||||
You need to specify some information about yourself here.
|
||||
This is so that you can be contacted if required.
|
||||
|
||||
In the owner object, the fields `username` and `email` are required. You can however add more information in this object if you need.
|
||||
```json
|
||||
{
|
||||
"owner": {
|
||||
"username": "github-username",
|
||||
"email": "any@email"
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
If you don't wish to share your email address here, please share your twitter or any other social media account.
|
||||
```json
|
||||
{
|
||||
"owner": {
|
||||
"username": "github-username",
|
||||
"email": "",
|
||||
"twitter": "twitter-handle"
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### description
|
||||
Describe your domain name and your usage. This is purely for documentation purpose and is optional.
|
||||
|
||||
|
||||
### repo
|
||||
This is a link to your website repository or your github account. This is purely for documentation purpose and is optional.
|
||||
|
||||
|
||||
### record (required)
|
||||
This is where you specify how you want to link to your server/webpage.
|
||||
|
||||
Currently, only `CNAME`, `A`, `URL` record types are supported.
|
||||
|
||||
Here's a few different use cases for the given record types -
|
||||
|
||||
* **CNAME**
|
||||
CNAME must be a host name (Eg - `something.tld`)
|
||||
```json
|
||||
{
|
||||
"record": {
|
||||
"CNAME": "username.github.io"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
* **A record**
|
||||
A record must be a list of ips
|
||||
```json
|
||||
{
|
||||
"record": {
|
||||
"A": [
|
||||
"999.999.991.999",
|
||||
"999.999.992.999",
|
||||
"999.999.993.999",
|
||||
"999.999.994.999"
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
* **URL redirection**
|
||||
```json
|
||||
{
|
||||
"record": {
|
||||
"URL": "https://my-other-website.com"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
# For github pages
|
||||
|
||||
### Creating a github pages repo
|
||||
You can create a github pages website by creating a repo with the name `<your-github-username>.github.io`.
|
||||
For more information about github pages, please read through [their guide](https://guides.github.com/features/pages/).
|
||||
|
||||
|
||||
### Domains file
|
||||
Create a json file inside the `domains` directory (`domains/<subdomain>.json`) with the following contents
|
||||
```json
|
||||
{
|
||||
"description": "Add some description",
|
||||
"repo": "https://github.com/github-username/github-username.github.io",
|
||||
"owner": {
|
||||
"username": "github-username",
|
||||
"email": "any@email",
|
||||
"twitter": "your-twitter-username"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "github-username.github.io"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Configuring your repo
|
||||
* After the pull request is merged, you will see a 404 error on `your-domain.is-a.dev`. To fix this go to your github page repo's `Settings > Github pages > Custom domain` and add `your-domain.is-a.dev` in the given field
|
||||
* Check the `Enforce HTTPS` checkbox below the custom domain input
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
# For other hosting services
|
||||
|
||||
### Domains file
|
||||
Create a json file inside the `domains` directory (`domains/<subdomain>.json`) with the following contents
|
||||
```json
|
||||
{
|
||||
"description": "Add some description",
|
||||
"repo": "https://github.com/github-username",
|
||||
"owner": {
|
||||
"username": "github-username",
|
||||
"email": "any@email"
|
||||
},
|
||||
"record": {}
|
||||
}
|
||||
```
|
||||
|
||||
### Record
|
||||
In your `record` key of the json file, you need to add one of the following -
|
||||
* CNAME record
|
||||
```json
|
||||
{
|
||||
"record": {
|
||||
"CNAME": "the-domain-you-own.com"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
* A records
|
||||
```json
|
||||
{
|
||||
"record": {
|
||||
"A": [
|
||||
"69.69.69.69",
|
||||
"69.69.69.70"
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
* URL redirection
|
||||
```json
|
||||
{
|
||||
"record": {
|
||||
"URL": "https://your-website.com"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Configuring your server
|
||||
After the pull request is merged, **configure your server** (apache, nginx, whatever) to work with `<subdomain>.is-a.dev`. If you are unsure how to configure your server, you can create an issue for support.
|
||||
|
||||
You should also, include `<subdomain>.is-a.dev` in your **ssl certificate** to get rid of certificate errors
|
||||
|
||||
+3
-1
@@ -5,5 +5,7 @@
|
||||
"username": "phenax",
|
||||
"email": "phenax5@gmail.com"
|
||||
},
|
||||
"record": {}
|
||||
"record": {
|
||||
"URL": "http://www.is-a.dev"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "A personal portfolio site for all my projects and commissions.",
|
||||
"repo": "https://github.com/aakhilv/portfolio",
|
||||
"owner": {
|
||||
"username": "aakhilv",
|
||||
"email": "bluninja165@gmail.com",
|
||||
"twitter": "corruptblu"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "aakhilv.github.io"
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@
|
||||
"record": {
|
||||
"CNAME": "adarsh-qclw.github.io"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Adarsh Vijay's Site for things he doesn't know yet",
|
||||
"repo": "https://github.com/adarsh-av13/adarsh-av13.github.io",
|
||||
"owner": {
|
||||
"username": "adarsh-av13",
|
||||
"email": "dra4474@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "adarsh-av13.github.io"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -8,4 +8,4 @@
|
||||
"record": {
|
||||
"CNAME": "rd73mzgq78p59yq0.preview.edgeapp.net"
|
||||
}
|
||||
}
|
||||
}
|
||||
+10
-10
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"description": "Aizuu's Personal Website",
|
||||
"repo": "https://github.com/VeguiIzumi",
|
||||
"owner": {
|
||||
"username": "Aizuu",
|
||||
"email": "baby@alvindaldi.my.id"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "aizuu.my.id"
|
||||
}
|
||||
}
|
||||
"description": "Aizuu's Personal Website",
|
||||
"repo": "https://github.com/VeguiIzumi",
|
||||
"owner": {
|
||||
"username": "Aizuu",
|
||||
"email": "baby@alvindaldi.my.id"
|
||||
},
|
||||
"record": {
|
||||
"URL": "https://aizuu.my.id"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "my-portfolio website",
|
||||
"repo": "https://github.com/akashmadhu4",
|
||||
"owner": {
|
||||
"username": "akashmadhu4",
|
||||
"email": "akashmadhu4@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "akashmadhu.engineer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "Allvaa's personal website",
|
||||
"repo": "https://github.com/Allvaa",
|
||||
"owner": {
|
||||
"username": "Allvaa",
|
||||
"email": "",
|
||||
"twitter": "allvzx"
|
||||
},
|
||||
"record": {
|
||||
"URL": "https://allvaa.my.id"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "My personal portfolio",
|
||||
"repo": "https://github.com/amar13mehta/amar13mehta.github.io",
|
||||
"owner": {
|
||||
"username": "amar13mehta",
|
||||
"email": "amar13iam@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "amar13mehta.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Personal portfolio",
|
||||
"repo": "https://github.com/AM-77/am-77.github.io/",
|
||||
"owner": {
|
||||
"username": "am-77",
|
||||
"email": "amine.griche77@protonmail.ch"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "am-77.github.io"
|
||||
}
|
||||
}
|
||||
+3
-1
@@ -6,6 +6,8 @@
|
||||
"email": "anatoliy.poloz@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "tolyod.github.io"
|
||||
"A": [
|
||||
"185.185.71.114"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "Meet Arpana!",
|
||||
"repo": "https://github.com/winter-code/winter-code",
|
||||
"owner": {
|
||||
"username": "winter-code",
|
||||
"email": "arpana11mehta@gmail.com",
|
||||
"twitter": "arpana_naa"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "winter-code.github.io"
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,6 @@
|
||||
"email": "augustineaykara@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "augustine.aykara4.com"
|
||||
"URL": "http://augustine.aykara4.com"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "The Interstellar Twilight",
|
||||
"repo": "https://github.com/avinal/avinal.github.io",
|
||||
"owner": {
|
||||
"username": "avinal",
|
||||
"email": "185067@nith.ac.in"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "avinal.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Awan Shrestha's Site",
|
||||
"owner": {
|
||||
"username": "awanshrestha",
|
||||
"email": "awa1shrestha@gmail.com",
|
||||
"twitter": "awanshrestha1"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "awanshrestha.github.io"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"description": "Brandons's personal developer website",
|
||||
"repo": "https://github.com/b-hexsoul",
|
||||
"description": "Brandon Hexsel - Full Stack Engineer",
|
||||
"repo": "https://github.com/b-hexsoul/b-hexsoul.github.io",
|
||||
"owner": {
|
||||
"username": "b-hexsoul",
|
||||
"email": "brandon.hexsel@gmail.com"
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "Sly-Little-Fox",
|
||||
"email": "paranormal.studio123@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "sly-little-fox.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Dan's Blog and Portfolio",
|
||||
"repo": "https://github.com/DanField12/DanField12.github.io.git",
|
||||
"owner": {
|
||||
"username": "DanField12",
|
||||
"email": "dan.field643@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "DanField12.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Dinesh Kumar's personal developer website",
|
||||
"repo": "https://github.com/dinesh-ysl/dinesh-ysl.github.io",
|
||||
"owner": {
|
||||
"username": "dinesh-ysl",
|
||||
"email": "dseera6@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "dinesh-ysl.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "DylanK46",
|
||||
"email": "kainth.dylan@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"A": [
|
||||
"90.217.214.245"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Echo's personal website",
|
||||
"repo": "https://github.com/echo2477/echo2477.github.io",
|
||||
"owner": {
|
||||
"username": "echo2477",
|
||||
"email": "pku.eko16@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "echo2477.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Dinesh Kumar's personal developer website",
|
||||
"repo": "https://github.com/eldinesh/eldinesh.github.io",
|
||||
"owner": {
|
||||
"username": "eldinesh",
|
||||
"email": "dseera6@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "eldinesh.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Elflanded's Development Website.",
|
||||
"repo": "https://github.com/Elflanded/website",
|
||||
"owner": {
|
||||
"username": "Elflanded",
|
||||
"email": "elflanded@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "elflanded.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Epic's github",
|
||||
"repo": "https://github.com/tag-epic",
|
||||
"owner": {
|
||||
"username": "tag-epic",
|
||||
"email": "tagepicuwu@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"URL": "http://github.com/tag-epic"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "My portfolio website",
|
||||
"repo": "https://github.com/Fauzannnnh/website",
|
||||
"owner": {
|
||||
"username": "Fauzannnnh",
|
||||
"email": "fauzan@eenthlh.xyz"
|
||||
},
|
||||
"record": {
|
||||
"URL": "https://eenthlh.xyz"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Fayyadh Personal Website",
|
||||
"repo": "https://github.com/Abdurrahman075/reweb",
|
||||
"owner": {
|
||||
"username": "Fayyadh",
|
||||
"email": "fayyadh.abdurrahman007@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "glitch.edgeapp.net"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -6,6 +6,6 @@
|
||||
"email": "aykarageorge@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "george.aykara4.com"
|
||||
"URL": "https://george.aykara4.com"
|
||||
}
|
||||
}
|
||||
+1
-3
@@ -4,8 +4,6 @@
|
||||
"email": "domains@dontsend.me"
|
||||
},
|
||||
"record": {
|
||||
"A": [
|
||||
"50.116.28.162"
|
||||
]
|
||||
"URL": "https://me.getify.com"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "Gustavo Arsenio's talk blog ",
|
||||
"repo": "https://github.com/GustavoArsenio/GustavoArsenio.github.io",
|
||||
"owner": {
|
||||
"username": "GustavoArsenio",
|
||||
"email": "Gustavo.arsenio.sousa@hotmail.com",
|
||||
"twitter": "gustavoarsenio"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "GustavoArsenio.github.io"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -8,4 +8,4 @@
|
||||
"record": {
|
||||
"CNAME": "nystrex.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Personal Portfolio",
|
||||
"repo": "https://github.com/irfanbacker/irfanbacker.github.io",
|
||||
"owner": {
|
||||
"username": "irfanbacker",
|
||||
"email": "irfuvk@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "irfanbacker.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Vedant Naidu's Portfolio",
|
||||
"repo": "https://github.com/Flash2014/Flash2014.github.io",
|
||||
"owner": {
|
||||
"username": "Flash2014",
|
||||
"email": "naiduvedant@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "Flash2014.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Jeff Jessie's Portfolio Website",
|
||||
"repo": "https://github.com/j3ffjessie/j3ffjessie.github.io",
|
||||
"owner": {
|
||||
"username": "j3ffjessie",
|
||||
"email": "j3ffjessie@protonmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "j3ffjessie.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "Jeferson Brito's Portfolio",
|
||||
"repo": "https://github.com/jeferson-sb/portfolio",
|
||||
"owner": {
|
||||
"username": "jeferson-sb",
|
||||
"email": "",
|
||||
"linkedin": "https://www.linkedin.com/in/jeferson-sb/"
|
||||
},
|
||||
"record": {
|
||||
"URL": "https://www.jefersonsilva.me/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"description": "joesbrandt",
|
||||
"owner": {
|
||||
"username": "joesbrandt",
|
||||
"email": "joesbrandt@icloud.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "joesbrandt.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "HerrBlauzahn",
|
||||
"email": "justus.is-a.dev@herrblauzahn.de"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "herrblauzahn.github.io"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -5,6 +5,6 @@
|
||||
"email": "business@kaguwo.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "kaguwo.com"
|
||||
"CNAME": "kaguwomin.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "Portfolio website",
|
||||
"repo": "https://github.com/dkaviarasu/dkaviarasu.github.io",
|
||||
"owner": {
|
||||
"username": "dkaviarasu",
|
||||
"email": "",
|
||||
"twitter": "kaviarasudm"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "dkaviarasu.github.io"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -6,4 +6,4 @@
|
||||
"record": {
|
||||
"CNAME": "grumpyoldfart.org"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "KobeFF's Portfolio",
|
||||
"repo": "please get the code from https://its.kobeff.repl.co",
|
||||
"owner": {
|
||||
"username": "Kobe523",
|
||||
"email": "kfni@madison.k12.wi.us"
|
||||
},
|
||||
"record": {
|
||||
"URL": "https://its.kobeff.repl.co"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Liju's personal development page",
|
||||
"repo": "https://github.com/lijujayakumar/lijujayakumar.github.io",
|
||||
"owner": {
|
||||
"username": "lijujayakumar",
|
||||
"email": "lijusankar@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "lijujayakumar.github.io"
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "lsantana486",
|
||||
"email": "lsantana.486@gmail.com"
|
||||
},
|
||||
"description": "Personal domain for portofolio with my name Luis Santana",
|
||||
"repo": "https://github.com/lsantana486/lsantana486",
|
||||
"record": {
|
||||
"CNAME": "lsantana.dev"
|
||||
}
|
||||
"owner": {
|
||||
"username": "lsantana486",
|
||||
"email": "lsantana.486@gmail.com"
|
||||
},
|
||||
"description": "Personal domain for portofolio with my name Luis Santana",
|
||||
"repo": "https://github.com/lsantana486/lsantana486",
|
||||
"record": {
|
||||
"CNAME": "lsantana.dev"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -8,4 +8,4 @@
|
||||
"record": {
|
||||
"CNAME": "mbrav.github.io"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"description": "Meong github page using .is-a.dev subdomain",
|
||||
"repo": "https://github.com/Fauzannnnh/fauzannnnh.github.io",
|
||||
"owner": {
|
||||
"username": "Fauzannnnh",
|
||||
"email": "fauzan@eenthlh.xyz"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "fauzannnnh.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "This website is a link to my personal blog.",
|
||||
"repo": "https://github.com/mioscape/mioscape.github.io",
|
||||
"owner": {
|
||||
"username": "mioscape",
|
||||
"email": "mioscape@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "mioscape.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "Mohaned's personal website",
|
||||
"repo": "https://github.com/mohanedashraf/mohanedashraf.github.io",
|
||||
"owner": {
|
||||
"username": "mohanedashraf",
|
||||
"email": "",
|
||||
"twitter": "mohanedzz"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "mohanedashraf.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Personal Page",
|
||||
"repo": "https://github.com/mrkOS1210/mrkos1210.github.io",
|
||||
"owner": {
|
||||
"username": "mrkOS1210",
|
||||
"email": "72011329+mrkOS1210@users.noreply.github.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "mrkOS1210.github.io"
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@
|
||||
"record": {
|
||||
"CNAME": "tommasopifferi.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "An awesome new place for my Portfolio !",
|
||||
"repo": "https://github.com/parthpanchal123/profile",
|
||||
"owner": {
|
||||
"username": "parthpanchal123",
|
||||
"email": "parthpanchal53@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "parthpanchal123.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Prabhakaran J M is a dev",
|
||||
"repo": "https://github.com/prajaymas/prajaymas.github.io",
|
||||
"owner": {
|
||||
"username": "prabhakaranjm",
|
||||
"email": "prabhakaran.jm@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "prajaymas.github.io"
|
||||
}
|
||||
}
|
||||
+10
-10
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"description": "This website is a link to my personal developer portfolio.",
|
||||
"repo": "https://github.com/rafalmeida73/rafalmeida73.github.io",
|
||||
"owner": {
|
||||
"username": "rafalmeida73",
|
||||
"email": "rafaelsantana7213@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "rafalmeida73.github.io"
|
||||
}
|
||||
}
|
||||
"description": "This website is a link to my personal developer portfolio.",
|
||||
"repo": "https://github.com/rafalmeida73/rafalmeida73.github.io",
|
||||
"owner": {
|
||||
"username": "rafalmeida73",
|
||||
"email": "rafaelsantana7213@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "rafalmeida73.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Personal website of Rameez",
|
||||
"repo": "https://github.com/rameezrami/rameezrami.github.io",
|
||||
"owner": {
|
||||
"username": "rameezrami",
|
||||
"email": "rameespu@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "rameezrami.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "RayhanADev's Website!",
|
||||
"repo": "https://github.com/rayhanadev/site",
|
||||
"owner": {
|
||||
"username": "rayhanadev",
|
||||
"email": "rayhan.arayilakath@wa-students.org"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "b0ab519e-38d4-41f0-a0ca-912ac3b6dfac.repl.co"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Robert's portfolio",
|
||||
"repo": "https://github.com/treboryx",
|
||||
"owner": {
|
||||
"username": "treboryx",
|
||||
"email": "treboryx@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "roberto.gr"
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@
|
||||
"record": {
|
||||
"CNAME": "rohithill.github.io"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "My personal Portfolio",
|
||||
"repo": "https://github.com/RohitKaushal7/RohitKaushal7.github.io",
|
||||
"owner": {
|
||||
"username": "RohitKaushal7",
|
||||
"email": "rohitkk252550@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "rohitkaushal7.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "URL forwarder",
|
||||
"repo": "https://github.com/roydondsouza",
|
||||
"owner": {
|
||||
"username": "roydondsouza",
|
||||
"email": "",
|
||||
"twitter": "roydondsouza"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "roydondsouza.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "URL forwarder",
|
||||
"repo": "https://github.com/roydondsouza",
|
||||
"owner": {
|
||||
"username": "roydondsouza",
|
||||
"email": "",
|
||||
"twitter": "roydondsouza"
|
||||
},
|
||||
"record": {
|
||||
"URL": "https://www.roydondsouza.com"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "rvsp",
|
||||
"email": "pvenkat.rv@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "rvsp.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Sabil Shrestha's Site",
|
||||
"owner": {
|
||||
"username": "sabilshrestha",
|
||||
"email": "kongbill6363@gmail.com",
|
||||
"twitter": "kongbill62"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "sabil62.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Personal portfolio site",
|
||||
"repo": "https://github.com/saeef/isaeef.git",
|
||||
"owner": {
|
||||
"username": "saeef",
|
||||
"email": "saeef@outlook.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "saeef.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Documentation pages for Samuel apps.",
|
||||
"repo": "https://github.com/SISBEST/sisbest.github.io",
|
||||
"owner": {
|
||||
"username": "SISBEST",
|
||||
"email": "samuel@samuelsharp.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "sisbest.github.io"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -8,4 +8,4 @@
|
||||
"record": {
|
||||
"CNAME": "diordnas.github.io"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Sascha Monteiro's personal dev website",
|
||||
"repo": "https://github.com/saschamonteiro",
|
||||
"owner": {
|
||||
"username": "saschamonteiro",
|
||||
"email": "info@purejs.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "www.purejs.com"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "The Slavic Dev Website",
|
||||
"repo": "https://github.com/SlavicMan/slavicman.github.io",
|
||||
"owner": {
|
||||
"username": "SlavicMan",
|
||||
"email": "kizz4114@yahoo.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "slavicman.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "starkblaze01's world",
|
||||
"repo": "https://github.com/starkblaze01/starkblaze01",
|
||||
"owner": {
|
||||
"username": "starkblaze01",
|
||||
"email": "mp.pathela@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"URL": "https://starkblaze01.netlify.app/"
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"description": "Tharindu's personal developer website",
|
||||
"repo": "https://github.com/tharindusathis/tharindu",
|
||||
"repo": "https://github.com/tharindusathis/tharindusathis.github.io",
|
||||
"owner": {
|
||||
"username": "tharindusathis",
|
||||
"email": "tharindu.sathis@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "tharindu.vercel.app"
|
||||
"CNAME": "tharindusathis.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Tibebe is a dev",
|
||||
"repo": "https://github.com/TibebeJS/tibebejs.github.io",
|
||||
"owner": {
|
||||
"username": "TibebeJs",
|
||||
"email": "tibebes.js@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "tibebejs.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "A Site for Me",
|
||||
"repo": "https://github.com/EndBot4023/endbot4023.github.io",
|
||||
"owner": {
|
||||
"username": "endbot4023",
|
||||
"email": "endbot4023@gmail.com",
|
||||
"twitter": "joonseongi"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "endbot4023.github.io"
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"description": "Enterprise ID Website",
|
||||
"repo": "https://github.com/Enterprise-ID",
|
||||
"owner": {
|
||||
"username": "enterpriseid",
|
||||
"email": "enterprise.id13@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "tokisaki.xyz"
|
||||
}
|
||||
"description": "Enterprise ID Website",
|
||||
"repo": "https://github.com/Enterprise-ID",
|
||||
"owner": {
|
||||
"username": "enterpriseid",
|
||||
"email": "enterprise.id13@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "tokisaki.xyz"
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@
|
||||
"record": {
|
||||
"URL": "https://holy-mail.de"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "Willian Arsenio's Website",
|
||||
"repo": "https://github.com/waveiro/waveiro.github.io",
|
||||
"owner": {
|
||||
"username": "waveiro",
|
||||
"email": "",
|
||||
"twitter": "@waveiro"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "waveiro.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "A First Willo`s Website",
|
||||
"repo": "https://github.com/WilloIzCitron/willoizcitron.github.io",
|
||||
"owner": {
|
||||
"username": "WilloIzCitron",
|
||||
"email": "",
|
||||
"twitter": "tegasaziz"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "willoizcitron.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "YajTPG's website",
|
||||
"repo": "https://github.com/YajTPG/yajtpg.github.io",
|
||||
"owner": {
|
||||
"username": "YajTPG",
|
||||
"email": "yajtpg@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "yajtpg.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "ysfchn's personal website",
|
||||
"repo": "https://github.com/ysfchn",
|
||||
"owner": {
|
||||
"username": "ysfchn",
|
||||
"email": "hi@ysfchn.com"
|
||||
},
|
||||
"record": {
|
||||
"URL": "https://ysfchn.com"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"description": "this a link to my github profile.",
|
||||
"owner": {
|
||||
"username": "yusuf007r",
|
||||
"email": "yusufmaster7@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"URL": "https://github.com/Yusuf007R"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "ZeroTwo's Website",
|
||||
"repo": "https://github.com/ZeroTwoDev",
|
||||
"owner": {
|
||||
"username": "ZeroTwoDev",
|
||||
"email": "zerotwo@zerotwo.bot"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "zerotwodev.github.io"
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@
|
||||
"record": {
|
||||
"CNAME": "rd73mzgq7jp59yq0.preview.edgeapp.net"
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -7,7 +7,7 @@ const migrate = ([file, domain]) => [
|
||||
file,
|
||||
{
|
||||
...domain,
|
||||
record: /\.is-a\.dev$/.test(domain.record.URL || '')
|
||||
record: file !== '@.json' && /\.is-a\.dev$/.test(domain.record.URL || '')
|
||||
? R.dissoc('URL', domain.record)
|
||||
: domain.record,
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ const { then, log, print, lazyTask, batchLazyTasks } = require('./helpers');
|
||||
const BATCH_SIZE = 1;
|
||||
|
||||
const recordToRedirection = ({ name, address }) => ({
|
||||
domain: `${name}.${DOMAIN_DOMAIN}`,
|
||||
domain: name === '@' ? DOMAIN_DOMAIN : `${name}.${DOMAIN_DOMAIN}`,
|
||||
redirect: address,
|
||||
type: 'permanent',
|
||||
redirect_wildcard: 1,
|
||||
@@ -20,7 +20,7 @@ const recordToZone = ({ name, type, address, id }) => ({
|
||||
...(type === 'CNAME' ? { cname: address } : {}),
|
||||
});
|
||||
|
||||
const cleanName = name => `${name}`.replace(new RegExp(`\\.${DOMAIN_DOMAIN}\\.?$`), '').toLowerCase();
|
||||
const cleanName = name => name === DOMAIN_DOMAIN ? '@' : `${name}`.replace(new RegExp(`\\.${DOMAIN_DOMAIN}\\.?$`), '').toLowerCase();
|
||||
|
||||
const zoneToRecord = ({ name, type, cname, address, record, line: id }) => ({
|
||||
id,
|
||||
@@ -42,7 +42,7 @@ const diffRecords = (oldRecords, newRecords) => {
|
||||
|
||||
const remove = R.differenceWith(isMatchingRecord, oldRecords, newRecords);
|
||||
const add = R.differenceWith(isMatchingRecord, newRecords, oldRecords)
|
||||
.filter(r => !['www', '@'].includes(r.name));
|
||||
.filter(r => !['www'].includes(r.name));
|
||||
|
||||
return { add, remove };
|
||||
};
|
||||
|
||||
+8
-3
@@ -1,11 +1,16 @@
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const R = require('ramda');
|
||||
const { DOMAINS_PATH } = require('./constants');
|
||||
const {DOMAINS_PATH} = require('./constants');
|
||||
|
||||
const toDomain = str => path.join(DOMAINS_PATH, str);
|
||||
|
||||
const toDomainData = R.compose(JSON.parse, R.toString, fs.readFileSync, toDomain);
|
||||
const parseDomain = str => {
|
||||
try {return JSON.parse(str);}
|
||||
catch (e) {throw new Error("Error: Cant parse " + str);}
|
||||
};
|
||||
|
||||
const toDomainData = R.compose(parseDomain, R.toString, fs.readFileSync, toDomain);
|
||||
|
||||
const getDomains = () =>
|
||||
fs.promises.readdir(DOMAINS_PATH, {})
|
||||
@@ -14,4 +19,4 @@ const getDomains = () =>
|
||||
name: name.replace(/\.json$/, ''),
|
||||
})));
|
||||
|
||||
module.exports = { getDomains };
|
||||
module.exports = {getDomains};
|
||||
|
||||
Reference in New Issue
Block a user