-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the repository for personal use only
- Loading branch information
1 parent
2b14291
commit cf4f897
Showing
24 changed files
with
3,687 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# EditorConfig docs: <https://editorconfig.org/> | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# @link <https://help.github.com/en/articles/about-code-owners> | ||
|
||
* @tarampampam |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Docs: <https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/customizing-dependency-updates> | ||
|
||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
groups: {github-actions: {patterns: ['*']}} | ||
schedule: {interval: monthly} | ||
assignees: [tarampampam] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>tarampampam/.github//renovate/default", | ||
":rebaseStalePrs" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
# docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | ||
|
||
name: 🚀 Deploy the DNS records | ||
|
||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: [master, main] | ||
paths: [zones/**, dnsconfig.js, .github/workflows/deploy-records.yml] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-deploy | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
check: | ||
name: 🌐 Deploy the DNS records | ||
runs-on: ubuntu-latest | ||
environment: production | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gacts/install-dnscontrol@v1 | ||
- name: Create credentials file | ||
run: echo '{"cloudflare":{"TYPE":"CLOUDFLAREAPI","accountid":"$CF_ID","apitoken":"$CF_TOKEN"}}' > ./creds.json | ||
- run: dnscontrol push | ||
env: | ||
CF_ID: ${{ secrets.CF_ACCOUNT_ID }} | ||
CF_TOKEN: ${{ secrets.CF_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
# docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | ||
|
||
name: 🚀 Deploy the website | ||
|
||
on: | ||
push: | ||
branches: [master, main] | ||
paths: [sites/**, .github/workflows/deploy-sites.yml] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-website | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
is-an-app: | ||
name: 🖼 Deploy the is-an.app 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@v4 | ||
- uses: actions/configure-pages@v5 | ||
- uses: actions/upload-pages-artifact@v3 | ||
with: {path: sites/is-an.app} | ||
- {uses: actions/deploy-pages@v4, id: deployment} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
# docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | ||
|
||
name: 🧪 Tests | ||
|
||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: [master, main] | ||
tags-ignore: ['**'] | ||
paths-ignore: ['**.md', 'sites/**'] | ||
pull_request: | ||
paths-ignore: ['**.md', 'sites/**'] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-tests | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
gitleaks: | ||
name: 🔐 GitLeaks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- {uses: actions/checkout@v4, with: {fetch-depth: 0}} | ||
- uses: gacts/gitleaks@v1 | ||
|
||
check: | ||
name: 🌐 DNSControl check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gacts/install-dnscontrol@v1 | ||
- run: dnscontrol check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## IDEs | ||
/.idea | ||
/.vscode | ||
|
||
## Auth | ||
/creds.json | ||
|
||
## Temp dirs & trash | ||
/temp | ||
/tmp | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
# free-domains | ||
<div align="center"> | ||
|
||
[![Tests Status][badge-tests]][actions] | ||
[![Deploy Status][badge-deploy]][deploy] | ||
|
||
</div> | ||
|
||
[badge-tests]:https://img.shields.io/github/actions/workflow/status/tarampampam/domains/tests.yml?branch=master&label=tests&logo=github | ||
[badge-deploy]:https://img.shields.io/github/actions/workflow/status/tarampampam/domains/deploy-records.yml?branch=master&label=deploy&logo=github | ||
[actions]:https://github.com/tarampampam/domains/actions | ||
[deploy]:https://github.com/tarampampam/domains/actions/workflows/deploy-records.yml | ||
|
||
# DNS Configuration | ||
|
||
This repository contains DNS records for some of my domains, allowing me to manage them as code. | ||
|
||
> [!NOTE] | ||
> Previously, I was able to accept PRs with new records. However, due to numerous irrelevant domain | ||
> requests, I have decided to close this option. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
require("./zones/is-an.app.js") | ||
require("./zones/1bt.uk.js") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<browserconfig> | ||
<msapplication> | ||
<tile> | ||
<square150x150logo src="/favicon/mstile-150x150.png"/> | ||
<TileColor>#da532c</TileColor> | ||
</tile> | ||
</msapplication> | ||
</browserconfig> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<title>is-an.app domain</title> | ||
|
||
<link rel="apple-touch-icon" sizes="152x152" href="favicon/apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png"> | ||
<!-- <link rel="manifest" href="webmanifest.json">--> | ||
<link rel="mask-icon" href="favicon/safari-pinned-tab.svg" color="#5bbad5"> | ||
|
||
<style> | ||
:root { | ||
--color-bg-primary: #fff; | ||
--color-bg-secondary: #00a6d5; | ||
--color-bg-inverted: #151515; | ||
--color-text-primary: #151515; | ||
--color-text-inverted: #fff; | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
--color-bg-primary: #2f2f2f; | ||
--color-bg-secondary: #3bc1e1; | ||
--color-bg-inverted: #fff; | ||
--color-text-primary: #fff; | ||
--color-text-inverted: #2f2f2f; | ||
} | ||
} | ||
|
||
body, html { | ||
background-color: var(--color-bg-primary); | ||
color: var(--color-text-primary); | ||
font-family: sans-serif; | ||
font-size: 16px; | ||
margin: 0; | ||
padding: 0; | ||
height: 100vh; | ||
} | ||
|
||
body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
main { | ||
width: 800px; | ||
} | ||
|
||
header { | ||
margin-bottom: 2em; | ||
} | ||
|
||
.url { | ||
position: relative; | ||
background-color: var(--color-bg-secondary); | ||
color: var(--color-text-inverted); | ||
padding: 10px 20px; | ||
font-weight: 700; | ||
font-size: 3em; | ||
z-index: 1; | ||
} | ||
|
||
p { | ||
font-size: 1.4em; | ||
font-weight: 400; | ||
padding: 1em 0 0 0; | ||
margin: 0; | ||
line-height: 1.5; | ||
} | ||
|
||
a { | ||
color: var(--color-bg-secondary); | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<main> | ||
<header> | ||
<span class="url">https://is-an.app</span> | ||
</header> | ||
</main> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
User-agent: ia_archiver | ||
Disallow: / | ||
|
||
User-agent: * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "", | ||
"short_name": "", | ||
"icons": [ | ||
{ | ||
"src": "/favicon/android-chrome-144x144.png", | ||
"sizes": "144x144", | ||
"type": "image/png" | ||
} | ||
], | ||
"theme_color": "#ffffff", | ||
"background_color": "#ffffff", | ||
"display": "standalone" | ||
} |
Oops, something went wrong.