I think it's about time damus web grows up from the /web subdirectory. We should have proper routing with the web app controlling all of the route handlers (minus a select few that is pre-emptively handled by nginx where it makes sense)
I want to be able to link to https://damus.io/@jb55@jb55.com and have it load the nip-05 pubkey and profile for that user, eg:
curl -sL https://jb55.com/.well-known/nostr.json?name=jb55 { "names": { "jb55": "32e1827635..." } }
By default, https://damus.io/@bob could load:
curl -sL https://damus.io/.well-known/nostr.json?name=bob { "names": { "bob": "abcdef01234..." } }
I haven't decided how I will handle damus registrations yet. It could just be email-verified, but would be optional and you could register an official username after signup perhaps? I want signup to be frictionless as possible.
A few things I want to do:
Move damus.io/web to damus.io. I also registed damus.social or damus.chat but maybe we can just use these for custom NIP-05 identifiers.
Keep the splash page on damus.io as the main landing page, but have a "Sign up" or "Try Now" call-to-action that, once completed, renders the app (which is already loaded on the page).
These routes:
/@ /npub... /p/hex...
/note... /e/hex...
/explore /dms /notifications / (home)
I agree and I have some thoughts.
About the domain: I would prefer a ".app" domain if we could get it. I think ".social" is too long and a bit silly. It also indicates a social network, but we are an app - "nostr.social" makes more sense. ".chat" doesn't make sense to me because nostr & damus can do more than chat. It also reminds me of bad telecom companies and their tacky ads. ".app" really resonates with Damus being an app that runs on Nostr. ".io" is too techy, cool, but techy. Of course this is all mindset.
I would really like to keep the app in stealth mode for now. I do not want to announce anything with a splash page until the basic feature set is ready and polished. I think we could do this by keeping the current splash page and putting a stealth login button somewhere. I would also like there to be some stability in deployment - no breaking changes deployed. It would be nice to have a beta domain or subdomain.
I have no issues with the routing. I do have thoughts about services such as usernames & media/file hosting but I think I should save that for another topic as it is off topic for this thread.
On Wed, Nov 16, 2022 at 02:26:16AM +0000, ~tomtom wrote:
I agree and I have some thoughts.
About the domain: I would prefer a ".app" domain if we could get it. I think ".social" is too long and a bit silly. It also indicates a social network, but we are an app - "nostr.social" makes more sense. ".chat" doesn't make sense to me because nostr & damus can do more than chat. It also reminds me of bad telecom companies and their tacky ads. ".app" really resonates with Damus being an app that runs on Nostr. ".io" is too techy, cool, but techy. Of course this is all mindset.
.com and .app is taken. I will likely stick to .io for now until I can afford to buy .com for $20,000 or whatever it is.
I would really like to keep the app in stealth mode for now. I do not want to announce anything with a splash page until the basic feature set is ready and polished. I think we could do this by keeping the current splash page and putting a stealth login button somewhere. I would also like there to be some stability in deployment - no breaking changes deployed. It would be nice to have a beta domain or subdomain.
let's just use beta.damus.io
Yikes, sounds good.