Skip to content

Instantly share code, notes, and snippets.

@ayunami2000
Created October 11, 2022 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayunami2000/7f2843842a3363c8697f04da3e3e478d to your computer and use it in GitHub Desktop.
Save ayunami2000/7f2843842a3363c8697f04da3e3e478d to your computer and use it in GitHub Desktop.
Source code for has-an-oculus.quest
has-an-oculus.quest {
respond "<!DOCTYPE html><html><head><link href=\"https://fonts.googleapis.com/css2?family=Nunito&display=swap\" rel=\"stylesheet\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><title>Do you have an Oculus Quest?</title></head><body style=\"background:#111;color:#ddd;font-family:'Nunito',sans-serif\"><h1>Do you have an Oculus Quest?</h1><p>Then show it off! <pre>https://<b contenteditable>your-mom</b>.has-an-oculus.quest</pre></p><sub style=\"position:fixed;bottom:0;left:0;width:100vw;opacity:.5;text-align:center\">made by ayunami2000</sub></body></html>" 200
}
*.has-an-oculus.quest {
tls {
dns cloudflare <cloudflare API token to manage DNS records on the domain>
}
#@noob {
# host abnumality.has-an-oculus.quest
#}
#respond @noob "404 Quest not found." 404
respond "<!DOCTYPE html><html><head><link href=\"https://fonts.googleapis.com/css2?family=Nunito&display=swap\" rel=\"stylesheet\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><title>{labels.2} has an Oculus Quest!</title></head><body style=\"white-space:nowrap;font-family:'Nunito',sans-serif;background:#111;text-align:center;color:#ddd\"><span style=\"line-height:90vh;font-size:4em\">{labels.2} has an Oculus Quest!</span><sub style=\"position:fixed;bottom:0;left:0;width:100vw;opacity:.5\">made by ayunami2000</sub></body></html>" 200
}
@exhq
Copy link

exhq commented Jan 3, 2024

guh.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment