Skip to content

Instantly share code, notes, and snippets.

View thanakijwanavit's full-sized avatar
🎯
Focusing

Nic Wanavit thanakijwanavit

🎯
Focusing
View GitHub Profile
@thanakijwanavit
thanakijwanavit / README.md
Created July 4, 2026 23:56
Villa Price SDK v2 — price_v2.py + developer quickstart (dev-manual, no credentials)

Villa Price SDK v2 — Developer Quickstart

Standalone v2 client for the price database stack (dev-manual branch). V2 uses separate Lambda names, S3 buckets, DynamoDB table, and API paths from v1.

Install

Option A — PyPI (v1 SDK package; v2 module included when published):

pip install villaPricingSdk
@thanakijwanavit
thanakijwanavit / villa-pricing-sdk-v2-developer-guide.md
Created July 4, 2026 23:55
Villa Pricing SDK v2 developer guide (dev-manual)

Villa Pricing SDK v2 — Developer Guide

Package: villaPricingSdk
Version: 0.1.0
Install: pip install --upgrade villaPricingSdk==0.1.0


V2 stack (dev-manual)

Yes, but you must design the backup/recovery flow upfront. With DFNS delegated wallets, the user is the signer. Your company cannot just “reset” the wallet and move funds for them. That is the whole point of delegated/self-custodial signing. DFNS states that with delegated wallets, only the end user holds the credential required to sign transactions, and your organization cannot authorize transactions on their behalf.
The simple answer
You should support 3 backup layers:
1. Synced passkey
Apple iCloud Keychain / Google Password Manager / 1Password / etc.
2. Multiple credentials
Let the user add another passkey, phone, laptop, or hardware key.
@thanakijwanavit
thanakijwanavit / villacoupon3-developer-guide.md
Created April 22, 2026 03:09
VillaCoupon3 — Developer / PM Guide (no credentials)

VillaCoupon3 — Developer / PM Guide

For Aung. This explains how the VillaCoupon3 system is built, deployed, and operated.

Credentials (AWS keys + UAT login) are sent privately. This document has no secrets.


1. Purpose

@thanakijwanavit
thanakijwanavit / villacoupon3-uat.md
Created April 22, 2026 03:03
VillaCoupon3 — UAT Test Guide (no credentials)

VillaCoupon3 — UAT Test Guide

Hi Aung and Mickey — please help test the new coupon admin system.

Login credentials are sent separately (private channel). This document has no passwords.


1. Dashboards / URLs

@thanakijwanavit
thanakijwanavit / gist-delivery-distance-calculator.md
Created April 14, 2026 11:09
Villa Market Delivery Distance Calculator -- API docs, architecture, usage examples, and agent instructions

Villa Market -- Delivery Distance Calculator

What it does

A serverless API that calculates delivery shipping cost from a customer's location to all nearby Villa Market branches. Send your lat/lng, get back eligible branches sorted by distance with delivery cost in THB.

Live API

POST https://km797c84si.execute-api.ap-southeast-1.amazonaws.com/Prod/shipping-cost
@thanakijwanavit
thanakijwanavit / villa_download_links.md
Last active April 7, 2026 01:58
Villa Market Product Description Download Links (expires April 8, 2026)
@thanakijwanavit
thanakijwanavit / README.md
Last active March 5, 2026 06:41
OpenClaw Multi-Agent Team Setup Guide

OpenClaw Multi-Agent Team Setup Guide

A complete guide to setting up a multi-agent AI team with OpenClaw, featuring specialized agents for different domains.

Overview

This setup creates a team of AI agents that can be accessed through a single Telegram interface. Each agent has a distinct personality and expertise.

Team Structure

@thanakijwanavit
thanakijwanavit / README.md
Created March 5, 2026 06:39
OpenClaw Multi-Agent Team Setup Guide - A complete guide to setting up a team of specialized AI agents

OpenClaw Multi-Agent Team Setup Guide A complete guide to setting up a multi-agent AI team with OpenClaw, featuring specialized agents for different domains. ## Overview This setup creates a team of AI agents that can be accessed through a single Telegram interface. Each agent has a distinct personality and expertise. ## Team Structure | Agent | Role | Trigger | Purpose | |-------|------|---------|---------| | Wawa | Central Hub | (default) | Routes conversations, maintains context | | @milo | Strategy Lead | @milo | Strategic planning, OKRs, decisions | | @josh | Business Analyst | @josh | Metrics, pricing, competitive analysis | | @marketing | Marketing | @marketing | Content, trends, social monitoring | | @dev | Developer | @dev | Code, architecture, technical decisions | | @db | Database Guardian | @db | Beads/Dolt management | | @health | Health Expert | @health | Health, wellness, medical guidance | | @config | Config Expert | @config | Config validation, documentation

@thanakijwanavit
thanakijwanavit / gasclaw-k8s-deploy.md
Created March 5, 2026 04:04
Deploying Gasclaw on Kubernetes with Helm

Deploying Gasclaw on Kubernetes (Helm)

Gasclaw runs a Gastown multi-agent workspace managed by OpenClaw on Telegram, with Kimi K2.5 as the LLM backend. This guide deploys it to any Kubernetes cluster using the included Helm chart.

Prerequisites

  • Kubernetes cluster (1.24+)
  • Helm 3
  • kubectl configured for your cluster
  • API keys: Kimi keys, Telegram bot token, Telegram owner ID