#[0]

这两天的尤里卡时刻,我认为达哥已经发明了完全可以实现/替代目前微信群聊功能,一个基于nostr协议的下一代群聊的底层架构方案。

Today’s Eureka moment. I think Dage has already come up with a base structure solution what will completely realize and totally replace WeChat’s group chat function.

That means the last territory of Web2 ( I think that’s group chat ) is now not yet conquered anymore.

Reply to this note

Please Login to reply.

Discussion

*is now anymore not yet conquered.*

#[3]

#[4]

#[5]

The solution is simple:

1. The group chat initiator name a password( you can literally divide it into several part or just as whole)

2. sha256 the password, and you get the hex private key

3. log in and DM yourself

btw:

It can be made into a kind of inner login feature build in client, the group initiator can give every chater a npub icon or avatar that can differentiate anyone is talking, in making it not like talking to oneself (this is an option feature).

For making the newcomer can't read the former message ( I think this is crucial, cuz it's the CORE feature of WeChat groupchat, and in telegram, you can read the message before your joining, that nostr have already solved ):

When every time newcomer came in, the chatroom nesc changes ( automatic, UI senseless ), like HD seed or Merkle Tree, and so you can not read the message before, but former people can read the following message.

#[6]

This seems easy to implement and it's pretty much what I have in mind. Could be interesting to implement it this week or next.

两三个星期前讨论过了,原理就是利用临时账号的DM功能。但想要在各个客户端通行的话,要有新的协议才行。

你看一下thread,达哥的创意主要体现在三点:

1、用口令来实现入群的门槛

2、用对自己DM实现群聊,但要区分说话者的不同

3、要在UI无感的情况下不断切换群聊nsec,可以让后入群的人看不到前面的聊天记录

随机账号就相当于口令啊😀

不一样的,你随机账号的nsec1人类不可读,而且复制粘贴很麻烦,还要防止泄漏,但是如果是自然语言的口令,SHA256一下,嗯,这两者是存在区别的,虽然在机器语言看来没区别,但用户体验是完全不同的

#[0]

一句话总结原理:在客户端内部再开发一个二层login feature。

一个没有任何note的私钥(“口令”+sha256得到的hex)首次被一层客户端登录,用一层私钥签名一条创世note,规定以下几点:

1、锁死这个私钥除NIP-04之外的所有功能,实现这个私钥的专精化群聊频道功能。

2、规定二层登录on/off登录人信息,(1)非匿名,显示npub1;(2)半匿名avatar,比如欢乐马/神经蛙/paynym;(3)全匿名,全员momo,不知道谁是谁。

3、规定一个动态私钥切换功能on/off,借助HD概念实现。比如on,每个新入群的看不到之前的发言,实现微信群聊功能。比如off,新入群的看得到之前的发言,等于电报群聊或者论坛。

这个idea比目前的nostr的群聊实现方式更好,因为群聊本质上是“澡堂裸奔”而不是“广场裸奔”。

#MeChat