Is it a part of the blossom-server v4.0.0 release? Where do you find this?
Discussion
yes, should be the home page / in the latest release. Haven't tried it myself though.
I'm running the "ghcr.io/hzrd149/blossom-server:4.0.0" image but I'm only getting "Not found" when loading the root path
Maybe my config/setup is wrong? Should this page be on the root path in the v4 release nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr?
I just started the container without any configuration and the UI does show up in the root / path.
yeah my problem was that I mounted the /app/public folder in the docker container to an empty ./public folder on the host filesystem. Removed the volume and now it works
when blossom-server starts it tries to serve the local "public" folder. it none exists then it will fallback to using the "public" folder that comes with the package
https://github.com/hzrd149/blossom-server/blob/master/src/index.ts#L65-L72
So if your seeing nothing at the root it might because you have a empty public folder
Ah, got it to work now, ty
Its just a simple static web app. it should be compatible with any blossom server 😀
https://github.com/hzrd149/blossom-server/tree/master/public
It needs a lot of work though. so if anyone wants to learn Lit and tailwind let me know
I don't know Lit. Is it https://lit.dev/ ? Looks like it's another abstraction layer to which I'm always skeptical.
https://gomakethings.com/what-about-lit-for-web-components/
But I never used it, so I can't fully judge it on which need it serves..
As for Tailwind this is familiar territory :)
I have not used Lit much, but its a good framework for this since it does not require a compiler or bundler, which is perfect for static files
Also haven't used tailwind much, but I'm learning 😀
If your interested in experimenting. then the "landing page" app still needs a few more features and I don't have time to build all of them
- Blob details page that shows info and a preview (if its an image / video / audio)
- Mobile friendly list page (with filtering by type / size / date)
- Mirror button/page so you can easily send a blob to another server from the web UI
- Integration with https://github.com/fiatjaf/window.nostr.js for other signers
These are all pretty easy Web2 features to build since your just talking to a single server 😀
