Merge branch 'open-domains:main' into main

This commit is contained in:
naybiblu authored and GitHub committed 2022-12-03 19:41:13 +08:00
commit 7ada10c2c5
34 files changed
+278 -208

No files matched your search

+1
View File
@@ -0,0 +1 @@
custom: https://paypal.me/andrewstechyoutube
+12 -7
View File
@@ -1,11 +1,16 @@
<!--
<!-- To make our job easier, please spend time to review your application before submitting. -->
⚠ To make our job easier, please spend time reviewing your application before submitting it.
## Requirements
- [x] You have completed your website.
- [x] The website is reachable.
- [x] You have put a full stop (`.`) at the end of each of the CNAME and NS records. <!-- Example: "google.com." -->
- [x] The CNAME record doesn't contain `https://` or `/`. <!-- This is not required if you are not using a CNAME record. -->
- [x] There is sufficient information at the `owner` field.
- *You should have your email presented. If you don't want to share email, you can leave email an empty string (`""`) and add any other social media such as Twitter or Discord.*
🗒 Describe in two words how you plan to use the domain.
## Description
<!-- Please provide a description below of what you will be using the domain for. -->
-->
### Link to Website
Link: <!-- 🌍 Please provide a link to your website here -->
## Link to Website
<!-- Please provide a link to your website below. -->
+1 -1
View File
@@ -5,6 +5,6 @@ version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule: {interval: monthly}
schedule: {interval: weekly}
reviewers: [tarampampam]
assignees: [tarampampam]
+36
View File
@@ -0,0 +1,36 @@
name: "CLA"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened,closed,synchronize]
jobs:
CLAAssistant:
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
# Beta Release
uses: contributor-assistant/github-action@v2.2.1
env:
GITHUB_TOKEN: ${{ secrets.BOT }}
# the below token should have repo scope and must be manually added by you in the repository's secret
PERSONAL_ACCESS_TOKEN: ${{ secrets.BOT }}
with:
path-to-signatures: 'cla/signatures.json'
path-to-document: 'https://github.com/open-domains/register/blob/main/terms.md' # e.g. a CLA or a DCO document
# branch should not be protected
branch: 'main'
allowlist: od-bot,bot*
signed-commit-message: '$contributorName has signed the CLA'
# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
#remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures'
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)
#use-dco-flag: true - If you are using DCO instead of CLA
+3 -3
View File
@@ -1,9 +1,9 @@
name: deploy
name: Deploy
on:
workflow_dispatch: {}
push:
branches: [master, main]
branches: [main]
paths: [domains/**, .github/workflows/deploy.yml]
concurrency:
@@ -12,7 +12,7 @@ concurrency:
jobs:
check:
name: Deploy DNS changes
name: Deploy Changes
runs-on: ubuntu-latest
environment: production
steps:
+26 -26
View File
@@ -1,4 +1,4 @@
name: pr
name: PR
on:
pull_request_target:
@@ -7,7 +7,7 @@ on:
jobs:
check-user-star:
name: Check the user's star
name: Check Star
runs-on: ubuntu-latest
steps:
- {uses: gacts/is-stargazer@v1, with: {username: '${{ github.event.pull_request.user.login }}'}, id: check-star}
@@ -15,32 +15,32 @@ jobs:
- if: steps.check-star.outputs.is-stargazer != 'true'
uses: actions/github-script@v6
with:
script: core.setFailed('⭐ Please, star this repository!')
script: core.setFailed('⭐ Please star this repository!')
checklist:
name: Message a checklist to the PR
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: thollander/actions-comment-pull-request@v1
with:
message: |
Your PR has been created! Please now wait for a maintainer to approve it.
# checklist:
# name: Checklist
# runs-on: ubuntu-latest
# permissions:
# contents: read
# pull-requests: write
# steps:
# - uses: thollander/actions-comment-pull-request@v1
# with:
# message: |
# Your PR has been created! Please now wait for a maintainer to approve it.
> ### Made a mistake in the record?
>
> Don't worry, you can edit the changes in your repo and they should automatically be added to this PR.
# > ### Made a mistake in the record?
# >
# > Don't worry, you can edit the changes in your repo and they should automatically be added to this PR.
Please, make sure that your PR passes the following checklist:
# Please, make sure that your PR passes the following checklist:
- ⭐ You have starred this repository
- 🗒 The file with your subdomain has a `.json` extension, doesn't contain comments (`// ...`), and is well formatted (indent size - 2 spaces)
- 👤 There is sufficient information in the `owner` field
- 📋 You have clearly described a reason for the domain registration (and what you plan to use it for) in the PR description
- 🔗 The website is reachable and a link to it is in the PR description
- ✅ All CI checks are passed
# - ⭐ You have starred this repository
# - 🗒 The file with your subdomain has a `.json` extension and is formatted (indent size - 2 spaces).
# - 👤 There is sufficient information in the `owner` field.
# - 📋 You have clearly described a reason for the domain registration (and what you plan to use it for) in the pull request's description
# - 🔗 The website is reachable and a link to it is in the pull request description
# - ✅ All CI checks have passed
<!--ID:CHECKLIST-->
comment_includes: <!--ID:CHECKLIST-->
# <!--ID:CHECKLIST-->
# comment_includes: <!--ID:CHECKLIST-->
+3 -3
View File
@@ -1,4 +1,4 @@
name: tests
name: Tests
on:
workflow_dispatch: {}
@@ -24,7 +24,7 @@ jobs:
- uses: gacts/gitleaks@v1
check:
name: DNSControl check
name: DNSControl Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
@@ -34,7 +34,7 @@ jobs:
- run: dnscontrol check
validate-schemas:
name: Validate schemas
name: Validate Schemas
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
-30
View File
@@ -1,30 +0,0 @@
name: website
on:
push:
branches: [master, main]
paths: [web/**, .github/workflows/website.yml]
concurrency:
group: ${{ github.ref }}-website
cancel-in-progress: true
jobs:
update:
name: Publish website
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/configure-pages@v2
- uses: actions/upload-pages-artifact@v1
with: {path: web}
- {uses: actions/deploy-pages@v1, id: deployment}
+59 -64
View File
@@ -1,47 +1,50 @@
[![Tests Status][badge-tests]][actions]
[![Deploy Status][badge-deploy]][deploy]
</div>
<h1 align="center">Open Domains</h1>
Free subdomains for personal sites, open-source projects, and more. Here is a list of supported domain names:
<p align="center">Free subdomains for personal sites, open-source projects, and more.</p>
| Domain name | Features |
|:-------------------------------------:|:---------------------------------------------------------:|
| ⚡ [`*.localplayer.dev`](https://localplayer.dev/) | ![cf][badge-cf] ![dnssec][badge-dnssec] ![ssl][badge-ssl] |
| ⚡ [`*.is-not-a.dev`](https://is-not-a.dev/) | ![cf][badge-cf] ![dnssec][badge-dnssec] ![ssl][badge-ssl] |
<p align="center">Want to find services similar to this? Take a look on <a href="https://free-for.dev/#/?id=domain">free-for.dev</a>.</p>
> Wildcards (like `*.foo.is-not-a.dev`) are supported too, but the reason for their registration should be very clear and described in detail.
## Donate
If you like this service and want us to continue running it, please consider donating!
[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://paypal.me/andrewstechyoutube)
## Domains
| Domain |
|-|
| [`is-not-a.dev`](https://is-not-a.dev) |
| [`localplayer.dev`](https://localplayer.dev) |
Wildcard domains (like `*.example.is-not-a.dev`) are supported too, but the reason for their registration should be very clear and described in detail.
[badge-cf]:https://shields.io/badge/%20-cloudflare-blue?logo=cloudflare&style=plastic?cacheSeconds=3600
[badge-dnssec]:https://shields.io/badge/%20-DNSSEC-blue?logo=moleculer&logoColor=white&style=plastic?cacheSeconds=3600
[badge-ssl]:https://shields.io/badge/SSL-Required-blue?style=plastic?cacheSeconds=3600
## Why?
### Settings
First of all, I want to answer one important question - "Why are you giving out domains for free?". Because sometimes I need domains for my pet projects, and instead of buying new domains every time, I decided to buy one for everyone, and use subdomains. And why not share them with the community?
| Setting | `is-not-a.dev` | `localplayer.dev` |
|-|-|-|
| [DNSSEC][dnssec]| ✅ | ✅ |
| Email | ❌ | ❌ |
| SSL/TLS* | [Full][ssl-full] | [Full][ssl-full] |
| Always Use HTTPS* | ✅ | ✅ |
| HTTP Strict Transport Security (HSTS) | ✅ | ✅ |
| Minimum TLS Version* | 1.2 | 1.2 |
| Opportunistic Encryption, TLS 1.3* | ✅ | ✅ |
| WAF (Web Application Firewall)* | Medium Security Level | Medium Security Level |
| Browser Integrity Check* | ✅ | ✅ |
| [Caching Level][caching-levels], Browser Cache TTL * | Standard, 4 hours | Standard, 4 hours |
| [Crawler Hints][crawler-hints]* | ✅ | ✅ |
| [HTTP/2][http2], [HTTP/2 to Origin][http2-to-origin], HTTP/3 (with QUIC) * | ✅ | ✅ |
| [0-RTT Connection Resumption][0rtt]* | ✅ | ✅ |
| [gRPC][grpc], WebSockets* | ✅ | ✅ |
| [Pseudo IPv4][pseudo-ipv4]* | Add header | Add header |
| IP Geolocation (HTTP header `CF-IPCountry`)* | ✅ | ✅ |
| Maximum Upload Size* | 100 MB | 100 MB |
## Domains settings
| Option | `*.localplayer.dev` | `*.is-not-a.dev` |
|:--------------------------------------------------------------------------:|:-------------------------:|:-------------------------:|
| [DNSSEC][dnssec] | ✅ | ✅ |
| Email | ❌ | ❌ |
| SSL/TLS * | [Full][ssl-full] | [Full][ssl-full] |
| Always Use HTTPS * | ✅ | ✅ |
| HTTP Strict Transport Security (HSTS) | ✅ | ✅ |
| Minimum TLS Version * | TLS 1.2 | TLS 1.2 |
| Opportunistic Encryption, TLS 1.3 * | ✅ | ✅ |
| WAF (Web Application Firewall) * | ✅ (Medium Security Level) | ✅ (Medium Security Level) |
| Browser Integrity Check * | ✅ | ✅ |
| [Caching Level][caching-levels], Browser Cache TTL * | Standard, 4 hours | Standard, 4 hours |
| [Crawler Hints][crawler-hints] * | ✅ | ✅ |
| [HTTP/2][http2], [HTTP/2 to Origin][http2-to-origin], HTTP/3 (with QUIC) * | ✅ | ✅ |
| [0-RTT Connection Resumption][0rtt] * | ✅ | ✅ |
| [gRPC][grpc], WebSockets * | ✅ | ✅ |
| [Pseudo IPv4][pseudo-ipv4] * | Add header | Add header |
| IP Geolocation (HTTP header `CF-IPCountry`) * | ✅ | ✅ |
| Maximum Upload Size * | 100 MB | 100 MB |
> `*` Available only when proxying (`"proxy": true`) is enabled
\*Only available when your domain has Cloudflare's proxy (`"proxy": true`) enabled
[dnssec]:https://developers.cloudflare.com/dns/additional-options/dnssec
[ssl-full]:https://developers.cloudflare.com/ssl/origin-configuration/ssl-modes/full/
@@ -54,30 +57,35 @@ First of all, I want to answer one important question - "Why are you giving out
[grpc]:https://support.cloudflare.com/hc/en-us/articles/360050483011
[pseudo-ipv4]:https://support.cloudflare.com/hc/en-us/articles/229666767
# How to get one?
## Register a Domain
1. Star and [fork](https://github.com/open-domains/Register/fork) this repository (follow [this guide](https://github.com/firstcontributions/first-contributions) if you don't know how to make a contributions)
2. Add a new file called `<your-subdomain-name>.<root-domain>.json` in the `./domains` folder to register `<your-subdomain-name>` subdomain
3. Edit it (below is just an **example**, provide a **valid** JSON file with your needs, the format is very strict; format you can [check here](https://jsonlint.com/)):
1. **Star** and **[Fork](https://github.com/open-domains/register/fork)**
2. Add a new file called `example.domain.json` in the `/domains` folder to register `example` subdomain
3. Edit it (below is just an **example**, provide a **valid** JSON file with your needs, the format is very strict; format you can [check here](https://jsonlint.com)):
```json
{
"$schema": "../schemas/domain.schema.json",
"description": "<describe your project in this field>",
"description": "Project Description",
"domain": "is-not-a.dev",
"subdomain": "<your subdomain name>",
"subdomain": "example",
"owner": {
"repo": "<https://URL/to/the/repository/with/subdomain/content/sources>",
"email": "<your-public@email.address>"
"repo": "https://github.com/username/repo",
"email": "hello@example.com"
},
"record": {
"CNAME": "<cname-domain-with-a-dot-at-the-end>",
"TXT": ["list", "of", "required", "txt", "records"],
"A": ["list", "of", "IPv4", "addresses", "like", "a", "127.0.0.1"],
"AAAA": ["list", "of", "IPv6", "addresses", "like", "a", "::1"],
"NS": ["list", "of", "nameservers"]
"A": ["1.1.1.1", "1.0.0.1"],
"AAAA": ["::1", "::2"],
"CNAME": "example.com.",
"NS": ["ns1.example.com.", "ns2.example.com."],
"TXT": ["example_verification=1234567890"]
},
"proxy": false // disable the CF proxy, proxying is always enabled by default
"proxy": false
}
```
@@ -85,20 +93,7 @@ First of all, I want to answer one important question - "Why are you giving out
5. After the pull request is merged, please allow up to 24 hours for the changes to propagate _(usually, it takes 5..15 minutes)_
6. Enjoy your new domain!
> Domains, used for illegal purposes will be removed and permanently banned. Please, provide a clear description of your resource in the PR.
*Domains used for illegal purposes will be removed and permanently banned. Please, provide a clear description of your resource in the pull request.*
## If you don't know...
- What is GitHub pages and how to set up a custom domain, read the [docs here](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site)
- The difference between `A`, `CNAME`, and other record types, the article on Wikipedia [is here](https://en.wikipedia.org/wiki/List_of_DNS_record_types)
> 🔍 A few similar services can be [found here](https://free-for.dev/#/?id=domain).
[badge-tests]:https://img.shields.io/github/workflow/status/open-domains/Register/tests?label=tests&logo=github&style=for-the-badge
[badge-deploy]:https://img.shields.io/github/workflow/status/open-domains/Register/deploy?label=deploy&logo=github&style=for-the-badge
[actions]:https://github.com/open-domains/Register/actions
[deploy]:https://github.com/open-domains/Register/actions/workflows/deploy.yml
# This repo was forked from
https://github.com/tarampampam/free-domains
#### Credits
The CI which this service uses is forked from [here](https://github.com/tarampampam/free-domains).
+20
View File
@@ -0,0 +1,20 @@
{
"signedContributors": [
{
"name": "WilliamDavidHarrison",
"id": 87287585,
"comment_id": 1335952219,
"created_at": "2022-12-02T23:16:39Z",
"repoId": 573111831,
"pullRequestNo": 11
},
{
"name": "unnervingduck",
"id": 71168753,
"comment_id": 1336115790,
"created_at": "2022-12-03T08:46:27Z",
"repoId": 573111831,
"pullRequestNo": 16
}
]
}
-16
View File
@@ -1,16 +0,0 @@
{
"$schema": "../schemas/domain.schema.json",
"description": "hitler.is-not-a.dev (migrated from old service)",
"domain": "is-not-a.dev",
"subdomain": "hitler",
"owner": {},
"record": {
"A": ["154.6.137.2"]
},
"proxy": false
}
@@ -1,5 +1,5 @@
{
"$schema": "../schemas/domain.schema.json",
"$schema": "../../schemas/domain.schema.json",
"description": "Root domain",
@@ -7,7 +7,7 @@
"subdomain": "@",
"owner": {
"repo": "https://github.com/open-domains/register"
"repo": "https://github.com/open-domains/is-not-a.dev"
},
"record": {
@@ -1,5 +1,5 @@
{
"$schema": "../schemas/domain.schema.json",
"$schema": "../../schemas/domain.schema.json",
"description": "Root domain",
@@ -7,7 +7,7 @@
"subdomain": "@",
"owner": {
"repo": "https://github.com/open-domains/register"
"repo": "https://github.com/open-domains/localplayer.dev"
},
"record": {
@@ -0,0 +1,16 @@
{
"$schema": "../../schemas/domain.schema.json",
"description": "GitHub Verification",
"domain": "is-not-a.dev",
"subdomain": "_github-challenge-open-domains-org",
"owner": {},
"record": {
"TXT": ["f4214d9ac0"]
},
"proxy": false
}
@@ -0,0 +1,16 @@
{
"$schema": "../../schemas/domain.schema.json",
"description": "GitHub Verification",
"domain": "localplayer.dev",
"subdomain": "_github-challenge-open-domains-org",
"owner": {},
"record": {
"TXT": ["e514024c86"]
},
"proxy": false
}
@@ -0,0 +1,16 @@
{
"$schema": "../../schemas/domain.schema.json",
"description": "GitHub Pages Verification",
"domain": "is-not-a.dev",
"subdomain": "_github-pages-challenge-open-domains",
"owner": {},
"record": {
"TXT": ["e436ee5dc78c9c28d3534775201f25"]
},
"proxy": false
}
@@ -0,0 +1,16 @@
{
"$schema": "../../schemas/domain.schema.json",
"description": "GitHub Pages Verification",
"domain": "localplayer.dev",
"subdomain": "_github-pages-challenge-open-domains",
"owner": {},
"record": {
"TXT": ["33caf63f8f1a7c2174183f7d2f25ec"]
},
"proxy": false
}
+16
View File
@@ -0,0 +1,16 @@
{
"$schema": "../../schemas/domain.schema.json",
"description": "PSL verification record",
"domain": "is-not-a.dev",
"subdomain": "_psl",
"owner": {},
"record": {
"TXT": ["https://github.com/publicsuffix/list/pull/1661"]
},
"proxy": false
}
+16
View File
@@ -0,0 +1,16 @@
{
"$schema": "../../schemas/domain.schema.json",
"description": "PSL verification record",
"domain": "localplayer.dev",
"subdomain": "_psl",
"owner": {},
"record": {
"TXT": ["https://github.com/publicsuffix/list/pull/1661"]
},
"proxy": false
}
+5 -2
View File
@@ -1,12 +1,15 @@
{
"$schema": "../schemas/domain.schema.json",
"description": "unnervingduck.is-not-a.dev (migrated from old service)",
"description": "unnervingduck.is-not-a.dev (migrated from old service). My personal website.",
"domain": "is-not-a.dev",
"subdomain": "unnervingduck",
"owner": {},
"owner": {
"repo": "https://github.com/unnervingduck/register",
"email": "unnervingduck.j7ur4@simplelogin.com"
},
"record": {
"CNAME": "unnervingduck.github.io."
+1 -1
View File
@@ -11,7 +11,7 @@
},
"record": {
"NS": ["ns1.digitalocean.com", "ns2.digitalocean.com", "ns3.digitalocean.com"]
"NS": ["ns1.digitalocean.com.", "ns2.digitalocean.com.", "ns3.digitalocean.com."]
},
"proxy": false
+1 -1
View File
@@ -11,7 +11,7 @@
},
"record": {
"CNAME": "dns.williamharrison.xyz."
"NS": ["ns1.digitalocean.com.", "ns2.digitalocean.com.", "ns3.digitalocean.com."]
},
"proxy": false
+10
View File
@@ -0,0 +1,10 @@
# Terms and Conditions
## 1. Bad Content
Open Domains and its affilates reserve the right to delete and suspend domains that hosts content deemed to be bad by **US** or **ICANN**.
## 2. Copyrighted Content
Use of copywited material without the owners consent will result in a takedown of your domain.
## 3. Domain lifespan
All domains owned/run by **Open-Domains** are autorenewed once a year. However if a domain has little or no traffic then it may be terminated without renewal at the end of its life.
-9
View File
@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/favicon/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

-17
View File
@@ -1,17 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="161.000000pt" height="161.000000pt" viewBox="0 0 161.000000 161.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.14, written by Peter Selinger 2001-2017
</metadata>
<g transform="translate(0.000000,161.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M748 1439 c-242 -26 -457 -195 -532 -421 -112 -333 57 -682 392 -806
138 -51 351 -38 482 29 78 40 107 61 172 126 72 70 109 127 144 218 35 93 35
95 40 205 11 276 -157 520 -423 617 -37 13 -94 26 -128 29 -33 3 -64 6 -70 8
-5 1 -40 -1 -77 -5z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 770 B

-6
View File
@@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=https://github.com/open-domains/register">
</head>
</html>
-4
View File
@@ -1,4 +0,0 @@
User-agent: ia_archiver
Disallow: /
User-agent: *
-14
View File
@@ -1,14 +0,0 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/favicon/android-chrome-144x144.png",
"sizes": "144x144",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}