beakerbrowser / unwalled.garden

Schemas for a p2p social-media network built on the Dat Web.
MIT License
131 stars 10 forks source link

Actions #26

Open pfrazee opened 5 years ago

pfrazee commented 5 years ago

Related issue: https://github.com/beakerbrowser/unwalled.garden/issues/13. cc @zootella.

Adds "actions". Example action:

{
  "type": "unwalled.garden/action",
  "topic": "dat://beakerbrowser.com/docs",
  "action": "visited",
  "createdAt": "2018-12-07T02:52:11.947Z"
}

Actions can be used for all kinds of applications. They can be used to create a webcounter as described in https://github.com/beakerbrowser/unwalled.garden/issues/13. They can be used to inform users that you've updated a project. They can be used to track how many users have installed an app. Etc etc.