Skip to main content

2 posts tagged with "VPS"

Posts about virtual private servers and self-hosting.

View All Tags

Hosting Multiple OpenClaw Agents with Docker

· 17 min read

OpenClaw hero

OpenClaw is the hot new thing in the world of AI and tech. It's a fairly open ended tool that allows you to run a personalized AI agent on your own hardware. It can run command line tools, perform web searches, write code, run desktop apps, and perform scheduled tasks, making it an excellent personal aid. All of that is paired with its extensive communication integrations, which allow you to chat with and control it through almost any messaging app.

OpenClaw is designed to be more than another AI agent. The fact that it can run your desktop empowers both you and it to do more than a standard cloud-based AI tool. As you'd expect, however, that comes with huge security implications.

I've opted not to run OpenClaw on any of my personal hardware. Instead, I'm trying to use it by giving it segmented virtual workspaces that it can own and operate within. This persistent workspace, along with the flexibility in tools I'll give it, makes it more useful for asynchronous tasks than current cloud offerings.

GitHub Apps for Personal Automation: Secure, Granular Access Control

· 13 min read

GitHub Apps hero

When automating tasks that interact with GitHub—whether it is syncing server configurations, running AI agents, or triggering multi-repository CI/CD pipelines—security is paramount. Historically, developers relied on Personal Access Tokens (PATs) for scripting and automation. However, classic PATs represent a significant security risk: they are tied to your personal identity, grant broad account-wide scopes, and do not expire unless manually configured to do so. If a classic PAT is leaked, the attacker gains access to your entire GitHub presence.

Fortunately, GitHub provides a modern, robust, and highly secure alternative: GitHub Apps.

Unlike PATs, GitHub Apps act as standalone identities. They can be installed on specific accounts or organizations and restricted to only the specific repositories they need to access. Furthermore, they do not use static tokens; instead, they authenticate via short-lived installation access tokens that rotate automatically.

One major audit benefit of this architecture is clear identity separation in your Git history. When you commit code using a Personal Access Token, the commit is attributed directly to your personal developer account. If you run multiple automated scripts, it becomes impossible to distinguish a manual commit you wrote from automated changes a script made. With a GitHub App, commits and API actions are explicitly labeled under the App's own bot identity (e.g., your-app-name[bot]). This makes it immediately obvious in pull requests, commit histories, and audit logs which actions were performed by a human and which were executed by your automation.

In this guide, we will explore the core architecture of GitHub Apps and walk through how to configure and deploy them across three common personal automation scenarios:

  1. VPS/Server Syncing: Syncing configuration repositories (Docker Compose, Nginx, etc.) to a remote host.
  2. OpenClaw Agents: Giving an AI agent its own isolated identity to perform coding and repository management tasks.
  3. Actions & Cross-Repo Pipelines: Triggering nested workflows in GitHub Actions.