Skip to content

arj03/groupies

Repository files navigation

Groupies

Groupies is a tech demo showcasing private groups for SSB running directly in the browser using ssb-browser-core with no installation required. The demo is a primitive chat application that uses meta feeds to split each group into their own feed. This means that you will only store data for the groups you are a part of. Furthermore the classic follow/block paradigm is used for replication within a certain hop distance. Data is transferred between nodes via a rooms server.

Screenshot of groupies demo

You can try a live demo.

The demo can be used as a starting point for building other applications. The UI is written in Vue.js and is structured into the following files:

   61 add-group-key.js
   29 browser-hack.js
  125 chat.js
   12 group-config-spec.js
  158 helpers.js
  345 index.js
  372 profile.js
   37 ssb-config.js
  136 ssb-profile-link.js
 1275 total

browser-hack.js, helpers.js and index.js represents the core. profile.js and the ssb-profile-link.js component are relavant for profile information and following/blocking. add-group-key.js and chat.js are the only application specific components and can be easily replaced with any other application you can think of. The application makes use of ssb-crut to make it really easy to work with multiple writers to a shared data structure such as the group configuration. Lastly the html and css can be found in dist/.

About

Private chat groups in the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published