Documentation

Documentation for the olaf-klein.de website.

🎯 Goal

To create a fast, secure, and easily manageable website using best-in-class open source technologies.


🐒 Vibe Coding & Automation

The most unique aspect of this project is that it was 100% created with AI support. From the initial server setup to the complex Gmail API integration and the final styling refinements, not a single line of code was touched manually by Olaf.

Everything was "Vibe-Coded" and "Vibe-Installed" using AI-driven agents and automated Ansible playbooks. Even this documentation itself was generated automatically.

Source Code: github.com/monkeytower/olaf-klein-de


🛠️ Tech Stack

We selected this stack for its performance, developer experience, and cost-efficiency (free tier friendly):

  • Astro: The web framework. Optimized for static content and speed.
  • Tailwind CSS: A utility-first CSS framework for rapid UI development.
  • Keystatic: A Git-based Content Management System (CMS). No database required.
  • Coolify: Self-hosted PaaS platform (deploy apps like magic).
  • Docker: For containerized deployment on any Linux server.
  • Google Gmail API: For sending emails securely via OAuth2 / backend.
  • Cloudflare Turnstile: Privacy-focused CAPTCHA alternative to block spam.
  • Gravatar: Globally Recognized Avatars for uniform profile pictures across sites.

📚 Documentation Structure

Follow these steps to understand or recreate the setup:

  1. Step 1: Astro & Local Setup
    • Setting up the project, installing dependencies, and running the dev server.
  2. Step 2: CMS Integration
    • Configuring Keystatic for content management via GitHub.
  3. Step 3: Backend & Security
    • Implementing the email API and adding Turnstile protection.
  4. Step 4: Deployment
    • Going live on Coolify using Docker and configuring environment variables.

🚀 Getting Started

Repository: github.com/monkeytower/olaf-klein-de

If you have downloaded this repository, you can start the project locally with:

npm install
npm run dev

Visit http://localhost:4321 to see the site.


💡 Use as Template

Feel free to use this repository as a template for your own projects. I would appreciate a backlink to olaf-klein.de or monkeytower.net, but it's not a requirement. Happy coding!


© Olaf Klein Back to Top ↑