Refactoring bolt.fun nostr-powered commenting feature - Part 1
There are a lot of things we would love our commenting system to have.
Voting, reactions, mentions, profiles, filterable by origin, handles spam,...etc
But we decided that instead of building all of that in one giant step, we will be moving one step at a time.
Prioritizing what's more important over what will be nice to have.
Especially because Nostr has been evolving quite a bit recently.
So something that might be very challenging to do today, might become possible 2 weeks from now!
So for our first version, we will be focusing on building a good core for the commenting widget, & then we will go from there.
For the core version, the most important things we want to have are:
- Follows the commenting specs that we discussed with fiatjaf
(https://github.com/nostr-protocol/nips/pull/19#issuecomment-1228223665))
- Enable users to publish their comments in total non-custodial manner
(If they are using Alby, nos2x,...etc)
Additionally, if they have a nostr supporting extension, they should be able to publish a comment even without signing in to bolt.fun.
If they don't, then we can use their bolt-fun generated keys to publish their comments for them.
- Other non-bolt_fun clients should be able to view any story's thread, & understand OR participate in any conversation without any problem
- Should work as reliably as possible (handles the bugs & edge cases better than the current system)
- Make the widget reusable & pluggable (as possible for now)
Those are our primary targets for the first version.
Even though they may not look that BIG at first, we expect that they might take us some time, & we might (likely) run into some unseen challenges at the way.
So we will be posting regulary as we design & develop this feature.
And we will very likely ask you for opinions and advice when we come across a UX or technical challenge that doesn't have a clear solution.
So thanks in advance for your help 🙏😁
In the next part, I'll start getting into some implementation details & plans, so stay tuned.
Until then,
have a nice day 👋