diff --git a/.gitignore b/.gitignore
index 4d4b985..23d21bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -160,6 +160,7 @@ cython_debug/
#.idea/
.DS_Store
+.env
# Docs site
_site/
@@ -167,4 +168,4 @@ _site/
.jekyll-cache/
.jekyll-metadata
.bundle/
-vendor/
\ No newline at end of file
+vendor/
diff --git a/test_interface.html b/test_interface.html
new file mode 100644
index 0000000..8908de8
--- /dev/null
+++ b/test_interface.html
@@ -0,0 +1,46 @@
+
+
+
+
+ Chat²GPT Test Rig
+
+
+
+ Chat²GPT Test Rig
+
+
+
+
+
+
+
diff --git a/test_server.py b/test_server.py
new file mode 100644
index 0000000..37a263c
--- /dev/null
+++ b/test_server.py
@@ -0,0 +1,24 @@
+from flask import Flask, request, jsonify, send_from_directory
+from main import process_event
+import json
+
+app = Flask(__name__, static_url_path='', static_folder='.')
+
+@app.route('/')
+def root():
+ return send_from_directory('.', 'test_interface.html')
+
+@app.route('/post', methods=['POST'])
+def google_chat_event():
+ try:
+ # Debug: Print the raw request data
+ print("Raw Request Data:", request.data)
+
+ # Get the event data from the request body
+ response = process_event(request)
+ return response
+ except Exception as e:
+ return jsonify({"error": str(e)}), 500
+
+if __name__ == "__main__":
+ app.run(port=5000, debug=True)