We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0d3983 commit 8ae92d0Copy full SHA for 8ae92d0
goto/app.py
@@ -0,0 +1,22 @@
1
+import os
2
+import random
3
+from flask import Flask, redirect
4
+
5
+app = Flask(__name__)
6
7
+LINKS = [
8
+ "https://chat.com/",
9
+ "https://gemini.google.com/app",
10
+ "https://grok.com/",
11
+ "https://claude.ai/",
12
+ "https://perplexity.ai/",
13
+ "https://meta.ai/prompt/"
14
+]
15
16
+@app.route("/")
17
+def go():
18
+ return redirect(random.choice(LINKS), code=302)
19
20
+if __name__ == "__main__":
21
+ port = int(os.environ.get('PORT', 5000))
22
+ app.run(host='0.0.0.0', port=port)
goto/requirements.txt
@@ -0,0 +1 @@
+flask
0 commit comments