nlipatov / ethachat Goto Github PK
View Code? Open in Web Editor NEWSelf-Hosted Messenger with Client-Side Encryption
Self-Hosted Messenger with Client-Side Encryption
Before setting a key for conversation, the key should be accepeted as a conversation key from both sides
Key transitions should be allowed only if your contact has been marked as trusted on their side.
To mark a contact as trusted, follow this process:
1. Alice sets up a trusted passphrase for a chat with Bob (this passphrase is stored in memory, not in local storage);
2. Bob sends a request to be added as trusted to Alice with an encrypted passphrase using Alice’s Public RSA key;
3. If the passphrase in Bob’s request is valid, Bob will be marked as trusted on Alice’s side, and Alice will be marked as trusted on Bob’s side;
4. Alice deletes her passphrase from memory.
Remove checking for auth-free pages, if page is auth-free, than it should just simply not use AuthenticatedView.razor
Use the TCP-like approach: When the TCP protocol transmits a segment with data, it puts a copy of it in the re-transfer queue and starts the timer. When confirmation for this data comes, the relevant segment is removed from the queue. If the confirmation does not come before the expiration date, the segment is re-sent.
Currently, for the interlocutor to be able to watch the video, they have to fully download it. We need to implement a feature so that the interlocutor can watch the video while it's loading, a feature known as progressive downloading.
For non-blocking component event handler Instead of Action use Func<_, Task>
We would like to request the implementation of message collection virtualization for our application. Currently, we have a block that displays a collection of messages, and as the number of messages increases, the performance of the page decreases significantly. To address this issue, we would like to introduce virtualization, which will render only the visible messages and improve the overall performance.
The desired behavior of the message collection virtualization is as follows:
Only the messages visible within the viewport should be rendered.
As the user scrolls, the messages should dynamically load and unload to maintain a smooth scrolling experience.
The height of each message should be calculated dynamically based on its content.
The virtualization should be efficient and able to handle a large number of messages without performance degradation.
We believe that implementing message collection virtualization will significantly improve the performance of our application when dealing with large message collections. Thank you for considering our request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.