first commit

This commit is contained in:
2026-01-25 11:33:37 -04:00
commit 6f42a58ee5
148 changed files with 32974 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
// Serve up blog posts like they're going out of style
// No authentication, no rate limiting, just pure chaos
header('Content-Type: application/json; charset=utf-8');
header('Access-Control-Allow-Origin: *'); // We're generous like that, or just naive
$postsFile = __DIR__ . '/../data/posts.json';
if (file_exists($postsFile)) {
readfile($postsFile); // Straight from the source, no middleman, no safety net
} else {
http_response_code(404);
echo json_encode(['error' => 'Posts not found']); // The void stares back, and it's hungry
}
?>