Created on 21st August 2023
•
Currently, the business model of online communities revolves around website owners who have complete control over their users' communications, allowing them to create and monetize all business processes single-handedly. However, this centralized ownership leads to issues such as a monopoly on attention and its monetization, as well as a loss of user control over their own content.
BOS as technology solves that problem by offering the creation of new sites and communities in a decentralized web. We propose to bring BOS-based applications to users in already existing sites and communities.
Adopting the concept of an Augmented Web gives users the ability to extend their user experience with new features, functions, and services on existing websites which wasn't possible before.
We needed to study the source code of near-social-vm and gateways to understand how to integrate vm to us. The following things were not obvious: props and callbacks to BOS component, mandatory wrapping of components in 'near/widget/TosCheck' and 'adminalpha.near/widget/TosContent', getting styles to then wrap them in shadow dom.
To develop BOS components, we tried using a plugin for VSCode. It was not obvious how to use the props.json file to specify default props values. We had to do some digging in the source code of the plugin. We started a corresponding issue on GitHub: https://github.com/near/near-vscode/issues/21.
Tracks Applied (2)
Proximity Labs
NEAR Foundation
Technologies used