summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig10
-rw-r--r--blog/fuckingphp.md74
-rw-r--r--makko.json64
-rw-r--r--server/README.md5
4 files changed, 120 insertions, 33 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..a7d5c33
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,10 @@
+# EditorConfig is awesome: https://EditorConfig.org
+root = true
+
+[*]
+indent_style = space
+indent_size = 4
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = false
+insert_final_newline = false
diff --git a/blog/fuckingphp.md b/blog/fuckingphp.md
new file mode 100644
index 0000000..2e84bb4
--- /dev/null
+++ b/blog/fuckingphp.md
@@ -0,0 +1,74 @@
+---
+id: afHxz86ZPIM
+title: own php what the fuck
+description: i fucking hate this language
+author: lain
+visibility: public
+created: 2026-03-29T00:52:21+00:00
+---
+
+# own php what the fuck
+
+> ive been through a lot of tools... ive been a react, a nextjs, a lume.land...
+>
+> ive tried frameworks, tooling, abstractions - all the usual stuff
+
+at some point, you stop asking:
+
+> whats the best tool??
+
+and start asking:
+
+> why the fuck am i using any of this at all?
+
+# soo....
+
+so i built my own php runtime....
+
+not to compete with php. not to replace it. just to run _my stuff_, the way
+**i** want.
+
+- no fucking composer (mostly useless for me)
+- no vendor shit (lol own /lib/)
+- no fighting with shitty the zend engine
+
+just:
+
+- parse
+- evaluate
+- serve
+
+and that’s it.
+
+dis project is not about “being correct”. its about being fucking enough.
+
+---
+
+nerdphp exists because i was tired of everything being heavier than necessary.
+oh and yeah - its incomplete, limited, probably wrong in a lot of ways...
+
+but it runs my site. "at least it works..."
+
+and this was honestly easier than kerberos configuration.
+
+[kroot.sh](https://kroot.sh) is currently powered by nerdphp
+
+---
+
+```toml
+[server]
+host = "0.0.0.0"
+port = 8080
+
+[php]
+root = "./src"
+# some kind of main.php
+index = "index.php"
+
+[static]
+dir = "site"
+```
+
+TODO: more context
+
+# :3
diff --git a/makko.json b/makko.json
index bf98f3a..e248200 100644
--- a/makko.json
+++ b/makko.json
@@ -1,32 +1,34 @@
{
- "$schema": "https://makko.starlightnet.work/schema.json",
- "title": "lains blog",
- "description": "STAY @ HOME SUMMER 2020",
- "url": "https://blog.kroot.sh/",
- "paths": {
- "symlinks_enabled": false,
- "cleanup_mode": "none",
- "source": "blog/",
- "templates": "templates/",
- "output": "web/"
- },
- "feeds": {
- "html": "index.html",
- "atom": "feed.atom",
- "rss": "feed.rss"
- },
- "custom": {
- "hey1": "You can add anything here, then reference it in your templates",
- "hey2": "or markdown files like this: {{custom.hey1}}, {{custom.hey2}}",
- "note": "Any JSON input through STDIN will be overlaid on top of this."
- },
- "callbacks": {
- "on_change": null,
- "on_create": null,
- "on_delete": null,
- "on_modify": null
- },
- "hashes": {
- "uPpV-hrEEME": "g1M06SJtvoE"
- }
-} \ No newline at end of file
+ "$schema": "https://makko.starlightnet.work/schema.json",
+ "title": "lains blog",
+ "description": "STAY @ HOME SUMMER 2020",
+ "url": "https://blog.kroot.sh/",
+ "paths": {
+ "symlinks_enabled": false,
+ "cleanup_mode": "none",
+ "source": "blog/",
+ "templates": "templates/",
+ "output": "web/"
+ },
+ "feeds": {
+ "html": "index.html",
+ "atom": "feed.atom",
+ "rss": "feed.rss"
+ },
+ "custom": {
+ "hey1": "You can add anything here, then reference it in your templates",
+ "hey2": "or markdown files like this: {{custom.hey1}}, {{custom.hey2}}",
+ "note": "Any JSON input through STDIN will be overlaid on top of this."
+ },
+ "callbacks": {
+ "on_change": null,
+ "on_create": null,
+ "on_delete": null,
+ "on_modify": null
+ },
+ "hashes": {
+ "afHxz86ZPIM": "9NAfI808SKU",
+ "uPpV-hrEEME": "g1M06SJtvoE"
+ }
+}
+
diff --git a/server/README.md b/server/README.md
index b757a4d..d116afe 100644
--- a/server/README.md
+++ b/server/README.md
@@ -1,4 +1,5 @@
# note
-if you intend to develop a patch for this server and submit it via email,
-pls be advised that this project is specifically designed to maintain minimal dependencies. ty.
+if you intend to develop a patch for this server and submit it via email, pls be
+advised that this project is specifically designed to maintain minimal
+dependencies. ty.