personal playground for near web4
there are three way to use near accounts as domains for web content
use a web2 domain.
use an alternate dns that resolves near account adresses.
use an alternate protcol instead of https:// seomthing like near://
of these three soulutions using a web2 domain is the easiest, and does not require a user to set up anything, anyone can visit a near web4 page.
see example of the the web2 doamin set up at https://near.page, every near account gets a free subdomain at near.page, for example john.near gets john.near.page
(web2 domain solution near.page set up by Vladimir Grichina)
details
smart contract on chain with logic for what to serve at the request path.
content can be hosted on chain or off. at near.page there is also set up for web4 auth.
web4 contracts
- web4-min
- web4-svelte
- https://github.com/sleet-web4/web4-colorsnake-svg-banner
- https://github.com/sleet-web4/web4-redirect
demo at...
but you will have issues viewing it if you don't set up dns, and explaining it here is beyound the scope of this readme!
copyright 2025 by sleet.near