วัดพระธรรมกายสาขาภาคพื้นเอเชีย-แอฟริกา

Dhammakaya Temple Branches — Asia & Africa · ฐานข้อมูลสาขา 45 แห่ง

45
สาขาทั้งหมด
0
ยืนยันแล้ว
45
กำลังแสดง
กรอง:
โซน 1
โซน 2
โซน 3
โซน 4
🎨 Artwork A (โซน1+3)
🎨 Artwork B (โซน2+4)

กำลังตรวจสอบ...

ชื่อวัด (จากเอกสาร)
ภาพที่กำหนด (auto)
🖼️
✏️ แก้ไขข้อมูลวัด

🕌
URL ภาพปัจจุบัน
สถานะ
ชื่อวัด (ภาษาไทย) *
ชื่อวัด (ภาษาอังกฤษ)
เจ้าอาวาส (ภาษาไทย)
เจ้าอาวาส (English)
ประเทศ
วันก่อตั้ง
ปีก่อตั้ง (ค.ศ.)
โทรศัพท์
Email
Line ID
ที่ตั้ง (Address)
Website
Facebook
Google Maps URL
หมายเหตุ / Notes
แท็ก (คลิกเพื่อ toggle)
ภาพรวมระบบ
สถิติรายโซน
โซนประเทศจำนวนArtworkมีภาพมีเจ้าอาวาสยืนยันภาพแล้ว
สถิติรายประเทศ
ประเทศจำนวนวัดโซนปีแรกสุด
Timeline — ปีก่อตั้ง
ข้อมูลที่ยังขาด
#วัดฟิลด์ที่ขาด
Sync Activity Log
Google API Credentials
📋 ขั้นตอน Setup Google OAuth — ทำครั้งเดียว
1
สร้าง Google Cloud Project
ไปที่ Google Cloud Console → New Project
🔗 console.cloud.google.com/projectcreate
2
เปิดใช้ APIs ที่จำเป็น
APIs & Services → Enable APIs → ค้นหาและเปิด:
3
สร้าง OAuth 2.0 Client ID
APIs & Services → Credentials → Create Credentials → OAuth 2.0 Client ID
Application type: Desktop app
🔗 console.cloud.google.com/apis/credentials
4
ตั้งค่า OAuth Consent Screen
OAuth consent screen → Add test users → ใส่ Gmail ที่จะใช้งาน
🔗 console.cloud.google.com/apis/credentials/consent
5
Download client_secret.json
Credentials page → Download JSON
บันทึกไฟล์เป็น: .credentials/client_secret.json
6
Google Sign-In ครั้งแรก
เปิด Terminal ในโฟลเดอร์ dhammakaya-db แล้วรัน:
python3 google_forms_generator.py --setup
เบราว์เซอร์จะเปิดขึ้นให้ login → อนุญาต → token จะถูกบันทึกอัตโนมัติ
✅ Token ถูกบันทึกที่: .credentials/google_token.json
ใช้งานได้ต่อเนื่องโดยไม่ต้อง login ซ้ำ จนกว่า token จะหมดอายุ
Sync & Polling
เปิด Auto Polling
ดึง Form responses อัตโนมัติตามรอบเวลาที่กำหนด
Polling Interval
ดึงข้อมูลทุกกี่วินาที (แนะนำ 60+)
Watched Form IDs
Form ID ที่ต้องการ sync (จาก URL ของ Google Form)
Webhook URL (สำหรับ Apps Script)
URL ที่ Apps Script จะ POST มาเมื่อมีการกรอก Form
http://localhost:3333/api/webhook/form-response
ข้อมูลระบบ
กำลังโหลด...
เกี่ยวกับระบบ

🏯 Dhammakaya Temple Asia-Africa Database

ระบบฐานข้อมูลวัดพระธรรมกายสาขาภาคพื้นเอเชีย-แอฟริกา 45 สาขา ใน 4 โซน
รองรับการจัดการข้อมูล CRUD, ตรวจสอบภาพ, ส่งออก JSON, สร้าง Google Form อัตโนมัติ และ Real-time Sync

เวอร์ชัน 1.0 45 สาขา 4 โซน
ผู้พัฒนา & ผู้มีส่วนช่วยเหลือ
เทคโนโลยีที่ใช้

🌐 Frontend

HTML5 / CSS3 / Vanilla JS
Server-Sent Events (SSE)

⚙️ Backend

Node.js (built-in http)
REST API · No dependencies

🐍 Scripts

Python 3
LibreOffice · pdfplumber

📋 Google APIs

Google Forms API v1
Google Drive API v3
OAuth 2.0

📄 Source

Apple Pages (.pages)
Unzip → LibreOffice → JSON

🤖 AI Assist

Claude (Anthropic)
Code generation & parsing

บันทึกกิจกรรม (Posts)

+ เพิ่มผู้มีส่วนร่วม

ชื่อ-นามสกุล *
บทบาท / Role
หน่วยงาน / Organization
Email / Contact
หมายเหตุ