Commit Graph

32 Commits

Author SHA1 Message Date
5033281eab fix: add host 0.0.0.0 for local dev accessibility 2026-04-22 07:58:03 +07:00
c38cc4ae26 feat: update website-creator to static mode with ConsentOS + tracking scripts
- Remove Astro DB (no longer needed for consent logging)
- Change from SSR to static output mode
- Add TrackingScripts.astro with GA4, GTM, Umami, Clarity, FB Pixel, Google Ads, TikTok, LINE
- Use ConsentOS consent-loader.js for auto-blocking tracking scripts
- Update Dockerfile to nginx static hosting
- Remove old consent template (custom consent no longer needed)
- Update SKILL.md, AGENTS.md, README.md documentation
- Add nginx.conf for static hosting
2026-04-21 21:19:32 +07:00
13e0afd24a feat: add diagram-design and html-ppt skills
- Add cathrynlavery/diagram-design: 13 editorial diagram types (architecture, flowchart, sequence, state machine, ER, timeline, etc.) as standalone HTML/SVG
- Add lewislulu/html-ppt-skill: 36 themes, 31 layouts, 47 animations, presenter mode for HTML presentations
- Security check: both repos verified clean (no malware, no data exfiltration)
2026-04-21 19:58:51 +07:00
6583d23c19 fix: update SKILL.md from static to SSR mode
- Change output: 'static' to output: 'server' with node adapter
- Add @astrojs/node adapter documentation
- Update Static vs SSR explanation for Easypanel deployment
2026-04-18 11:02:48 +07:00
97df5aac8d feat: add Easypanel persistent volume support for Astro DB
- Change Dockerfile from nginx (static) to Node.js (SSR)
- Add @astrojs/node adapter for SSR mode
- Add OUT_DIR=/data for persistent SQLite storage
- Add .env.example with persistent storage config
- Update README with Easypanel deployment instructions
- Database persists across redeployments at /data/astro.db
2026-04-17 22:54:12 +07:00
628298183a feat: migrate website-creator from Next.js+Payload to Astro+Tina CMS
Major changes:
- Replace Payload CMS with Tina CMS (self-hosted)
- Add Astro DB for consent logging (PDPA compliant)
- Update Tailwind v3 to v4 (@tailwindcss/vite plugin)
- Add astro-tina-starter template
- Rewrite consent template for Astro (ConsentBanner.astro, Astro DB, Nano Stores)
- Add install-tina-backend.sh for self-hosted Tina per customer
- Rename convert-astro.sh to migrate-tina.sh
- Add AGENTS.md template for generated websites
- Delete all Payload/Next.js files

Technical updates:
- Astro DB using defineDb with eq operators for queries
- Tailwind v4 with @theme block
- Tina CMS local development mode
- Proper Astro API routes for consent

Research-verified with official documentation (April 2026)
2026-04-17 14:52:59 +07:00
ce8483e546 Remove Astro templates, fix sitemap template for Next.js
- Delete: CookieConsent.astro (old Astro component)
- Delete: consent.ts, right-to-be-forgotten.ts (Astro API routes)
- Update: route.ts is now proper Next.js route handler
- Update: sitemap-template.md - replace Astro pages structure with Next.js app/ structure
- Update: payload-nextjs-notes.md - fix MongoDB port reference
- Note: seo-multi-channel auto_publish.py is for Astro sites (kept as-is)
2026-04-17 11:03:10 +07:00
47e0258694 Fix scripts for Next.js + Payload CMS workflow
- new-project.sh: Use nextjs-payload-starter template, Next.js AI rules
- convert-astro.sh: Complete rewrite to migrate Astro MDX to Payload CMS Lexical JSON
- deploy.sh: Check for next.config instead of astro.config.mjs, use MONGODB_URL
- preview.sh: Check for Next.js, default port 3002
- audit-seo.sh: Check .tsx pages in src/app, Next.js config

All scripts now properly support Next.js + Payload CMS workflow.
2026-04-17 10:34:41 +07:00
2d57380c79 Remove Astro references from website-creator skill 2026-04-16 18:51:36 +07:00
ba1bca244a Update design and ui-ux-pro-max skills from install 2026-04-16 18:35:24 +07:00
da5f964d9a Add sub-skills from ui-ux-pro-max-skill repo
Added:
- banner-design (new)
- brand (new)
- design-system (new)
- slides (new)
- ui-ux-pro-max data/scripts (from GitHub clone)
- ui-styling data/scripts (from GitHub clone)
2026-04-16 18:33:32 +07:00
b26c8199a5 Update skills: add website-creator, mql-developer, ecommerce-astro
Changes:
- Add FAL_KEY and GEMINI_API_KEY to .env.example
- Update picture-it to use ~/.config/opencode/.env (unified creds)
- Remove shodh-memory skill (no longer used)
- Remove alphaear-* skills (deprecated)
- Remove thai-frontend-dev skill (replaced by website-creator)
- Remove theme-factory skill
- Add mql-developer skill (MQL5 trading)
- Add ecommerce-astro skill (Astro e-commerce)
- Add website-creator skill (Next.js + Payload CMS)
- Update install script for new skills
2026-04-16 17:40:27 +07:00
Kunthawat Greethong
5053ccdba2 feat(thai-frontend-dev): update consent system to better-sqlite3
- Replace Astro DB with better-sqlite3 (bypasses remote SQLite limitation)
- Add consent API with auto-create table pattern
- Update admin dashboard to fetch from API instead of Astro DB
- Add IP hashing and rate limiting for GDPR compliance
- Add seo-utils-mcp-guide skill
- Update legal templates with business placeholders
2026-04-01 18:36:51 +07:00
Kunthawat Greethong
e4d41e3ae5 Move .env into skills/ for easy install
- Added skills/_env_loader.py - shared env loader for all scripts
- Updated 17 scripts to use load_unified_env()
- Updated install-skills.sh to copy .env into skills/
- Updated README with simpler OpenClaw install instructions
- .env in skills/ is gitignored (credentials stay private)
2026-03-27 17:49:20 +07:00
Kunthawat Greethong
17930e9650 Update alphaear skills to use MiniMax as default LLM
Changes:
- Added 'minimax' provider to LLM factory
- Changed default LLM_PROVIDER from 'ust' to 'minimax'
- Changed default LLM_MODEL from 'Qwen' to 'MiniMax-Text-01'
- Updated REASONING_MODEL_PROVIDER and TOOL_MODEL_PROVIDER to minimax
- Sentiment tools now prefer MINIMAX_API_KEY over UST_KEY_API
- .env.example updated with MiniMax defaults
2026-03-27 10:27:00 +07:00
Kunthawat Greethong
58f9380ec4 Import 9 alphaear finance skills
- alphaear-deepear-lite: DeepEar Lite API integration
- alphaear-logic-visualizer: Draw.io XML finance diagrams
- alphaear-news: Real-time finance news (10+ sources)
- alphaear-predictor: Kronos time-series forecasting
- alphaear-reporter: Professional financial reports
- alphaear-search: Web search + local RAG
- alphaear-sentiment: FinBERT/LLM sentiment analysis
- alphaear-signal-tracker: Signal evolution tracking
- alphaear-stock: A-Share/HK/US stock data

Updates:
- All scripts updated to use universal .env path
- Added JINA_API_KEY, LLM_*, DEEPSEEK_API_KEY to .env.example
- Updated load_dotenv() to use ~/.config/opencode/.env
2026-03-27 10:11:37 +07:00
Kunthawat Greethong
7edf5bc4d0 feat: Import 35+ skills, merge duplicates, add openclaw installer
Major updates:
- Added 35+ new skills from awesome-opencode-skills and antigravity repos
- Merged SEO skills into seo-master
- Merged architecture skills into architecture
- Merged security skills into security-auditor and security-coder
- Merged testing skills into testing-master and testing-patterns
- Merged pentesting skills into pentesting
- Renamed website-creator to thai-frontend-dev
- Replaced skill-creator with github version
- Removed Chutes references (use MiniMax API instead)
- Added install-openclaw-skills.sh for cross-platform installation
- Updated .env.example with MiniMax API credentials
2026-03-26 11:37:39 +07:00
Kunthawat Greethong
48595100a1 Update seo-multi-channel: remove image skill dependencies 2026-03-22 13:08:30 +07:00
Kunthawat Greethong
fe48c4c294 Add LINE icon to website-creator skill 2026-03-22 11:43:55 +07:00
Kunthawat Greethong
1d2a5514d4 Remove image-analyze, image-edit, image-generation skills 2026-03-22 11:08:12 +07:00
Kunthawat Greethong
12515acd5d Fix website-creator: add missing functions and templates with IDs 2026-03-16 10:50:00 +07:00
Kunthawat Greethong
58ab725ef9 Website-creator: always create locally first, then ask to sync 2026-03-15 15:02:10 +07:00
Kunthawat Greethong
e5c299216a Add --local-only flag to website-creator for local testing before deploy 2026-03-15 14:50:24 +07:00
Kunthawat Greethong
3eb711a97a Add shodh-memory skill for persistent context across sessions 2026-03-15 14:44:16 +07:00
Kunthawat Greethong
6e183c584b feat: Auto-generate admin password from project folder name
Changes:
- Removed --admin-password argument (no longer needed)
- Password auto-generated: folder_name.lower().replace(' ', '')
- Each website has unique password
- No need to ask user for password

Examples:
- moreminimore → password: moreminimore
- My Website → password: mywebsite
- deal-plustech → password: deal-plustech

Benefits:
- Simple (same as folder name)
- Secure (different per project)
- No password management needed
- Not stored in git (in .env)
2026-03-12 09:53:17 +07:00
Kunthawat Greethong
61321669d1 fix: Add missing imports to migrate_existing_website.py
- Added argparse, json, shutil, re, subprocess imports
- Fixed NameError when running script
- Script now works correctly
2026-03-12 09:45:48 +07:00
Kunthawat Greethong
20d1e24389 feat: Add smart website migration with tech stack detection
NEW MIGRATION WORKFLOW:
1. DETECT - Analyzes tech stack (Astro, Tailwind, CSS, etc.)
2. PLAN - Creates detailed migration plan with risks
3. PRESERVE - Keeps ALL content exactly (inline CSS, text, routes)
4. CONVERT - Carefully converts CSS (Tailwind v3→v4)
5. REBUILD - Fresh Astro install with preserved content
6. ENHANCE - Adds new features (cookie consent, PDPA)
7. TEST - Comprehensive testing before deployment

Files:
- migrate_existing_website.py (new smart migration script)
- MIGRATION_WORKFLOW.md (documentation)

Benefits:
- No more broken CSS
- No more failed deployments
- All inline styles preserved
- All routes preserved
- Plan before migrating (--plan-only mode)
2026-03-12 09:19:26 +07:00
Kunthawat Greethong
7fe879ed61 fix: Website-creator Dockerfile uses npm install instead of ci
- Changed npm ci to npm install (more flexible for production)
- Port remains 80 (correct)
- Applies to both source and global install
2026-03-12 08:56:21 +07:00
Kunthawat Greethong
107ebad97c feat: Major website-creator skill update
- Reverted to Dockerfile deployment (from nixpacks)
- Created Thai legal document templates (PDPA compliant)
  - Privacy Policy template (Thai law)
  - Terms of Service template (Thai Consumer Protection Act)
- Updated cookie consent to actually block/enable cookies
- Added template folder structure
- All templates research-based from major Thai company websites

Compliance:
- Thai PDPA (Personal Data Protection Act B.E. 2562)
- Thai Consumer Protection Act
- Thai Computer Crime Act
2026-03-10 19:28:28 +07:00
Kunthawat Greethong
719edd6681 feat: Use nixpacks as default build type for Easypanel
- Changed from Dockerfile to nixpacks (no Dockerfile needed)
- Astro projects automatically detected and built by nixpacks
- Simpler deployment, no Docker configuration required
2026-03-10 10:38:30 +07:00
Kunthawat Greethong
7524c29ce5 fix: Umami skill auto-load from unified .env
- Load credentials from ~/.config/opencode/.env automatically
- No need to configure .env in each skill directory
- Fixes issue where new skills couldn't find credentials
2026-03-09 13:50:10 +07:00
Kunthawat Greethong
9be686f587 Auto-sync from website-creator 2026-03-08 23:03:19 +07:00