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
This commit is contained in:
Kunthawat Greethong
2026-03-10 19:28:28 +07:00
parent 719edd6681
commit 107ebad97c
9 changed files with 1951 additions and 13 deletions

View File

@@ -92,7 +92,7 @@ def make_request(endpoint, method="GET", data=None, token=None):
def create_service(project_name, service_name, token):
print(f"🚀 Creating service: {service_name}")
data = {"json": {"projectName": project_name, "serviceName": service_name, "build": {"type": "nixpacks"}}}
data = {"json": {"projectName": project_name, "serviceName": service_name, "build": {"type": "dockerfile", "file": "Dockerfile"}}}
result = make_request("services.app.createService", "POST", data, token)
if result:
print(f"✅ Service created: {service_name}")
@@ -113,7 +113,7 @@ def update_git_source(project_name, service_name, git_url, branch="main", token=
return False
def update_build_type(project_name, service_name, token, build_type="nixpacks"):
def update_build_type(project_name, service_name, token, build_type="dockerfile"):
print(f"🔨 Setting build type to {build_type}...")
data = {"json": {"projectName": project_name, "serviceName": service_name, "build": {"type": build_type}}}
result = make_request("services.app.updateBuild", "POST", data, token)