Add text-based pages for cURL

This commit is contained in:
Julien Negrotto 2025-04-16 20:26:30 -05:00
parent 91bd239830
commit 55a3f0c320
4 changed files with 34 additions and 2 deletions

11
.eleventy.js Normal file
View File

@ -0,0 +1,11 @@
export default function(eleventyConfig) {
// Copy textfiles to the output folder
eleventyConfig.addPassthroughCopy("src/**/*.txt");
return {
dir: {
input: "src",
output: "_site",
},
};
}

View File

@ -1,5 +1,18 @@
dev:
npx @11ty/eleventy --serve
INSTANCE_ID := 'instance-20250416-195354'
default: dev
clean:
rm -rf _site
build:
npx @11ty/eleventy
dev:
npx @11ty/eleventy --serve
deploy:
gcloud compute scp --recurse ./_site/* {{INSTANCE_ID}}:/var/www/crawfi.sh/
ssh:
gcloud compute ssh {{INSTANCE_ID}}

8
src/index.txt Normal file
View File

@ -0,0 +1,8 @@
┌───────────────────────────────────────────┐
│ __ _ _ │
│ ___ _ __ __ ___ __/ _(_) ___| |__ │
│ / __| '__/ _` \ \ /\ / / |_| | / __| '_ \ │
│| (__| | | (_| |\ V V /| _| |_\__ \ | | |│
│ \___|_| \__,_| \_/\_/ |_| |_(_)___/_| |_|│
│ │
└───────────────────────────────────────────┘