Skip to content

sukoneck/emoji-reverse-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

This is a reverse proxy that specifically supports emoji subdomains for nftnft.lol which is a Yat-esque service built on web3 by Owen of 0xmons.

Previously, nftnft.lol was using path-based routing for redirection and required the user to have a web3 connection. Using my 🌈 record as an example, it looked like this: nftnft.lol/#/a/🌈

By including this proxy, it now supports subdomain-based routing for redirection and the web3 connectivity is offloaded to the proxy. Users can now use records like this: 🌈.nftnft.lol

TLDR this proxy let's users do 🌈.nftnft.lol instead of nftnft.lol/#/a/🌈

Architecture

The proxy is a simple Node app that is running in Heroku with a keepalive from Kaffine.

When the proxy receives a request to nftnft.lol with a subdomain, it asks the contract if a redirect has been set and then forwards the request either to the set value or to the nftnft.lol homepage.

About

Reverse proxy for emoji subdomains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published