From c7e8c9bf982351150fdecefa5786b6ca60a93f48 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Eugenio Halili Date: Wed, 2 Nov 2022 00:28:28 +0800 Subject: [PATCH] Commit literally everything to kick tires Signed-off-by: Andrei Jiroh Eugenio Halili --- .build.yml | 20 +++++++++++++++ .vscode/extensions.json | 6 +++++ .vscode/settings.json | 8 ++++++ gmi/.gitkeep | 0 gmi/index.gmi | 0 markdown/.gitkeep | 0 markdown/index.md | 18 ++++++++++++++ mkdocs.ctrl-c.yml | 2 ++ mkdocs.yml | 54 +++++++++++++++++++++++++++++++++++++++++ package-lock.json | 13 ++++++++++ package.json | 20 +++++++++++++++ 11 files changed, 141 insertions(+) create mode 100644 .build.yml create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json create mode 100644 gmi/.gitkeep create mode 100644 gmi/index.gmi create mode 100644 markdown/.gitkeep create mode 100644 markdown/index.md create mode 100644 mkdocs.ctrl-c.yml create mode 100644 mkdocs.yml create mode 100644 package-lock.json create mode 100644 package.json diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..442c56e --- /dev/null +++ b/.build.yml @@ -0,0 +1,20 @@ +image: alpine/edge +packages: + - openssh-client + - python3 + - py3-pip +sources: + - https://git.sr.ht/~ajhalili2006/tildeweb +triggers: + - action: email + condition: always + to: Public Inbox <~ajhalili2006/public-inbox@lists.sr.ht> + cc: ctrl-c.clib/~ajhalili2006 +tasks: + - build: + cd tildeweb && pip3 install -r requirements.txt + mkdocs build + - deploy: + cd tildeweb + echo "StrictHostKeyChecking=no" >> ~/.ssh/config + echo "TODO: Implement SSH-based deployments over here." diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..1440eee --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,6 @@ +{ + "recommendations": [ + "printfn.gemini-improved", + "DavidAnson.vscode-markdownlint" + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..3eec7fe --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "yaml.schemas": { + "https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs*.yml" + }, + "marquee.widgets.npm-stats.packageNames": [ + "@ajhalili2006/tildeverse-web" + ] +} \ No newline at end of file diff --git a/gmi/.gitkeep b/gmi/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/gmi/index.gmi b/gmi/index.gmi new file mode 100644 index 0000000..e69de29 diff --git a/markdown/.gitkeep b/markdown/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/markdown/index.md b/markdown/index.md new file mode 100644 index 0000000..914e882 --- /dev/null +++ b/markdown/index.md @@ -0,0 +1,18 @@ +--- +title: Home +description: +--- +# Well hello there! + +You're viewing ~ajhalili2006's home in the tildeverse! This is where he showcase his work +in oepn source and software development, among other things. + +## Directories within this hub + +* [`/things`](./things) - usually screenshots and personal snippet hosting stuff +* [`/resume`](./resume) - various PDF files +* [`/projects`](./projects) - information about different projects he currently doing and in the past + +## Where to stalk + + diff --git a/mkdocs.ctrl-c.yml b/mkdocs.ctrl-c.yml new file mode 100644 index 0000000..b31bf57 --- /dev/null +++ b/mkdocs.ctrl-c.yml @@ -0,0 +1,2 @@ +INHERIT: ./mkdocs.yml +site_url: https://ctrl-c.club/~ajhalili2006 \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..d6f2e66 --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,54 @@ +# basics +site_name: ~ajhalili2006 on tildeverse +site_url: https://ajhalili2006.vern.cc/ +site_dir: public_html +copyright: > + Copyright © 2022-present - Andrei Jiroh Halili and contributors, licensed under the + CC BY-SA 4.0 license. + +docs_dir: markdown + +repo_url: https://mau.dev/ajhalili2006/tildeverse-web +edit_uri: edit/main/markdown +repo_name: source code + +theme: + name: material + icon: + repo: material/gitlab + feature: + - search.suggest + - search.highlight + - search.share + palette: + # Palette toggle for light mode + - media: "(prefers-color-scheme: light)" + scheme: default + toggle: + icon: material/brightness-7 + name: Switch to dark mode + + # Palette toggle for dark mode + - media: "(prefers-color-scheme: dark)" + scheme: slate + toggle: + icon: material/brightness-4 + name: Switch to light mode + +plugins: + - search + +markdown_extensions: + - toc: + permalink: true + title: On this page + - pymdownx.highlight: + anchor_linenums: true + use_pygments: true + - pymdownx.superfences + - pymdownx.tabbed: + alternate_style: true + - attr_list + - pymdownx.emoji: + emoji_index: !!python/name:materialx.emoji.twemoji + emoji_generator: !!python/name:materialx.emoji.to_svg diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..a4186e2 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,13 @@ +{ + "name": "@ajhalili2006/tildeverse-web", + "version": "0.1.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@ajhalili2006/tildeverse-web", + "version": "0.1.0", + "license": "ISC" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..bd07709 --- /dev/null +++ b/package.json @@ -0,0 +1,20 @@ +{ + "name": "@ajhalili2006/tildeverse-web", + "version": "0.1.0", + "description": "Personal website for my tildes + Gemini version of blog posts", + "scripts": { + "dev": "mkdocs serve", + "build": "mkdocs build" + }, + "repository": { + "type": "git", + "url": "git+ssh://git@git.sr.ht/~ajhalili2006/tildeweb.git" + }, + "keywords": [], + "author": "", + "license": "ISC", + "bugs": { + "url": "https://todo.sr.ht/~ajhalili2006/tildeweb" + }, + "homepage": "https://git.sr.ht/~ajhalili2006/tildeweb#readme" +}