diff --git a/badger.py b/badger.py
new file mode 100644
index 0000000..77fbac2
--- /dev/null
+++ b/badger.py
@@ -0,0 +1,233 @@
+from flask import Flask, request, render_template_string
+import json
+from collections import Counter
+
+app = Flask(__name__)
+
+# Load the JSON data from the file
+with open("output.json", "r", encoding="utf-8") as f:
+    data = json.load(f)
+
+# Function to analyze the data
+def analyze_data(results):
+    # Filter out unwanted titles and hostnames
+    filtered_titles = [
+        entry["title"]
+        for entry in results
+        if entry.get("title") and entry["title"].lower() not in ["unknown", "no title"]
+    ]
+    filtered_hostnames = [
+        entry["hostname"]
+        for entry in results
+        if entry.get("hostname") and entry["hostname"].lower() != "unknown"
+    ]
+
+    # Find the most common titles and hostnames
+    most_common_titles = Counter(filtered_titles).most_common(25)
+    most_common_hostnames = Counter(filtered_hostnames).most_common(20)
+
+    return most_common_titles, most_common_hostnames
+
+
+# HTML Template
+HTML_TEMPLATE = """
+
+
+
+    
+        
Badger Search
+        
+        
Results ({{ results_count }} found)
+        
+            {% for result in results %}
+            - 
+                IP: {{ result.ip }}
 +                Hostname: {{ result.hostname }}
 +                Title: {{ result.title }}
 +                Description: {{ result.description }}
+
+            {% else %}
+- No results found.+            {% endfor %}
+
+