diff --git a/geminiportal/app.py b/geminiportal/app.py
index c7405a2..e0e7ff6 100644
--- a/geminiportal/app.py
+++ b/geminiportal/app.py
@@ -1,8 +1,9 @@
import logging
+import uuid
from datetime import datetime
from urllib.parse import quote
-from quart import Quart, Response, g, render_template, request
+from quart import Quart, Response, g, render_template, request, url_for
from quart.logging import default_handler
from werkzeug.wrappers.response import Response as WerkzeugResponse
@@ -38,6 +39,9 @@ async def handle_proxy_error(e):
@app.context_processor
def inject_context():
kwargs = {}
+
+ kwargs["trap_url"] = url_for("trap", token=uuid.uuid4().hex)
+
if "response" in g:
kwargs["response"] = g.response
if hasattr(g.response, "tls_cert"):
@@ -82,6 +86,11 @@ async def changes() -> Response:
return Response(content)
+@app.route("/trap/
+ Note: I'm aware that recent activity from web crawlers has been spamming some gemini/gopher
+ servers with a large amount of traffic from this web proxy. Sorry about that! If it's causing
+ issues for you, you can block this server's IP address and/or reach out to me over email at
+ michael@mozz.us with details, and I'll work on mitigation. This update adds initial support for the Gopher+ protocol! 🎉 This update adds initial support for the Gopher+
+ protocol! 🎉 Here are some example URLs to try it out:Changes
+ 2025-01-29
+
+
2023-11-13
2023-11-13
2023-10-08
2023-08-13
2023-08-09
-
2023-08-04
2023-08-03
Gopher+
-
-
Gopher+
Other Changes
@@ -64,7 +82,8 @@
Other Changes
2023-01-18
This release marks a major milestone and rewrite of the proxy server,
geared towards improving performance on my poor VPC instance. Please
let me know if you encounter any broken links or pages that were
- previously working, and I'll do my best to fix them.
-