Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9da5c9936a | ||
|
|
ba1077b0c8 | ||
|
|
7997a5b895 | ||
|
|
6756fb5af6 | ||
|
|
3e078bf55f | ||
|
|
fab68f78fb | ||
|
|
af3694f0ef | ||
|
|
46c6f9037e | ||
|
|
31a552963f | ||
|
|
a2dc744551 | ||
|
|
868c11507c | ||
|
|
6fa9f7b09f | ||
|
|
cc261d6aaa | ||
|
|
5487b22a4f | ||
|
|
631eb1219a | ||
|
|
d3b327afc0 | ||
|
|
0fe3cf6682 | ||
|
|
1dbbb4a325 | ||
|
|
e0e562be5e | ||
|
|
844ad3b9ac | ||
|
|
6242a1f876 | ||
|
|
201ba2ef75 | ||
|
|
2c9eef4749 | ||
|
|
0f2d9a4dc1 | ||
|
|
8513bd9ac5 | ||
|
|
990640b79a | ||
|
|
e4dffe1d19 | ||
|
|
db9373b9f8 | ||
|
|
bfd686f940 | ||
|
|
2ef57de694 | ||
|
|
c76df05651 | ||
|
|
195def9964 | ||
|
|
7edaf1993f | ||
|
|
1a201a554a | ||
|
|
f11331d900 | ||
|
|
3f3d2d7c41 | ||
|
|
d4bc6b0a00 | ||
|
|
eb70525934 | ||
|
|
1f9042cb72 | ||
|
|
cf537b1488 | ||
|
|
af883f2f6e | ||
|
|
fc16fb4046 | ||
|
|
7481185e14 | ||
|
|
54cb434cd3 | ||
|
|
49aeb6e4af | ||
|
|
d3681e8b7b | ||
|
|
9b7e73029a | ||
|
|
1a2e6feb52 | ||
|
|
c859780f74 | ||
|
|
dd9e97016c | ||
|
|
82b5a211b4 | ||
|
|
83e5be25e3 | ||
|
|
e326ae01d7 | ||
|
|
0576d99b9d | ||
|
|
c4785c3f7e | ||
|
|
053b5784aa | ||
|
|
543522ea7f | ||
|
|
d92074b59b | ||
|
|
537dcd6536 | ||
|
|
8ff3722780 | ||
|
|
479a4d8ebc | ||
|
|
ffd9b46bd8 | ||
|
|
fd70e7a0fa
|
||
|
|
ee60c53bd9
|
||
|
|
6b43d42051
|
||
|
|
0ac972d18d
|
||
|
|
173681e33f
|
||
|
|
8c787ec1d3
|
||
|
|
ee64080cb2
|
||
|
|
1729718b13
|
||
|
|
7178e45413
|
||
|
|
d6544b95cf
|
||
|
|
e92b7e02fe
|
||
|
|
006099ba3c
|
||
|
|
8f1572a8a3
|
||
|
|
61efdb4b46
|
||
|
|
2ded3ee54a
|
||
|
|
5668b1012d
|
||
|
|
0dbc13ad78
|
||
|
|
5390569ba5
|
||
|
|
c20a3c12ec
|
||
|
|
9a29074531
|
||
|
|
e4e47994a1
|
||
|
|
ba34adc634
|
||
|
|
7da90d2562
|
||
|
|
a884b14b81
|
||
|
|
9f3d374645
|
||
|
|
c79a95ffd4
|
||
|
|
956eede4d8
|
||
|
|
ceaa5d1d62
|
||
|
|
7c93c9f03c
|
||
|
|
c306300f2c
|
||
|
|
9ab6b65570
|
||
|
|
a6d96dbdc2
|
||
|
|
fba2bd8805
|
||
|
|
ea4c2dc200
|
||
|
|
a8c9b46f6a
|
||
|
|
076edeb55e
|
||
|
|
b578b308a7
|
||
|
|
2fb51ad906
|
||
|
|
99c0d62efe
|
||
|
|
16f049dd09
|
||
|
|
e75ee517f3
|
||
|
|
82538b81d0
|
||
|
|
5a51d582f9
|
||
|
|
c1ec90149a
|
||
|
|
e480606661
|
||
|
|
35b29774ff
|
||
|
|
df92e19b93
|
||
|
|
7efc4143f5
|
||
|
|
e4cc28438e
|
||
|
|
8cc320b459
|
||
|
|
64e346ac66
|
||
|
|
37b9445373
|
||
|
|
da41344500
|
||
|
|
0782ceb77a
|
||
|
|
5cf47899c3
|
||
|
|
fb3a264479
|
||
|
|
1e754b8ca2
|
||
|
|
81689b93f3
|
||
|
|
bd4ca03185
|
||
|
|
1bcc181220
|
||
|
|
d5c31f0d0b
|
||
|
|
50be874d54
|
||
|
|
37a7420618
|
||
|
|
f29b665fcd
|
||
|
|
3797428ef1
|
||
|
|
c45061440e
|
||
|
|
5b63b29d5d
|
||
|
|
7bf60bc3b9
|
||
|
|
a77980dafe
|
||
|
|
9c2dd10082
|
||
|
|
f006f7aad8
|
||
|
|
b1fb5072db
|
||
|
|
dd55721211
|
||
|
|
24a2ca806e
|
||
|
|
80dfee2a3f
|
||
|
|
ed0c83231e
|
||
|
|
a7f57e051e
|
||
|
|
8e05c2d2be
|
||
|
|
ae8b1fd8f3
|
||
|
|
f464ce4310
|
||
|
|
1d7c427fec
|
||
|
|
022e9fba68
|
||
|
|
d887ef0ab0
|
||
|
|
d2e4fa788c
|
||
|
|
3deeed5686
|
||
|
|
1cfa38596d
|
||
|
|
f162356627
|
||
|
|
c4b8fb83d1
|
||
|
|
821e97627d
|
||
|
|
4c0b098e53
|
||
|
|
24ef17cadb
|
||
|
|
01633db96a
|
||
|
|
16261320d9 | ||
|
|
c6fbd73a16 | ||
|
|
e75c8de422 | ||
|
|
13e64a1db7 | ||
|
|
a3321be74d | ||
|
|
a7e1bcf75e | ||
|
|
6592edf2fa | ||
|
|
7718859c4a | ||
|
|
593071dc93 | ||
|
|
066a8f054f | ||
|
|
5df8fe7fc9 | ||
|
|
72b6e89695 | ||
|
|
904e30a004 | ||
|
|
25e01b7217 | ||
|
|
ffc4ef50de | ||
|
|
8a56798c8b | ||
|
|
4be232d4a0 | ||
|
|
512f4fed33 | ||
|
|
b153c7caec | ||
|
|
988490fd5c | ||
|
|
4e830eed00 | ||
|
|
fa9375e5a2 | ||
|
|
af83094b3c | ||
|
|
e0db796046 | ||
|
|
fb186f5fc8 | ||
|
|
331af8b4e1 | ||
|
|
e7578789ca | ||
|
|
d872f9daee | ||
|
|
3ad8b4cfdf | ||
|
|
4e10d1bd32 | ||
|
|
fac3ccfdcf | ||
|
|
8d6732775b | ||
|
|
184b769dea | ||
|
|
522682c48f | ||
|
|
540b1204c2 | ||
|
|
eb66eaee56 | ||
|
|
0da0b9897c | ||
|
|
908685046c | ||
|
|
8f88af4611 | ||
|
|
66c2be4ee7 | ||
|
|
8c26826192 | ||
|
|
be614bc809 | ||
|
|
e0cce32501 | ||
|
|
7baa940b21 | ||
|
|
21a20b4b85 | ||
|
|
9480879718 | ||
|
|
61c8286995 | ||
|
|
90652210c6 | ||
|
|
e87378c335 | ||
|
|
de015f18a8 | ||
|
|
a42ca8aa17 | ||
|
|
e7c4a9e3dd | ||
|
|
9a946495a1 | ||
|
|
4c2b22a349 | ||
|
|
ced99d39ad | ||
|
|
2795caeb2f | ||
|
|
596e4f501b | ||
|
|
d8e78af242 | ||
|
|
05b12eb994 | ||
|
|
2d83712570 | ||
|
|
af01b61e84 | ||
|
|
98a09823a4 | ||
|
|
70008eb592 | ||
|
|
ce8ae5abff | ||
|
|
3044b66a6e | ||
|
|
6d289e39b9 | ||
|
|
f57467eac9 | ||
|
|
52216c8af2 | ||
|
|
f307dfe308 | ||
|
|
dd4c43a9d4 | ||
|
|
13a9947bff | ||
|
|
2e6a2f6e82 | ||
|
|
e53dadd1f7 | ||
|
|
d80d1308f2 | ||
|
|
20a715a146 | ||
|
|
41598e35d8 | ||
|
|
cfe8abce46 | ||
|
|
2734495299 | ||
|
|
8fd7031e45 | ||
|
|
39a1374d5a | ||
|
|
62156574be |
@@ -0,0 +1,62 @@
|
||||
name: Hugo CD
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./
|
||||
|
||||
jobs:
|
||||
build:
|
||||
timeout-minutes: 6
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup hugo
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
hugo-version: "latest"
|
||||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
|
||||
- name: Upload deployment
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: public-html
|
||||
path: ./public
|
||||
|
||||
deploy:
|
||||
timeout-minutes: 6
|
||||
name: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
environment:
|
||||
name: production
|
||||
url: https://maik.dev/
|
||||
steps:
|
||||
- name: Download deployment
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: public-html
|
||||
path: ./public-html
|
||||
|
||||
- name: Setup SSH config for remote server
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||
echo "${{ secrets.SSH_HOST }} ssh-ed25519 ${{ secrets.SSH_HOST_KEY }}" > ~/.ssh/known_hosts
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
eval "$(ssh-agent -s)"
|
||||
ssh-add ~/.ssh/id_ed25519
|
||||
|
||||
- name: Transfer deployment to remote server
|
||||
run: |
|
||||
rsync -avh --delete-after ./public-html/ ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}:~/maik.dev
|
||||
@@ -0,0 +1,34 @@
|
||||
name: Hugo CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "*"
|
||||
- "*/*"
|
||||
- "**"
|
||||
- "!master"
|
||||
pull_request:
|
||||
branches:
|
||||
- "master"
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
timeout-minutes: 5
|
||||
name: CI
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup hugo
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
hugo-version: "latest"
|
||||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo -D -F
|
||||
@@ -1,3 +1,9 @@
|
||||
# Hugo default output directory
|
||||
public/
|
||||
resources/_gen/
|
||||
.hugo_build.lock
|
||||
|
||||
.vscode/
|
||||
|
||||
*.bak
|
||||
*.old
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
# Personal Website
|
||||
|
||||
Link: <https://maik.dev>
|
||||
|
||||
## Goals
|
||||
|
||||
The goal of this website is mainly to post [CTF](https://ctftime.org/ctf-wtf/) writeups.
|
||||
|
||||
Besides that, its also made for the enjoyment of creating this website. To wit, I also set some technical goals for this website.
|
||||
|
||||
### Development goals
|
||||
|
||||
The website must comply with at least the following:
|
||||
|
||||
- The website is fully usable with JavaScript disabled.
|
||||
- JavaScript may only be used for graphical enhancements.
|
||||
- Where possible, JavaScript should be avoided.
|
||||
- The website must have a usable Dark Theme.
|
||||
- This means all text and images are still readable, and the look and feel is the same are the regular theme (but dark ofcourse).
|
||||
- The website must have a working RSS feed,
|
||||
- The website must be static.
|
||||
- Self-hosted, dynamic components (like a comment system) can be used, but the main content is static. (see the first goal)
|
||||
- All assets, libraries, whatever, must be hosted locally.
|
||||
- With the exception of Google Analytics. I am planning to replace this in the future.
|
||||
|
||||
## Installation
|
||||
|
||||
### Install Hugo
|
||||
|
||||
This website is made using the [Hugo static site generator](https://gohugo.io/).
|
||||
|
||||
On Arch Linux this is as easy as running the following:
|
||||
|
||||
```sh
|
||||
pacman -S hugo
|
||||
```
|
||||
|
||||
### Running locally
|
||||
|
||||
To see a preview of new posts, you can run the hugo development server.
|
||||
|
||||
```sh
|
||||
hugo -DF server
|
||||
```
|
||||
|
||||
The `-D` and `-F` flags are for building draft and future posts respectively.
|
||||
|
||||
## Publish
|
||||
|
||||
When a commit is pushed to the `master` branch, the new version of the website will automatically be deployed using GitHub Actions.
|
||||
@@ -1,13 +0,0 @@
|
||||
+++
|
||||
author = "Maik de Kruif"
|
||||
title = "{{ replace .Name "-" " " | title }}"
|
||||
date = {{ .Date }}
|
||||
description = ""
|
||||
images = []
|
||||
tags = [
|
||||
"untagged",
|
||||
]
|
||||
categories = [
|
||||
"uncategorized",
|
||||
]
|
||||
+++
|
||||
@@ -1,13 +0,0 @@
|
||||
+++
|
||||
author = "Maik de Kruif"
|
||||
title = "{{ replace .Name "-" " " | title }}"
|
||||
date = {{ .Date }}
|
||||
description = ""
|
||||
images = []
|
||||
tags = [
|
||||
"untagged",
|
||||
]
|
||||
categories = [
|
||||
"uncategorized",
|
||||
]
|
||||
+++
|
||||
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 5.2 MiB |
|
After Width: | Height: | Size: 400 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 9.1 KiB |
|
After Width: | Height: | Size: 382 KiB |
|
After Width: | Height: | Size: 852 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 572 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 630 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 610 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 254 KiB |
|
After Width: | Height: | Size: 969 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 512 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 143 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 572 KiB |
|
After Width: | Height: | Size: 499 KiB |
|
After Width: | Height: | Size: 523 KiB |
|
After Width: | Height: | Size: 522 KiB |
|
After Width: | Height: | Size: 568 KiB |
|
After Width: | Height: | Size: 540 KiB |
|
After Width: | Height: | Size: 532 KiB |
|
After Width: | Height: | Size: 553 KiB |
|
After Width: | Height: | Size: 628 KiB |
|
After Width: | Height: | Size: 560 KiB |
|
After Width: | Height: | Size: 536 KiB |
|
After Width: | Height: | Size: 594 KiB |
|
After Width: | Height: | Size: 636 KiB |
|
After Width: | Height: | Size: 314 KiB |
|
After Width: | Height: | Size: 516 KiB |
|
After Width: | Height: | Size: 546 KiB |
|
After Width: | Height: | Size: 579 KiB |
|
After Width: | Height: | Size: 558 KiB |
|
After Width: | Height: | Size: 552 KiB |
|
After Width: | Height: | Size: 559 KiB |
|
After Width: | Height: | Size: 499 KiB |
|
After Width: | Height: | Size: 536 KiB |
|
After Width: | Height: | Size: 564 KiB |
|
After Width: | Height: | Size: 515 KiB |
|
After Width: | Height: | Size: 314 KiB |
|
After Width: | Height: | Size: 348 KiB |
|
After Width: | Height: | Size: 309 KiB |
|
After Width: | Height: | Size: 367 KiB |
|
After Width: | Height: | Size: 326 KiB |
|
After Width: | Height: | Size: 359 KiB |
|
After Width: | Height: | Size: 390 KiB |
|
After Width: | Height: | Size: 340 KiB |
|
After Width: | Height: | Size: 335 KiB |
|
After Width: | Height: | Size: 415 KiB |
|
After Width: | Height: | Size: 159 KiB |
|
After Width: | Height: | Size: 214 KiB |
|
After Width: | Height: | Size: 367 KiB |
|
After Width: | Height: | Size: 371 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 909 KiB |
|
After Width: | Height: | Size: 889 KiB |
|
After Width: | Height: | Size: 243 KiB |
|
After Width: | Height: | Size: 189 KiB |
|
After Width: | Height: | Size: 407 KiB |
|
After Width: | Height: | Size: 177 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 115 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 2.1 MiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 15 KiB |