From 375204f6a5e76ea1629f61628a3f9537969e3774 Mon Sep 17 00:00:00 2001 From: Pranshu Sharma Date: Fri, 13 Dec 2024 01:02:38 +1000 Subject: Inital commit --- blog/path-to-self-hosting.html | 34 +++++++++ blog/uses.html | 85 +++++++++++++++++++++ bq/index.html | 45 +++++++++++ cork/.index.html.swo | Bin 0 -> 16384 bytes cork/.index.html.swp | Bin 0 -> 12288 bytes cork/index.html | 103 +++++++++++++++++++++++++ img/._akbar.png | Bin 0 -> 4096 bytes img/._bela.png | Bin 0 -> 4096 bytes img/._christ.png | Bin 0 -> 4096 bytes img/._footer.svg | Bin 0 -> 4096 bytes img/._ornament.svg | Bin 0 -> 4096 bytes img/._placeholder.png | Bin 0 -> 4096 bytes img/._pranshu.png | Bin 0 -> 4096 bytes img/akbar.png | Bin 0 -> 164489 bytes img/akin.avif | Bin 0 -> 2987 bytes img/bela.png | Bin 0 -> 106922 bytes img/christ.png | Bin 0 -> 117420 bytes img/fav.svg | 31 ++++++++ img/footer.svg | 33 +++++++++ img/ornament.svg | 19 +++++ img/placeholder.png | Bin 0 -> 13758 bytes img/pranshu.webp | Bin 0 -> 42298 bytes index.html | 121 ++++++++++++++++++++++++++++++ smap/index.html | 43 +++++++++++ style.css | 165 +++++++++++++++++++++++++++++++++++++++++ 25 files changed, 679 insertions(+) create mode 100644 blog/path-to-self-hosting.html create mode 100644 blog/uses.html create mode 100644 bq/index.html create mode 100644 cork/.index.html.swo create mode 100644 cork/.index.html.swp create mode 100644 cork/index.html create mode 100644 img/._akbar.png create mode 100644 img/._bela.png create mode 100644 img/._christ.png create mode 100644 img/._footer.svg create mode 100644 img/._ornament.svg create mode 100644 img/._placeholder.png create mode 100644 img/._pranshu.png create mode 100644 img/akbar.png create mode 100644 img/akin.avif create mode 100644 img/bela.png create mode 100644 img/christ.png create mode 100644 img/fav.svg create mode 100644 img/footer.svg create mode 100644 img/ornament.svg create mode 100644 img/placeholder.png create mode 100644 img/pranshu.webp create mode 100644 index.html create mode 100644 smap/index.html create mode 100644 style.css diff --git a/blog/path-to-self-hosting.html b/blog/path-to-self-hosting.html new file mode 100644 index 0000000..87e5081 --- /dev/null +++ b/blog/path-to-self-hosting.html @@ -0,0 +1,34 @@ + + + + + + + + bauherren + + +
+

bauherren

+
Path to self-hosting
+ +
+
+

Author: Christos, PRANSHU??? +

+

The biggest disservice I've committed unto my friends (those I successfully swayed over onto 'free software') is not preaching the good word of 'self-hosting' - earlier. +

'Self-hosting' and 'free-software' go hand in hand +

I'm sure Linux users can in a moments notice list all the evil things Microsoft and Apple have done unto mankind but are content with services provided by Google, GitHub etc. +

Now bauherren.ovh has it's own email server, matrix, searx instances +

Work is underway to set up a full git, +

It's never been easier

+

There are a dime-a-dozen quality guides and even dedicated guides like landchad.net that have everything you need to start self-hosting. +

I'll admit it for some nicher things, like setting up an IRC chat bot, goodluck finding an up-to-date guide +

+ + + + + diff --git a/blog/uses.html b/blog/uses.html new file mode 100644 index 0000000..4c36e1c --- /dev/null +++ b/blog/uses.html @@ -0,0 +1,85 @@ + + + + + + + + + bauherren | uses + + +
+

What do you use?

+
+ bauherren +
+
+
+
+

Béla

+ +

Hardware?

+

Desktop computer composed of RTX 4070 Super, Ryzen 7 5800X3D, and 32 gigabytes of RAM. + Owner of a Thinkpad X260. + Ordinary blue switch keyboard. +

Software?

+

I use Artix Linux with runit as daily driver. + Go-to window manager is dwm, and Emacs for most of my work. +

Dream setup?

+

A nice piece of computerised telescope with a quality monochromatic camera for astrophotography +

+ +
+

Christos

+ +

Hardware?

+

Corebooted ThinkPad X230 mobo with a 2D Maltron keyboard and Esterline trackball. + Monitor is 4:3 aspect ratio. +

Software?

+

Artix on desktop, OpenBSD/Debian on servers. + I mount remote files with sshfs and do everything I need in acme. + I like to tell others I have the most ergonomic workflow. +

Dream setup?

+

No setup. + Just kidding. + I don't know something rugged? + One which I couldn't lose any sleep over. +

+ +
+

Pranshu

+ +

Hardware?

+

Thinkpad E560. Lepold keyword with mx red swithces. +

Software?

+

Pretty much use emacs for most things, eg music, file browsing, mail, etc... +

Dream setup?

+

Nuerlink. Joking. Probably one with nice stereo speakers. +

+
+
+ +
+
+
+ + diff --git a/bq/index.html b/bq/index.html new file mode 100644 index 0000000..464988b --- /dev/null +++ b/bq/index.html @@ -0,0 +1,45 @@ + + + + + + + + + bq + + +
+

bq

+
Small, Fast, Performant
+ +
+ +
+
+
+

Author: Christos

+
+

What is bq?

+

bq is a line-oriented editor, born out of my frustration with the number of operations

ed
required for simple edits. +

What isn't bq

+

bq is not a replacement for vim/emacs. bq will never take part in the editor arms-race. +
+

Why bq?

+

bq is for short and snappy editing, for occasions in which firing up an editor and filling your screens with content isn't practical. +

Coming soon!

+
+
+
+ +
+ +
+ + + diff --git a/cork/.index.html.swo b/cork/.index.html.swo new file mode 100644 index 0000000..20d71b4 Binary files /dev/null and b/cork/.index.html.swo differ diff --git a/cork/.index.html.swp b/cork/.index.html.swp new file mode 100644 index 0000000..71713de Binary files /dev/null and b/cork/.index.html.swp differ diff --git a/cork/index.html b/cork/index.html new file mode 100644 index 0000000..dc637d0 --- /dev/null +++ b/cork/index.html @@ -0,0 +1,103 @@ + + + + + + + + + Cork + + +
+

Cork

+
Small, Fast, Performant
+ +
+ +
+
+
+

Author: Christos

+
+

What is Cork?

+

Cork is a fast and performant static-site generator written in RC shell, leveraging Plan9's simple core-utils. Originally, just a fork of werc, Cork has become my software philosophy put into practice (more on that further down) +

+

Why fork werc?

+

I assume many people have never heard of werc. Werc power's sites such as cat-v, suckless and 9front to name a few. +

I fell in love with werc because of it's design simplicity and how easy it was to deploy to manage multiple subdomains and sites +

However during the honeymoon period some creaks had started to show, due to werc's generous list of things it can support (apps, caching etc.) it made changing fundemental scripting behaviour a lot more difficult. Moreover, said support meant a lot more system calls, system calls for features I would never have a need for. +

Werc rightfully so can boast of having a core that is only 150 sloc, whereas the entirety of cork is under 70 sloc and base cork is under 50. +

I respectfully believe werc provides features that 90 percent of users would never need +

+

What isn't cork

+

Cork is not a markdown to html converter. +

You can use any md2html program +

Some popular ones (that I know of are) +

  • smu
  • discount
md2html.awk +
+

Why Cork?

+

Ability to use shell to script custom functions +

A scriptable static sidebar listing directory contents. +

+

+

+

+

+

+

+

Installation

+

Cork has only been tested with OpenBSD's webserver `httpd`, +

First you must install the Plan9 core-utils +

plan9port or 9base can be used (if you don't want a full-blown 9 install) +

For plan9port installation, Download 9base +

Now, download and save the entire cork script one directory outside where you plan to keep your site +

Add the following to `/etc/httpd.conf` +

This is a 'sane' template, which I'll get to why it is later +

+
+server "c.bauherren.ovh" {
+	listen on * port 80
+	connection request timeout 4
+	location "/pix/*" {
+		root "/example.org"
+	}
+	location found "/*" {
+		root "/example.org/home"
+	}
+	location not found "/*" {
+		root "/"
+		fastcgi {
+			param PATH "/bin"
+			param PLAN9 "/usr/local/plan9"
+			param SCRIPT_FILENAME "/example.org/cork"
+			socket "/run/slowcgi.sock"
+		}
+	}
+}
+	
+

httpd
searches in
/var/www
so create a directory with your site's name, cd into it and create two more directories. +

One called home (this is where you're .md content will go) and one called pix/ +

Run `rcctl start httpd slowcgi +

Post installation tips

+

As stated earlier, cork strides to reduce system calls. This is very inline with it's author's software philosophy +

I do not like invoking

sed or its UNIX buddies
many times, so as to not oncur their wrath please practice a form of file hygiene +

The following are things I don't like you keeping public +

    +
  • dot files +
  • filenames with spaces +
  • executables +
+

You can keep pictures public but they'll be indexed in the sidebar, if they're directory is visible. That might be something you want. +

+

Issues

+

I'm currently writing the script for a full Cork demo and setup walkthrough, so I hope that will cover any foreseeable issues. +

My email is always open +

+
+
diff --git a/img/._akbar.png b/img/._akbar.png new file mode 100644 index 0000000..90c583b Binary files /dev/null and b/img/._akbar.png differ diff --git a/img/._bela.png b/img/._bela.png new file mode 100644 index 0000000..43e29a3 Binary files /dev/null and b/img/._bela.png differ diff --git a/img/._christ.png b/img/._christ.png new file mode 100644 index 0000000..fd11285 Binary files /dev/null and b/img/._christ.png differ diff --git a/img/._footer.svg b/img/._footer.svg new file mode 100644 index 0000000..7ab7095 Binary files /dev/null and b/img/._footer.svg differ diff --git a/img/._ornament.svg b/img/._ornament.svg new file mode 100644 index 0000000..7ab7095 Binary files /dev/null and b/img/._ornament.svg differ diff --git a/img/._placeholder.png b/img/._placeholder.png new file mode 100644 index 0000000..c4ab3b9 Binary files /dev/null and b/img/._placeholder.png differ diff --git a/img/._pranshu.png b/img/._pranshu.png new file mode 100644 index 0000000..5a7b63c Binary files /dev/null and b/img/._pranshu.png differ diff --git a/img/akbar.png b/img/akbar.png new file mode 100644 index 0000000..0210fc9 Binary files /dev/null and b/img/akbar.png differ diff --git a/img/akin.avif b/img/akin.avif new file mode 100644 index 0000000..4667ea8 Binary files /dev/null and b/img/akin.avif differ diff --git a/img/bela.png b/img/bela.png new file mode 100644 index 0000000..6658952 Binary files /dev/null and b/img/bela.png differ diff --git a/img/christ.png b/img/christ.png new file mode 100644 index 0000000..00a84f0 Binary files /dev/null and b/img/christ.png differ diff --git a/img/fav.svg b/img/fav.svg new file mode 100644 index 0000000..4bad713 --- /dev/null +++ b/img/fav.svg @@ -0,0 +1,31 @@ + + + +Created with Fabric.js 5.2.4 + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/footer.svg b/img/footer.svg new file mode 100644 index 0000000..9c492e8 --- /dev/null +++ b/img/footer.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + diff --git a/img/ornament.svg b/img/ornament.svg new file mode 100644 index 0000000..f03e191 --- /dev/null +++ b/img/ornament.svg @@ -0,0 +1,19 @@ + + + + + + + diff --git a/img/placeholder.png b/img/placeholder.png new file mode 100644 index 0000000..9083a17 Binary files /dev/null and b/img/placeholder.png differ diff --git a/img/pranshu.webp b/img/pranshu.webp new file mode 100644 index 0000000..2b107cf Binary files /dev/null and b/img/pranshu.webp differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..3e1f697 --- /dev/null +++ b/index.html @@ -0,0 +1,121 @@ + + + + + + + + bauherren + + +
+

bauherren

+
I was hoping for a pyramid.
+ +
+ +
+ +
Members +
+
+

Akin

+ + placeholder +

Computer scientist, aiming to be the best in the field +
+

"Jesus is Lord, to the glory of God the Father"
+
+
+

Béla

+ + placeholder +

Mathematics, physics, astronomy +
+

"There are no choices; nothing but a straight line"
+
+ +
+

Christos

+ + placeholder +

Wanderer, marking things down as I go. Childless. Low-scale computing and natural living. +
+

"Sometimes I am king, and sometimes the begger. + Sometimes I am the wound and sometimes the blade, the torturer and the flayed. + Thus, play I many men"
+
+ +
+

Pranshu

+ + placeholder +

Contrarion in exile. Emacs for life. +
+

"In India there are no roads; only directions"
+
+ +
+

Akbar

+ + Akbar +

Self-proclaimed free-thinker. + Studying computer science. + Interested in computing, finance, and philosophy.

+
+
+
+ +
projects +
+

Christos

+
+

cork

+

Cork, a fast performant static-site generator written in RC shell…

[Read more] +

+
+

smap

+

smap, a set of scripts that generate a variety of HTML sitemaps

[Read more] +

+
+

bq

+

bq, a line oriented editor that puts the customizability in user's hands…

[Read more] +

+

Pranshu

+

Coming soon... +

+
+ +
Blog +
+

Path to self hosting

+
Reflections
+
+
+

What do you use

+
What technologies have you gravitated towards after X years on this planet...
+
+
+
+ + + + + diff --git a/smap/index.html b/smap/index.html new file mode 100644 index 0000000..31763e3 --- /dev/null +++ b/smap/index.html @@ -0,0 +1,43 @@ + + + + + + + + + smap + + +
+

smap

+
Small, Fast, Performant
+ +
+ +
+
+
+

Authors: Pranshu, Christos +
+

You can use GNU's

tree
to generate a HTML sitemap +

tree -H ./ > sitemap.html
+

What is smap?

+

What isn't smap

+
+

Coming soon!

+
+
+
+ + + + + diff --git a/style.css b/style.css new file mode 100644 index 0000000..d1de0a0 --- /dev/null +++ b/style.css @@ -0,0 +1,165 @@ +* { + margin: 0; + padding: 0; +} + +body { + max-width: 40em; + margin: 5% auto; + font-family: 'Helvetica', sans-serif; + line-height: 1.5; + font-size: 0.9em; +} + +main { + margin-top: 2.5em; +} + +a { + color: red; + text-decoration: none; +} + +h1 { + font-family: 'Baskerville', serif; + font-weight: normal; + text-align: center; + line-height: 1; +} + +h1 + blockquote { + display: block; + font-family: 'Baskerville', serif; + font-size: 1.1em; + font-style: italic; + text-align: center; + quotes: none; +} + +main blockquote { + border-left: 2px solid #ccc; /* Adds a vertical line */ + color: #555; /* Optional: changes the text color */ + font-size: 12px; +font-style: italic; /* Optional: italicizes the text */ +padding-left: 1.5em; +} + +h2:first-of-type { + margin-top: 0em; +} + +h2 { + display: inline-block; + text-transform: uppercase; + font-size: 1.1em; + margin-top: 0.5em; +} + +h3 { + font-size: 1em; + font-weight: bold; +} + +li { + list-style-position: inside; +} + +q { + font-style: italic; +} + +#ornament { + display: block; + width: 75%; + margin: 0.5em auto; +} + +.avatar { + width: 9em; + margin: 0 1em 1em 0; + float: left; +} + +.person { + margin-bottom: 2em; + clear: both; + padding-bottom: 1em; + min-height: 10em; +} + +.person > ul { + float: right; + list-style-type: none; + margin-left: 0; + padding-left: 0; +} + +.person ul > li { + display: inline-block; + font-style: italic; +} + +.person ul > li::after { + content: " ~ "; +} + +.person ul > li:last-child::after { + content: ""; +} + +.person li { + list-style: none; +} + +#projects { + margin-top: 1em; +} + +.uses-container { + margin-bottom: 3em; +} + +footer { + margin-top: 2em; + text-align: center; +} + +@media screen and (max-width: 750px) { + body { + margin: 7% 10%; + } + + .person { + margin-bottom: 1em; + } + + .person h2, .person > ul, .person > p { + display: block; + float: none; + } + + #ornament, .avatar { + display: none; + } +} + +summary { + list-style-position: outside; + margin-left: 30px; + padding: 10px 10px 10px 20px; + border-radius: 5px; + font-weight: bold; + text-transform: uppercase; + font-size: 1.1em; + margin-top: 0.5em; +} +summary::marker { + color: red; + font-size: 1.2em; +} + +time { + font-family: monospace ; + color: #888 ; + font-size: 10pt ; +} -- cgit v1.2.3