polyphony-chat / polyphony Goto Github PK
View Code? Open in Web Editor NEWA multi-instance, Polyphony/Spacebar API-compatible chat client
License: Mozilla Public License 2.0
A multi-instance, Polyphony/Spacebar API-compatible chat client
License: Mozilla Public License 2.0
Once registration and login (#8) have been implemented in the rust backend, we can use the token we get from these functions to create a serenity client, which should do all the heavy lifting of connecting to a websocket etc. for us. The serenity client should be added to the backend::SpacebarBackend.
no need for this to be a protocol level thing, just on the client is fine, but having speakers in a voice call come from different directions may help with overstimulation / recognising speakers
To offer a better user experience, it should be considered if we should add a feature which allows an initial synchronization of messages from an already existing device to another, so that all the devices of a user would have the same message history. A potential concern here would be the possible loss of Forward Secrecy if a users device is compromised.
When #9 gets completed, we can focus on getting all the users' Guilds, the channels in those guilds, and the messages in these channels. I think some additional input is needed here, as to what exactly "getting" means, where we cache these things, if we even cache these things, and how the frontend will ultimately get this information.
The backend needs an implemented auth::fosscord_login() function, which can then be called from the frontend using a tauri command. The function should take in a backend::FosscordBackend and on success, return a String which is just the token received from the server, nothing else.
In crate::auth::auth, we have the register_fosscord and login_fosscord methods. They do almost the exact same thing, which is send a POST request with a json body to an API route, handling any errors that may occur on the way and return an outcome. This code could very easily be put into one method, which would make it re-usable and remove code duplicates :)
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.