This guide shows how to connect OpenCode to a local CLIProxyAPI instance running in Docker and use RTK to compact bash output before OpenCode reads it.
Overview Flow OpenCode -> API call to http://localhost:8317/v1 CLIProxyAPI (Docker) -> forwards through OAuth subscription Claude / Gemini / Codex <- RTK hook compacts bash output before OpenCode reads it Step 1: Check That CLIProxyAPI Docker Is Running docker ps | grep cliproxy # Quick test curl http://localhost:8317/v1/models | jq # If you mapped a different port, replace 8317 accordingly.
This post summarizes a real debugging and configuration process to make two WireGuard peers ping each other through a MikroTik router acting as the central hub.
Context Topology:
Peer A (Client) (10.10.0.10) --+ +--> WireGuard Interface (MikroTik) <-- hub VPS (10.10.2.1) ---------------+ Environment:
MikroTik router acts as the WireGuard hub, with 10.10.0.1/24 on the WG interface. Peer A (Client) connects to WG with 10.10.0.10/32. VPS connects to WG with 10.
This article explains a setup where a VPS sends traffic through a home Internet connection using WireGuard, while still allowing access between the VPS and the home LAN.
Topology Internet <-> MikroTik (pppoe-out1) - Dynamic home IP via DDNS <-> WireGuard tunnel VPS (203.0.113.10) - wg0: 10.10.2.1/24 <-> LAN 172.16.0.0/24 1. VPS - /etc/wireguard/wg0.conf [Interface] Address = 10.10.2.1/24 ListenPort = 51820 PrivateKey = <private_key_vps> PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE; iptables -A FORWARD -o %i -j ACCEPT PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE; iptables -D FORWARD -o %i -j ACCEPT [Peer] # MikroTik PublicKey = <public_key_mikrotik> AllowedIPs = 0.
This guide provides a comprehensive walkthrough on establishing a secure WireGuard VPN connection between a Virtual Private Server (VPS) and a MikroTik router, enabling seamless access to your home Local Area Network (LAN) from your VPS. It details the necessary configurations for both the VPS and the MikroTik device, covering crucial steps such as WireGuard interface creation, peer setup, IP address assignment, routing, firewall rules, and Network Address Translation (NAT). By following these instructions, you will be able to securely extend your home network’s reach to your VPS, allowing you to interact with LAN devices as if you were directly connected.
This article will guide you through the process of installing Openclaw using Docker and Docker Compose, including preparation, configuration, and service startup steps with Youtube video.
Pros and Cons of Running Openclaw with Docker Pros:
Fast & Isolated Deployment: Quick setup in an isolated environment, reducing host impact. Portable & Resilient: Easy to back up, move, and redeploy with consistent settings; supports 24/7 operation and simplified version management. Secure: Requires fewer direct host permissions.
Part 1: Setting Up NFS on Your OpenMediaVault Server Part 2: Client-Side Automation with Autofs Part 3: Integrating Autofs with Docker (The rshared Magic) Managing network storage can be a headache, especially when you’re dealing with multiple services and containers. Manually mounting NFS shares is tedious, and getting Docker containers to reliably see those shares can be a whole other challenge.
In this post, these issues will be tackled head-on.
Several documents have been created using Canvas in Obsidian to organize and visualize ideas. Although Obsidian includes a built-in feature that allows exporting a Canvas as an image, the default output has not always met expectations in terms of clarity and flexibility.
Exploration of Alternative Solutions Various plugins and approaches have been tested in an attempt to achieve a more customizable export method. However, most of these plugins did not provide satisfactory results, either due to limited layout preservation or lack of compatibility with specific use cases.
Running your own Ethereum node helps you verify transactions, improve decentralization, and gain deeper control over blockchain data.
In this article, we’ll walk you through setting up an Ethereum execution client (Reth) and a consensus client (Lighthouse) using Docker Compose, including how to check logs, verify synchronization, and accelerate sync using snapshots.
Create the Ethereum Node Directory Navigate to the directory where you want to store Ethereum node data:
cd /srv Create the required folder structure: